Hello Nicolas,

I tried the mailbox_transport = dovecot directive, with no luck, since I was using virtual mailboxes, where virtual_transport is responsible for delivery. What really helped, though, was the dovecot line in master.cf, which after a few tweaks allowed me to make things work eventually!

Thank you again for your help,

Hello,

I am currently running a similar setup, with spamc called per user at
delivery time, from postfix. I use the following settings (on a Debian
Etch system, so installation paths must be adapated).

- dovecot's deliver binary must be set setuid root,

- /etc/postfix/main.cf:

mailbox_transport = dovecot
dovecot_destination_recipient_limit = 1


- /etc/postfix/master.cf:

#
# dovecot
#
dovecot         unix    -       n       n       -       1       pipe
  flags=Rh user=dovecot argv=/usr/bin/spamc -u ${user} -e 
/usr/lib/dovecot/deliver -d ${user} -f ${sender}




--
George Mamalakis

IT Officer
Electrical and Computer Engineer (Aristotle Un. of Thessaloniki),
MSc (Imperial College of London)

Department of Electrical and Computer Engineering
Faculty of Engineering
Aristotle University of Thessaloniki


Reply via email to