Where is imapd.conf option to direct postfix to /var/spool/imapd/user/mailbox?

Tarjei Huse tarjei at nu.no
Sat Sep 17 14:52:00 EDT 2005


On Sat, 2005-09-17 at 12:21 -0500, Flash Love wrote:
> I am using postfix+cyrus+sasl+webcryadm. When logging to imap accounts the 
> following complaint appears in maillog:
> 
> pop3: login: [192.168.2.154] benu0001 plaintext User logged in
> pop3: IOERROR: opening /var/spool/imap/b/user/benu0001/cyrus.header: No such 
> file or directory
> pop3: Unable to open maildrop for benu0001: System I/O error
> 
> Pop is attempting to open the incorrect file /var/.../b/user/benu0001 when it 
> should be just /var/.../user/benu0001. Which imap option is adding the /b/ to 
> the mailbox file name?

I guess you have read this one:
http://www.delouw.ch/linux/Postfix-Cyrus-Web-cyradm-HOWTO/html/index.html

Te best way to have postfix deliver mail is via lmtp:

Make sure you gor the lmtpunix service active in /etc/cyrus.conf:
Mine looks like this:
grep lmtp /etc/cyrus.conf
        #lmtp           cmd="lmtpd" listen="localhost:lmtp" prefork=0
maxchild=20
        lmtpunix        cmd="lmtpd" listen="/var/run/cyrus/socket/lmtp"
prefork=0 maxchild=20
        #lmtp           cmd="lmtpproxyd" listen="lmtp" prefork=1
maxchild=20

Also, make sure postfix delivers via lmtp:
mailbox_transport = lmtp:unix:/var/run/cyrus/socket/lmtp

Hint: make sure those paths are the same and that the _postfix_ user may
enter the differnt directories preceding the path .
T




> thanks,
> flashl
> 
> ----
> Cyrus Home Page: http://asg.web.cmu.edu/cyrus
> Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
-- 
Tarjei Huse <tarjei at nu.no>




More information about the Info-cyrus mailing list