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

sendmail and libmilter



Starting from the latest 3.1 patch branch:
Step 1) edit gnu/usr.sbin/sendmail/Makefile to include "SUBDIR=+ libmilter"
Step 2) uncomment the 4 mail filter lines in gnu/usr.sbin/sendmail/Makefile
Step 3) cd gnu/usr.sbin/sendmail/libmilter; make obj && make depend && make
Step 4) cd gnu/usr.sbin/sendmail; make obj && make depend && make install
Step 5) restart sendmail
Step 6) try to send mail

I then get the following error in maillog:
Aug  3 22:20:57 sm-mta[27894]: g742KQri027894: collect: premature \
        EOM: Resource temporarily unavailable

This appears to happen when collecting the message body, because
it all dies when doing this by hand on port 25 after entering 'DATA'.

There is a trace at http://25thandClement.com/~william/trace.out

I've traced the problem as far as sendmail/collect.c (see the readerr
label), but i'm guessing it really happens in svrsmtp.c.

Anybody know what's going on? I have yet to build any mail filters. Do I
need to put in a stub MAIL_INPUT_FILTER() in sendmail.mc?

TIA,

Bill