Issues delivering external mail with Postfix + SpamAssassin

Discussion in 'Server Operation' started by sushestvo, Oct 18, 2016.

  1. sushestvo

    sushestvo Member

    Hello everyone,

    I have a mail server configured with Postfix, Dovecot + Spamassassin.
    Mail comes in just fine on port 25 filtered by spamassassin.
    Postfix uses dovecot to route to spamassassin:
    Here' s a problem: our users send mail via plain 25, SSL and TLS. Sending via SSL and TLS is no problem, because -o content_filter=spamassassin isn't configure for 587 and 465, postfix does direct smtp delivery.
    But when users send via port 25, it gets filtered by SA, which returns all external users as "
    status=bounced (user unknown)" according to maillog. Hence anyone who tries to send via 25 gets a bounce back.
    What am I missing to make this work?

    Thanks
     

Share This Page