[Dovecot] Running spamc during LMTP delivery

martin f krafft madduck at madduck.net
Wed Aug 8 12:08:10 EEST 2012


Hello list,

we are using dovecot-lmtp for delivery to virtual users, and vmm[1]
to manage them.

1. http://vmm.localdomain.org/

One nice feature of vmm is that every virtual user has their own
UID/GID on the UNIX filesystem. There is no passwd entry, so no
shell login, but each user effectively has a home directory and can
run commands in isolation and with lowered privileges.

This requires dovecot-lmtp because only the LMTP LDA runs with root
rights and can drop privileges to become the specific user for which
it is delivering mail.

We would now like to run SpamAssassin with the possibility of using
the antispam plugin to enable virtual users to train their
databases.

Do you have an idea how I could let dovecot-lmtp invoke spamc? Or an
external command as a filter, to be run by the final user?

Thanks,

-- 
martin | http://madduck.net/ | http://two.sentenc.es/
 
"truth is stranger than fiction, but it is because
 fiction is obliged to stick to possibilities; truth isnt."
                                                       -- mark twain
 
spamtraps: madduck.bogus at madduck.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: digital_signature_gpg.asc
Type: application/pgp-signature
Size: 1124 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)
URL: <http://dovecot.org/pipermail/dovecot/attachments/20120808/ea9b1fb8/attachment-0002.bin>


More information about the dovecot mailing list