Re: Postfix-20010228/Cyrus-Imapd 2.0.12 deliver problems

2001-06-06 Thread Carsten Hoeger

On Tue, Jun 05, Jörg Spilker wrote:

 the problem is that lmtp always gives me an connection refused error.
 
 This is from /etc/postfix/master.cf
 
 #lmtp unix  -   -   y   -   -   lmtp
 lmtp  unix  -   -   n   -   -   lmtp
 cyrus unix  -   n   n   -   -   pipe
 flags=R user=cyrus argv=/usr/cyrus/bin/deliver -e -m ${extension} ${user}
 
 /etc/postfix/main.cf
 
 mailbox_transport = lmtp:unix:/var/imap/socket/lmtp
 #mailbox_transport = cyrus
 
 /etc/cyrus.conf
 
 # at least one LMTP is required for delivery
 #  lmtp cmd=lmtpd listen=lmtp prefork=0
   lmtpunix  cmd=lmtpd listen=/var/imap/socket/lmtp prefork=1
 
 /var/log/mail
 
 Jun  5 19:04:31 daolin postfix/lmtp[31062]: 4A039E31:
 to=[EMAIL PROTECTED]
 , relay=none, delay=209, status=deferred (connect to
 /var/imap/socket/lmtp[/var
 /imap/socket/lmtp]: Connection refused)
 
 it works with mailbox_transport = cyrus which seems strange to me as deliver
 itself now connects to the cyrus lmtpd socket without any problems.

Hmmm, strange. I am not sure, if lmtp of postfix is able to access
files beyond of /var/spool/postfix.

Anyway, I am running lmtp chrooted and my main.cf looks like this:

mailbox_transport = lmtp:unix:public/lmtp

cyrus.conf

lmtpunix  cmd=lmtpd listen=/var/spool/postfix/public/lmtp prefork=1

But take also care, that your cyrus master process is realy
running. What shows up in /var/log/messages?

-- 
mit freundlichen Gruessen,

Carsten Hoeger  - SuSE The Linux Experts -

SuSE GmbH,Schanzaeckerstr. 10,  90443 Nuernberg, Germany
Tel: +49-911-7405331  http://suse.com  Fax: +49-911-74053674

Key fingerprint = E3B6 7FDB 4800 0F22 DC09  EB2B 7988 B6A8 6691 C94A

 PGP signature


Re: Postfix-20010228/Cyrus-Imapd 2.0.12 deliver problems

2001-06-05 Thread Carsten Hoeger

On Mon, Jun 04, Jörg Spilker wrote:

 i´ve some strange problem with delivering local mail to my imap box. I´m
 using a SuSE Linux 7.1 distribution with the preinstalled postfix and
 cyrus-imapd (2.0.12, together with the latest SASL package) which i compiled
 myself. Mailbox_transport is set to cyrus and cyrus is set up in master.cf
 to call deliver. This can work for several days but then i found my
 mailqueue full with messages for localhost and lots of hanging deliver
 processes. All the deliver processes are waiting in the read system call. I
 had to stop cyrus and postfix, kill all deliver processes and then start the
 services again. This will empty the queue until it happens next.
 
 I´ve no idea if the problem is caused by cyrus or postfix.

I am just wondering, why you do not use LMTP delivery.

-- 
With best regards,

Carsten Hoeger

SuSE, The Linux Experts, http://www.suse.com

Key fingerprint = E3B6 7FDB 4800 0F22 DC09  EB2B 7988 B6A8 6691 C94A

 PGP signature