On Sat, Feb 14, 2015 at 12:53:46PM -0500, Brad s wrote:

> # postconf -n
> smtpd_recipient_restrictions =
>       permit_mynetworks,
>       permit_sasl_authenticated,
>       reject_non_fqdn_recipient,
>       reject_unauth_pipelining,
>       reject_invalid_hostname,
>       reject_rbl_client list.dsbl.org,
>       reject_rbl_client bl.spamcop.net,
>       reject_rbl_client sbl-xbl.spamhaus.org

The above does not attempt to enforce relay access control (contains
no restrictions that accept selectively and reject by default),
and therefore Postfix will refuse all inbound mail.

> postconf: warning: /usr/local/etc/postfix/main.cf: unused parameter:
> smtpd_relay_restriction=permit_mynetworks, permit_sasl_authenticated,  
> defer_unauth_destination

Nor does the above (typo), and you should be feeling embarrassed
for posting "postconf -n" output that contains unresolved warnings
about unused parameters.  Fixing that should solve the problem if
your Postfix version is 2.10 or later (releases that support relay
restrictions).

> postconf: warning: /usr/local/etc/postfix/main.cf: unused parameter:
> contencontent_filter=smtp-amavis:[127.0.0.1]:10024

You might want to do something about that also.

> postconf: warning: /usr/local/etc/postfix/main.cf: unused parameter:
> virtual_create_maildirsize=yes
> postconf: warning: /usr/local/etc/postfix/main.cf: unused parameter:
> virtual_mailbox_extended=yes

These were never part of the official Postfix release, and use of
the VDA patch is discouraged (code quality and support issues).

-- 
        Viktor.

Reply via email to