debian, postfix & spamassassin

Jan-Benedict Glaw jbglaw at lug-owl.de
Mon Nov 18 14:50:01 CET 2002


On Mon, 2002-11-18 14:40:18 +0100, Florian Schwarz <floh at maflohsoft.de>
wrote in message <3DD8EDC2.8050702 at maflohsoft.de>:
> Jan-Benedict Glaw schrieb:
> >On Mon, 2002-11-18 14:14:47 +0100, Florian Schwarz <floh at maflohsoft.de>
> >wrote in message <3DD8E7C7.5070807 at maflohsoft.de>:
> > 
> >
> >>Hiho Liste,
> >>
> >>ich will postfix auf meinem debian testing System das töten vom Spam 
> >>beibringen und dazu spamassassin verwenden. (Also direkt am MTA killen, 
> >>nich hinterher per procmail) Das Problem: Wie mache ich das? Folgendes 
> >
> >Global im System procmail zum Ausliefern benutzen, und die
> >spamassassin-Regel in /etc/procmailrc verstecken?
> >
> Dumme Frage, aber wie geht das?

echo ':0:'				>> /etc/procmailrc
echo '| /usr/bin/spamassassin -P"	>> /etc/procmailrc
echo ''					>> /etc/procmailrc
echo ':0:'				>> /etc/procmailrc
echo '* ^X-Spam-Status: Yes'		>> /etc/procmailrc
echo '/dev/null'			>> /etc/procmailrc
echo ''					>> /etc/procmailrc
cat /etc/postfix/main.cf | sed -e 's/^mailbox_command.*/mailbox_command = /usr/bin/procmail/' > /etc/postfix/main.cf.tempschrott
cat /etc/postfix/main.cf.tempschrott > /etc/postfix/main.cf
rm -f /etc/postfix/main.cf.tempschrott
/etc/init.c/postfix restart

MfG, JBG

-- 
   Jan-Benedict Glaw       jbglaw at lug-owl.de    . +49-172-7608481
   "Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur
    fuer einen Freien Staat voll Freier Bürger" | im Internet!
   Shell Script APT-Proxy: http://lug-owl.de/~jbglaw/software/ap2/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lug-owl.de/pipermail/linux/attachments/20021118/7829da6c/attachment.sig>


More information about the Linux mailing list