RE: Postfix Cyrus lmtp delivery problems

"J. Mark Campbell" <[email protected]> Thu, 10 Aug 2006 21:00:12 +1000
Newsgroups gmane.org.user-groups.mlug.main
Message-ID <001401c6bc6c$27a93bd0$0100000a@ifone>
Hi Geoff

This should help -
http://archives.neohapsis.com/archives/postfix/2004-07/1067.html

Regards,
 
Cambo
www.ozlan.com
 


-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Geoffrey Scott
Sent: Thursday, 10 August 2006 4:39 PM
To: Melbourne Linux Users Group
Subject: [MLUG] Postfix Cyrus lmtp delivery problems


Hi people.  Anyone have some mail server experience on Debian?

Postfix is throwing errors like this in the mail logs:

Aug 10 16:04:08 intranet postfix/lmtp[15132]: 469B31110134:
to=<[email protected]>, orig_to=<archive>, relay=none,
delay=92893, status=deferred (connect to
/var/run/cyrus/socket/lmtp[/var/run/cyrus/socket/lmtp]: No such file or
directory)

Yet if I set Postfix's shell to sh and su postfix , and then "touch"
that file it can be done without problems.

The permissions are set like this:

root@intranet:/etc/apt# ls -ld /var/run/
drwxr-xr-x 11 root root 420 2006-08-10 14:08 /var/run/

root@intranet:/etc/apt# ls -ld /var/run/cyrus/
drwxrwx--- 3 postfix mail 60 2006-08-08 15:53 /var/run/cyrus/

root@intranet:/etc/apt# ls -ld /var/run/cyrus/socket/
drwxrwx--- 2 postfix mail 100 2006-08-10 14:08 /var/run/cyrus/socket/

root@intranet:/etc/apt# ls -ld /var/run/cyrus/socket/lmtp srwxrwxrwx 1
root root 0 2006-08-10 14:08 /var/run/cyrus/socket/lmtp

root@intranet:/etc/apt# groups cyrus postfix
cyrus : mail sasl
postfix : mail postfix


I used dpkg-statoverride to change the permissions on the socket
directory. 

Postfix's main.cf has this lmtp option:
mailbox_transport = lmtp:unix:/var/run/cyrus/socket/lmtp

The other options that are needed for cyrus are set properly in the conf
files.  

Any ideas as to how to fix this???

        Regards Geoff

_______________________________________________
Melbourne Linux Users Group (Australia)
Edit your settings: http://lists.mlug.org.au

-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.10.8/415 - Release Date:
9/08/2006
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.10.8/415 - Release Date:
9/08/2006