New Postfix + Spamassassin setup bounces mail back with "service unavailable" error.

Solution Verified - Updated -

Issue

Mail bounces back to sender with "<MAILER-DAEMON@>: service unavailable" error after configuring postfix with spamassassin as a delivery agent in master.cf:

smtp      inet  n       -       n       -       -       smtpd
         -o content_filter=spamassassin 
pickup    fifo  n       -       n       60      1       pickup
cleanup   unix  n       -       n       -       0       cleanup
<skip>
spamassassin unix  -       n       n       -       -       pipe
    user=spamx argv=/usr/bin/spamc -u spamx -e  /usr/sbin/sendmail -oi  -f ${sender} ${recipient}

Environment

  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content