OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: transport

From: Gert Cuykens (gert.cuykensgmail.com)
Date: Sat Apr 12 2008 - 17:48:54 CDT


On Sun, Apr 13, 2008 at 12:17 AM, Wietse Venema <wietseporcupine.org> wrote:
> Gert Cuykens:
>
> > spamassassin unix - n n - - pipe
> > flags= user=mail argv=/usr/bin/spamc
>
> How does spamc know where it should send the result?
>

what about this then ?

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

spamassassin unix - n n - - pipe
 user=mail argv=/usr/bin/spamc -f -e /usr/lib/dovecot/mail/deliver -f
${sender} -d ${recipient}

Do i actually still need a transport map pointing to dovecot ?
What about emails that i dont want to be spamassassined ?