14 Dec
2009
14 Dec
'09
10:54 p.m.
On Mon, Dec 14, 2009 at 09:30:54PM +0100, Marcus Rueckert wrote:
Is there a way do something like that with deliver?
why not do it on MTA level? those already have the hooks for it normally. no need to reinvent the wheel imho.
Sometimes it's virtual users using dovecot userdb or something like. MTA isn't aware of it (all it uses for virtual user is mailbox presence). But each virtual user have own wordlist for bogofilter. deliver would set some environment variables like $HOME to desirable values for such virtual user and then we have good place to call filter pointing it to virtual user home directory.
WBR Dmitri Ivanov