[Dovecot] Dovecot as LDA

Odhiambo WASHINGTON odhiambo.raburu at wananchi.com
Mon Oct 2 17:33:11 UTC 2006


* On 02/10/06 10:17 -0400, Gerard Seibert wrote:
| FreeBSD 6.1-RELEASE-p8
| postfix-current-2.4.20060903,3
| dovecot-1.0.r7
| 
| I am experiencing a problem with dovecot as an LDA. It will not deliver
| mail unless the mail directory is chmod'd to 1777. Below is an example
| of the log file output.
| 
| The dovecot.log file had over a hundred entries similar to this:
| 
| deliver(gerard): Error: 
| open(/var/mail/.temp.scorpio.seibercom.net.1123.cd38cd4d82e1368f) failed:
| Permission denied
| deliver(gerard): Error: file_lock_dotlock() failed with mbox
| file /var/mail/gerard: Permission denied
| 
| Obviously the /var/log/maillog had similar fail warnings.
| 
| By changing the permission to 1777 on the /var/mail directory and
| running postsuper -r ALL, I was able to get the mail delivered.
| 
| What I am trying to determine is if I really should have those settings
| on the directory, or if I have something configured wrong in either
| postfix or dovecot. Postfix will deliver mail without any problem so I
| think it has to do with dovecot although I am not sure what.

Not answering you about dovecot LDA, but about delivery to mboxes file 
in /var/mail/$user.
Long time ago when I used mbox files (same OS (not version), same path),
/var/mail always had to be mode 1777 to set the sticky bit.


-Wash

http://www.netmeister.org/news/learn2quote.html

DISCLAIMER: See http://www.wananchi.com/bms/terms.php

--
+======================================================================+
    |\      _,,,---,,_     | Odhiambo Washington    <wash at wananchi.com>
Zzz /,`.-'`'    -.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_)     | GSM: +254 722 743223   +254 733 744121
+======================================================================+

Today's scientific question is: What in the world is electricity?

And where does it go after it leaves the toaster?
		-- Dave Barry, "What is Electricity?"


More information about the dovecot mailing list