-----Original Message----- From: Tom Hendrikx [mailto:tom@whyscream.net] Sent: 27 January 2010 15:53 To: Nick Lunt; dovecot@dovecot.org Subject: Re: [Dovecot] Cannot get dovecot-sieve to work
Your sieve file will be processed at delivery time, when the MTA (f.i. postfix) will hand off mail to the dovecot LDA, deliver. Your log file shows only activity about an IMAP login. This has no use in debugging your problem.
- Check your MTA config and see if it calls deliver
- Send yourself a mail
- Check MTA logs and see if handing the mail to deliver works as intended
- Check dovecot logs for activity from deliver.
Were using sendmail as the MTA. I have edited sendmail.cf as documented at http://wiki.dovecot.org/LDA/Sendmail. However this documentation states the following:
"The following describes how to configure Sendmail to use deliver where root permission is not granted and Dovecot runs under a single user ID. It may need some adjustment for more typical setups. Other assumptions are that Sendmail is configured for virtual hosting and that local-system mail delivery is not handled by deliver."
Our sendmail setup is not configured for virtual hosting.
Here is what I have put in sendmail.cf
Mdovecot, P=/usr/libexec/dovecot/deliver, F=DFMPhnu9, S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP/HdrFromSMTP, T=DNS/RFC822/X-Unix, A=deliver -d $u
I restarted both sendmail and dovecot but still my test emails do not get processed by dovecot/dovecot-sieve. There is nothing in the dovecot or sendmail logs pointing to dovecot-sieve.
All I want to do is discard mail depending on the subject.
Any help appreciated, Many thanks Nick.
__________ Information from ESET NOD32 Antivirus, version of virus signature database 4812 (20100128) __________
The message was checked by ESET NOD32 Antivirus.