Paul Matthews
2006-May-03 02:20 UTC
[Dovecot] dovecot, procmail, postfix & SpamAssassin working together
Hi there, i'm trying to get dovecot, procmail, postfix & SpamAssassin working together http://www.linuxquestions.org/questions/showthread.php?t=441062 But i'm not having a lot of luck, a question about dovecot, what kind of mail box am i using? mbox? if so does anyone know if procmail can use mbox? /etc/dovecot.conf protocols = imap pop3 imap_listen = [::] pop3_listen = [::] imaps_listen pop3s_listen log_path = /var/log/dovecot.log login = imap login = pop3 default_mail_env = mbox:/home/CATHEDRAL/%u/mail:INBOX=/var/spool/mail/%u auth = default auth_mechanisms = plain auth_userdb = passwd auth_passdb = pam auth_user = root -- Paul Matthews I.T Trainee | The Cathedral School Ph (07) 47222 194 | Fax (07) 47222 111 PO Box 944 Aitkenvale Q 4814 E: paul.matthews at cathedral.qld.edu.au W: www.cathedral.qld.edu.au Anglican coeducation | Day and Boarding | Early Childhood to Year 12 Educating for life-long success **************************************************************************** **************************************************************************** *********************************** IMPORTANT NOTICE REGARDING CONFIDENTIALITY This electronic email message is intended only for the addressee and may contain confidential information. If you are not the addressee, you are notified that any transmission, distribution or photocopying of this email is strictly prohibited. The confidentiality attached to this email is not waived, lost or destroyed by reasons of a mistaken delivery to you.
Duncan Hutty
2006-May-03 13:34 UTC
[Dovecot] dovecot, procmail, postfix & SpamAssassin working together
Paul Matthews wrote:> Hi there, i'm trying to get dovecot, procmail, postfix & SpamAssassin > working together > > http://www.linuxquestions.org/questions/showthread.php?t=441062 > > But i'm not having a lot of luck, a question about dovecot, what kind of > mail box am i using? mbox? if so does anyone know if procmail can use mbox? > > /etc/dovecot.conf > > protocols = imap pop3 > imap_listen = [::] > pop3_listen = [::] > imaps_listen > pop3s_listen > log_path = /var/log/dovecot.log > login = imap > login = pop3 > default_mail_env = mbox:/home/CATHEDRAL/%u/mail:INBOX=/var/spool/mail/%u > auth = default > auth_mechanisms = plain > auth_userdb = passwd > auth_passdb = pam > auth_user = root > >Yes, procmail can cope with mbox. From the procmail error, I'd consider what user procmail is running as and the permissions on /var/spool/mail/tmp/. Perhaps removing DROPPRIVS or changing the permissions. However, I haven't use procmail much so proceed with caution and thought. I use dovecot's own LDA and sieve for the filtering. It works nicely for me. http://wiki.dovecot.org/LDA -- Duncan Hutty System Administrator, ECE Carnegie Mellon University Please use informative subject lines