On Tue, 12 Oct 2004, Evan Pierce wrote:
Pete
You did rebuild your sendmail.cf file from a mc file with the milter configuration included?
Here is my sendmail.mc file ---Star sendmail.mc --- include(`../m4/cf.m4') VERSIONID(`default setup for Slackware Linux')dnl OSTYPE(`linux')dnl dnl# These settings help protect against people verifying email addresses dnl# at your site in order to send you email that you probably don't want: define(`confPRIVACY_FLAGS', `authwarnings,novrfy,noexpn,restrictqrun')dnl dnl# Uncomment the line below to send outgoing mail through an external server: dnl define(`SMART_HOST',`mailserver.example.com') dnl# No timeout for ident: define(`confTO_IDENT', `0')dnl dnl# Enable the line below to use smrsh to restrict what sendmail can run: dnl FEATURE(`smrsh',`/usr/sbin/smrsh')dnl dnl# See the README in /usr/share/sendmail/cf for a ton of information on dnl# how these options work: FEATURE(`use_cw_file')dnl FEATURE(`use_ct_file')dnl FEATURE(`mailertable',`hash -o /etc/mail/mailertable.db')dnl FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable.db')dnl FEATURE(`access_db', `hash -T<TMPF> /etc/mail/access')dnl FEATURE(`blacklist_recipients')dnl FEATURE(`local_procmail',`',`procmail -t -Y -a $h -d $u')dnl FEATURE(`always_add_domain')dnl FEATURE(`redirect')dnl INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clmilter.sock,F=, T=S:4m;R:4m')dnl define(`confINPUT_MAIL_FILTERS', `clmilter') dnl# Turn this feature on if you don't always have DNS, or enjoy junk mail: dnl FEATURE(`accept_unresolvable_domains')dnl EXPOSED_USER(`root')dnl dnl# Also accept mail for localhost.localdomain: LOCAL_DOMAIN(`localhost.localdomain')dnl MAILER(local)dnl MAILER(smtp)dnl --- End sendmail.mc ---
Evan, yes, I did rebuild it. It got quite 'automatic' as I'd done it so many times. :)
I'm looking at your sendmail.mc and thinking that my milter lines might've looked different slightly. I'm sure there is no need for a \ if a line continues to another line in sendmail.mc, because it just carries on until it reaches 'dnl', right ?
Thanks for providing your sendmail.mc. I was going to provide my milter section, but I've just looked and I've deleted it, not simply commented it out, doh !
Anyway, I'll have a go with your milter lines, exactly as you have them, and record any errors, if any.
Thanks again for your time.
Regards,
Pete. _______________________________________________ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users