[Mimedefang] sendmail-mimedefang-spamassassin

Bill Friedman linguafr at sbcglobal.net
Mon Jul 7 15:29:01 EDT 2003


Graham Dunn wrote:

>On Sat, Jul 05, 2003 at 08:43:55PM -0700, Bill Friedman wrote:
>  
>
>>sendmail.mc:
>>
>>INPUT_MAIL_FILTER(`mimedefang', 
>>`S=unix:/var/spool/MIMEDefang/mimedefang.sock, T=S:5m;R:5m')
>>    
>>
>
>And you're getting "X-Scanned-by:" headers, right? (I forget if you
>mentioned this or not).
>
No, I'm not.

>Have you tried running with just the stock mimedefang-filter as it
>comes, getting that working, then making changes?
>
Just tried this to no avail.  

Since the machine is not yet public, I'm testing this by sending 
messages via sendmail interface, not a mail client.  I've tried going 
through localhost as well as from another machine.  It doesn't make 
sense to me that this should make a difference,  but, could it?

Also, I noticed these warnings.  Not sure, if they're hardcoded or they 
imply that the -DMILTER support isn't installed.  Yet, from other 
perspectives it appears to be.

# newaliases
Warning: Option: InputMailFilters requires Milter support (-DMILTER)
Warning: Option: Milter requires Milter support (-DMILTER)
Warning: Option: Milter requires Milter support (-DMILTER)
Warning: Option: Milter requires Milter support (-DMILTER)
Warning: Option: Milter requires Milter support (-DMILTER)
Warning: Filter usage ('X') requires Milter support (-DMILTER)
/etc/mail/aliases: 42 aliases, longest 22 bytes, 448 bytes total

Here's the site.m4.conf file that was used for the build.  Should I see 
a process running other than mimedefang's and sendmails for this setup?

[root at wendy mail]# more /usr/src/sendma*/devtools/Site/site*
dnl Milter
APPENDDEF(`conf_sendmail_ENVDEF', `-DMILTER')
APPENDDEF(`conf_libmilter_ENVDEF', `-D_FFR_MILTER_ROOT_UNSAFE ')

and as posted previously milter support in sendmail.cf as follows.

# grep mimedefang /etc/mail/sendmail.cf
O InputMailFilters=mimedefang
Xmimedefang, S=unix:/var/spool/MIMEDefang/mimedefang.sock, T=S:5m;R:5m

....

Thanks




More information about the MIMEDefang mailing list