Hi,

I am delivering via LMTP from Sendmail 8.11.4 to Cyrus v2.0.14-NAMESPACE-r3 using the 
local socket.

Deliver is working most of the time, but I am noticing errors:


# mailq
f5T4m6426721     1335 Fri Jun 29 14:48 <[EMAIL PROTECTED]>
                 (<[EMAIL PROTECTED]>... reply: read error from localhost)
f622ED205182  1296712 Jul  2 12:14 <[EMAIL PROTECTED]>
                 (Deferred: Connection reset by localhost



If I instruct sendmail to deliver this, I get:

# sendmail -v  -qIf620Zoc01487
Running /var/spool/mqueue/f620Zoc01487 (sequence 1 of 1)
<[EMAIL PROTECTED]>... Connecting to /var/imap/socket/lmtp via cyrus...
220 yyy.xxx.com.au LMTP Cyrus v2.0.14-NAMESPACE-r3 ready
>>> LHLO xxx.tpgi.com.au
250-yyy.xxx.com.au
250-IGNOREQUOTA
250-8BITMIME
250-ENHANCEDSTATUSCODES
250-AUTH PLAIN LOGIN EXTERNAL
250 PIPELINING
>>> MAIL From:<[EMAIL PROTECTED]> [EMAIL PROTECTED]
>>> QUIT
<[EMAIL PROTECTED]>... Deferred: Connection reset by localhost
Closing connection to localhost


..only a few seconds later, I did it again and it worked:

# sendmail -v  -qIf620Zoc01487
Running /var/spool/mqueue/f620Zoc01487 (sequence 1 of 1)
<[EMAIL PROTECTED]>... Connecting to /var/imap/socket/lmtp via cyrus...
220 yyy.xxx.com.au LMTP Cyrus v2.0.14-NAMESPACE-r3 ready
>>> LHLO yyy.xxx.com.au
250-yyy.xxx.com.au
250-IGNOREQUOTA
250-8BITMIME
250-ENHANCEDSTATUSCODES
250-AUTH PLAIN LOGIN EXTERNAL
250 PIPELINING
>>> MAIL From:<[EMAIL PROTECTED]> [EMAIL PROTECTED]
250 2.1.0 ok
>>> RCPT To:<tyree78>
250 2.1.5 ok
>>> DATA
354 go ahead
>>> .
250 2.1.5 Ok
<[EMAIL PROTECTED]>... Sent
Closing connection to localhost
>>> QUIT
221 2.0.0 bye


Is there some problem with delivering multiple messages at the same time.  Does 
increasing the preforking for the LMTP local socket file make sense?  Should I use 
delivery to the local LMTP port via TCP and inclease the preforking there?

At the moment I am doign queue jobs every minute in the hope of flushing these 
messages though.


My .mc file looks like this:

MAILER(smtp)dnl
MAILER(local)dnl
define(`confLOCAL_MAILER',`cyrus')dnl

MAILER_DEFINITIONS
Mcyrus,         P=[IPC], F=lsDFMnqA@/:|SmXz, E=\r\n,
                S=EnvFromL, R=EnvToL/HdrToL, T=DNS/RFC822/X-Unix, 
                A=FILE /var/imap/socket/lmtp

LOCAL_RULE_0
Rbb + $+ < @ $=w . >    $#cyrus $: + $1




Kind regards,  Stuart

Reply via email to