Sendmail error: Deferred: Bad file descriptor when delivering some messages

Oscar Olsson Oscar.Olsson at qbranch.se
Thu Nov 13 04:37:43 EST 2003



> From: Andrzej Filip [mailto:anfi at priv.onet.pl] 
> Oscar Olsson wrote:
> > On Wed, 12 Nov 2003, Andrzej Filip wrote:
> > 
> > AF> What is reported when you push the queuened message in verbose 
> > AF> mode ? As root run: sendmail -v -qIhAABDDkt012554
> > 
> > root at e2home-imap:/var/adm# sendmail -v -qIhAABDDkt012554
> > 
> > Running /var/spool/mqueue/hAABDDkt012554 (sequence 1 of 1) 
> > <someuser at e2HomeGate.com>... Connecting to 
> /var/imap/socket/lmtp via 
> > cyrus... 220 e2home-imap LMTP Cyrus v2.0.17 ready
> > 
> >>>>LHLO e2home-imap.e2homegate.com
> > 
> > 250-e2home-imap
> > 250-IGNOREQUOTA
> > 250-8BITMIME
> > 250-ENHANCEDSTATUSCODES
> > 250-AUTH LOGIN PLAIN DIGEST-MD5 CRAM-MD5 EXTERNAL
> > 250 PIPELINING
> > 
> >>>>MAIL From:<svenska at bilgruppen.se>
> > 
> > 250 2.1.0 ok
> > 
> >>>>RCPT To:<someuser>
> >>>>DATA
> > 
> > 250 2.1.5 ok
> > 354 go ahead
> > 
> >>>>.
> >>>>QUIT
> > 
> > <someuser at e2HomeGate.com>... Deferred: Bad file descriptor Closing 
> > connection to localhost root at e2home-imap:/var/adm#
> > 
> > Doesn't tell me much. :)
> 
> Could you send your cyrus mailer specification ?
> echo '=M' | sendmail -bt | grep cyrus

This is what this command returned:

mailer 9 (cyrus): P=[IPC] S=EnvFromL/EnvFromL R=EnvToL/HdrToL M=0 U=0:0
F=/:@ADFMSXlmnqsz| L=0 E=\r\n T=DNS/RFC822/X-Unix r=100 A=FILE
/var/imap/socket/lmtp

This is what I have in my sendmail.cf:

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

> You seem to use something non standard. cyrus mailer provided 
> with sendmail 
> uses deliver program, cyrusv2 uses LMTP socket.

Isn't that what I am using, since I use version 2?

//Oscar





More information about the Info-cyrus mailing list