Re: deliver reports (/var/lib/imap/socket/lmtp) failed: Connection refused

From: Simon Matter (no email)
Date: Tue Sep 04 2007 - 04:30:30 EDT

  • Next message: Artem Bokhan: "Re: storing mail across several cyrus partitions"

    > Hello,
    >
    > We had a properly working postfix + cyrus-imap system till 23rd of
    > July. Then messages like the below one started to appear in the log
    > file.
    >
    > Sep 3 07:45:59 srv1 deliver[20650]:
    > connect(/var/lib/imap/socket/lmtp) failed: Connection refused
    >
    > The postfix log shows:
    >
    > Sep 3 07:45:59 srv1 postfix/pipe[19972]: B88D01DC8EF8: to=<xxx@
    > srv1.xxx.xx>, orig_to=<>, relay=cyrus-deliver, delay=2
    > 49424, status=deferred (temporary failure. Command output: couldn't
    > connect to l
    > mtpd: Connection refused_ 421 4.3.0 deliver: couldn't connect to lmtpd_ )
    >
    >
    > Do you have any ideas what could happen? It worked fine before.
    >
    >
    > cyrus.conf contains:
    >
    > # at least one LMTP is required for delivery
    > # lmtp cmd="lmtpd" listen="lmtp" prefork=0
    > lmtpunix cmd="lmtpd" listen="/var/lib/imap/socket/lmtp" prefork=5
    >
    >
    > postfix/master.cf contains:
    >
    > cyrus-deliver unix - n n - - pipe
    > user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -r ${sender} -m
    > ${extension} ${user}
    >
    >
    > postfix/main.cf contains:
    >
    > mailbox_transport = cyrus-deliver

    Hi,

    I don't know why things suddenly fail but you shouldn't use the cyrus
    transport anymore. You should use lmtp as a mailtransport directly. If
    your postfix setup isn't somehow exotic you should be able to simply
    switch with this config:
    mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp

    Maybe you could give it a try.

    Simon

    ----
    Cyrus Home Page: http://cyrusimap.web.cmu.edu/
    Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
    List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
    

  • Next message: Artem Bokhan: "Re: storing mail across several cyrus partitions"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD