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-0004.bin>
On 08/08/12 10:08, martin f krafft wrote:> 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,Hi Martin, Have you taken a look at Pigeonhole and Sieve? There's experimental support for running spam filters and external commands. You'll need at least 0.3.0 which requires Dovecot 2.1. http://wiki2.dovecot.org/Pigeonhole/Sieve HTH, Dan -- Daniel Piddock, Systems Administrator, CoreFiling Limited http://www.corefiling.com