[Dovecot] spamc can't seem to call /usr/lib/dovecot/deliver

Robert Schetterer rs at sys4.de
Wed Oct 24 09:33:26 EEST 2012


Am 24.10.2012 03:32, schrieb Bill Shirley:
> What is your mailbox_command in main.cf?  I just use:
> mailbox_command = /usr/bin/spamc -u "$USER" -e
> /usr/lib64/dovecot/deliver -a "$RECIPIENT" -f "$SENDER" -m "$EXTENSION"
> 
> I don't need anything in master.cf.  But you should be using -u ${user}
> for spamc.

long time ago i tested this with dovecot lda postfix master.cf
with a total virtual setup

dovecot   unix  -       n       n       -       -       pipe
  flags=DRhu user=vmail:vmail argv=/usr/bin/spamc -e
/usr/lib/dovecot/deliver -f ${sender} -d ${recipient}

but i strongly do not recommand this !!!

use spamass-milter, amavis etc with  dovecot lmtp
as described on many sites


Best Regards
MfG Robert Schetterer

-- 
[*] sys4 AG

http://sys4.de, +49 (89) 30 90 46 64
Franziskanerstraße 15, 81669 München

Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Axel von der Ohe, Marc Schiffbauer
Aufsichtsratsvorsitzender: Joerg Heidrich



More information about the dovecot mailing list