Miscellaneous Sendmail notes


I/O error

I once received "I/O errors" when attempting to deliver mail locally:

Running /var/spool/mqueue/hAOJu4g2014177 (sequence 1 of 1)
hutch@host.domain.com... Connecting to local...
I/O error

To diagnose the problem, trace the mail delivery (-d11) while processing the queued message.

sendmail -v -qIhAOJu4g2014177 -d11

Running /var/spool/mqueue/hAOJu4g2014177 (sequence 1 of 1)
openmailer: procmail -f hutch@host.domain.com -t -Y -a  -d hutch
hutch@host.domain.com... Connecting to local...
openmailer: MCI@0x8fe053c: flags=0,
        errno=0, herrno=0, exitstat=0, state=2, pid=14290,
        maxsize=0, phase=(null), mailer=local,
        status=(null), rstatus=(null),
        host=(null), lastuse=Wed Dec 31 18:00:00 1969

I/O error

In this case, my ~/.procmailrc file contained errors, specifically a call to a third-party anti-spam application that was no longer installed. Fixing ~/.procmailrc and reprocessing the queued message fixed the problem.

Building Sendmail without IPv6 support

Add the following to devtools/Site/site.config.m4 to build Sendmail without IPv6 support:
APPENDDEF(`confENVDEF', `-UNETINET6')
More information at Google Groups.

Back to brandonhutchinson.com.
Last modified: 06/30/2004