Skip to content

Adding lines to postfix-main.cf parsing error #2594

@andrewwong2000

Description

@andrewwong2000

I am trying to add the following postfix rules (which other people are using) via postfix-main.cf:

#Postscreen for DNSBL 
postscreen_dnsbl_action = enforce
postscreen_dnsbl_sites = zen.spamhaus.org*3
        b.barracudacentral.org=127.0.0.[2..11]*2
        bl.spameatingmonkey.net*2
        bl.spamcop.net
        dnsbl.sorbs.net
       swl.spamhaus.org*-4,
       list.dnswl.org=127.[0..255].[0..255].0*-2,
       list.dnswl.org=127.[0..255].[0..255].1*-4,
       list.dnswl.org=127.[0..255].[0..255].[2..3]*-6

However, when I docker-compose up , I get the following errors .. I've doubled checked the format .. what might I be missing ?

mailserver    | postconf: fatal: missing '=' after attribute name: "bl.spameatingmonkey.net*2"
mailserver    | postconf: fatal: missing '=' after attribute name: "bl.spamcop.net"
mailserver    | postconf: fatal: missing '=' after attribute name: "dnsbl.sorbs.net"

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions