LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Postfix: do not filter mail from authenticated users with SpamAssassin (https://www.linuxquestions.org/questions/linux-server-73/postfix-do-not-filter-mail-from-authenticated-users-with-spamassassin-4175464315/)

bartenderX 06-01-2013 01:13 AM

Postfix: do not filter mail from authenticated users with SpamAssassin
 
I use Postfix with SpamAssassin on Debian 7.
Postfix only has port 25 opened.

I'd like to bypass content_filter for users who have authenticated with SASL.
This is my current configuration in master.cf:
Code:

smtp      inet  n      -      -      -      -      smtpd -o content_filter=spamassassin

spamassassin unix -    n      n      -      -      pipe
        user=debian-spamd argv=/usr/bin/spamc -f -e   
        /usr/sbin/sendmail -oi -f ${sender} ${recipient}

How can I achieve this goal?


All times are GMT -5. The time now is 08:13 AM.