OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
content filtering for local deliveries

From: Alexander Brill (kiowaproject23.no)
Date: Thu Jul 15 2004 - 07:52:21 CDT


I am setting up some content filtering (dspam) on an email server. But
this server is also used to send mail through.

For now I have in my masters.cf:
smtp inet n - n - - smtpd
 -o content_filter=dspam:dummy
dspam unix - n n - - pipe
  flags=Rqu user=dspam argv=/usr/local/bin/dspam --user ${user}
--mode=teft --deliver=innocent,spam -
i -f ${sender} ${recipient}

DSPAM will re-inject the message using 'sendmail'.

Is it possible to have it only be sent to dspam when the final recipient
is a local user?

--
Alexander Brill <kiowaproject23.no>
http://www.project23.no
PGP-key: http://www.nettstudio.no/firma/Library/PGP/alex_pgp/view

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQBA9n4Ejzte1jvbmFERAs/TAKCjpmpup3MQ884Bwxa7d+OC6klw0ACfcFuY
tKFi/4673LaS5s6MWytkbLU=
=aN5f
-----END PGP SIGNATURE-----