-----Original Message----- From: dovecot-bounces+nick.lunt=patech-solutions.com@dovecot.org [mailto:dovecot-bounces+nick.lunt=patech-solutions.com@dovecot.org] On Behalf Of Steffen Kaiser Sent: 28 January 2010 11:47 To: dovecot@dovecot.org Cc: dovecot@dovecot.org Subject: Re: [Dovecot] Cannot get dovecot-sieve to work
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Thu, 28 Jan 2010, Nick Lunt wrote:
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
Did you configured mailertable to deliver the messages through the "dovecot" mailer?
I prefer: dnl -f $g -- sender dnl -d $u -- destination user account name dnl -m $h -- mailbox to deliver to (+detail part of address) dnl -n -- don't create new mailbox FEATURE(
local_procmail',
/etc/mail/smrsh/dovecot-deliver',/etc/mail/smrsh/dovecot-deliver -e -f $g -d $u -m $h')dnl MAILER_DEFINITIONS MAILER(
local')dnl MAILER(`smtp')dnlJan 28 12:36:26 deliver(nickl): Error: file_dotlock_create(/var/mail/nickl) failed: Permission denied (euid=503(nickl) egid=503(nickl) missing +w perm: /var/mail) (set ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mail_privileged_group=mail)
Here are the permissions on /var/mail/ # ls -ld /var/spool/mail drwxrwxr-x 2 root mail 4096 Jan 28 11:02 /var/spool/mail ^^^^
mail_access_groups: mail mail_privileged_group: mail
Won't work with deliver, maybe only if it is SUID.
=====
If Dovecot is the only process accessing /var/mail/file, you could:
a) use another location for INBOX, b) use flock.
Hi Steffan
thank you for the pointers, however I have decided to move over to postfix. I have sent a message with a new error to the list.
Thanks Nick
__________ Information from ESET NOD32 Antivirus, version of virus signature database 4813 (20100128) __________
The message was checked by ESET NOD32 Antivirus.