Re: Cyrus unhappiness

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Baltasar,
Come to find out, we had changed some permissions on some folders and it was causing some problems that caused lmtpd to die. We reset those permissions and it seems happier again. Thanks for your information, I found it very useful.
David


former03 | Baltasar Cevc wrote:
Hi David,

On 14.06.2006, at 22:41, David Korpiewski wrote:

My cyrus installation is unhappy. Seems the LMTPD won't stay running. To better understand why this little daemon won't run, can someone point me to some good information to understand the interaction here:

Postfix accepts email -> cyrus puts it into a mailbox.

Between that is something that goes like:

Postfix -> lmtpd -> cyrus deliver -> into mailbox

However, since I don't truly understand how this all works and didn't seem to find any good docs, I'm at a loss to explain why I keep getting these errors while receiving email:

Jun 14 16:34:44 lmc1 postfix/pipe[4018]: 9E111E7656: to=<cyrus@xxxxxxxxxxxxxxxxxxxxx>, relay=cyrus, delay=2960, status=deferred (temporary failure. Command output: couldn't connect to lmtpd: Connection refused_ 421 4.3.0 deliver: couldn't connect to lmtpd_ )

The lmtpd daemon won't start when you run it by hand. It just instantly dies. When you restart the server, it still won't run.
You can't run the cyrus services by hand (they're made to run under the cyrus master only). You can somehow include a debugger for one of the services, I'd try that on lmtp. Are you sure that you've preforked a lmtpd? The error message you've sent could also result from 1) user id problems (postfix piping as nobody, cyrus running as cyrus for exemple) or 2) dissension about where the lmtp socket is between deliver and lmtpd.

BTW: when you've fixed this problem, you may want to consider using postfix's lmtp client as it will probably be faster (one fork less, because in your current setup, you'll fork pipe which will call the deliver program).

Hope that helps,
Baltasar


_____ former 03 gmbh
_____ infanteriestraße 19 haus 6 eg
_____ 80797 muenchen

_____ http://www.former03.de


--
--------------------------------------------------------
David Korpiewski                     Phone: 413-545-4319
Software Specialist I                Fax:   413-577-2285
Department of Computer Science       ICQ:   7565766
University of Massachusetts Amherst
--------------------------------------------------------

----
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

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux