Hi Philip,
This is easy, let the message get into dbmail, create an alias to an
external program (spamassasin) and repipe it's output to dbmail-smtp
with the -u option.
So for example:
e-mail alias
[EMAIL PROTECTED] !/bin/spamassasin|/usr/local/sbin/dbmail-smtp -u eelco
Instead of
[EMAIL PROTECTED] eelco
or something like that :)
Because you use the -u option, dbmail-smtp will not walk the aliases
table to check for aliases.
Best regards,
Eelco
Philip Warner heeft op zaterdag, 10 aug 2002 om 10:59
(Europe/Amsterdam) het volgende geschreven:
Is there a simple way to add a message filter before a message is
placed in a user's mailbox? Is this something that DBMail is likely to
support in it's architecture, rather than by patching sources? eg. at
least via a config.h setting...
We need the filter to run for each distinct destination user; this is
basically to allow spamassassin to run and apply per-user settings.
----------------------------------------------------------------
Philip Warner | __---_____
Albatross Consulting Pty. Ltd. |----/ - \
(A.B.N. 75 008 659 498) | /(@) ______---_
Tel: (+61) 0500 83 82 81 | _________ \
Fax: (+61) 0500 83 82 82 | ___________ |
Http://www.rhyme.com.au | / \|
| --________--
PGP key available upon request, | /
and from pgp5.ai.mit.edu:11371 |/
_______________________________________________
Dbmail mailing list
Dbmail@dbmail.org
https://mailman.fastxs.nl/mailman/listinfo/dbmail
__________________________
E.J.A. van Beek
ICT Manager
IC&S
T: +31 30 2322878
F: +31 30 2322305
PGP-key:
www.ic-s.nl/keys/eelco.txt