
dbfunk at engineering
Jan 5, 2012, 1:18 PM
Post #10 of 11
(597 views)
Permalink
|
On Thu, 5 Jan 2012, nsayer wrote: > David B Funk wrote: >> >> Noel, >> I assume that you're saying he has a sendmail config problem because his >> SA isn't 'seeing' the auth tokens. That might not be the case, it may be >> his milter that is at fault. >> >> SA depends upon the auth tokens that your MTA adds to its "Received:" >> header to recognize properly authed messages. >> However in a sendmail+milter system, the milter gets the incoming mail >> stream -before- any local MTA additions. So it's the milter's >> responsibility to synthesize a "Received:" header in what it passes on to >> SA that faithfully mimics what the MTA would generate. >> Not all milters get that right, particularly with auth tokens. >> >> Nick, >> Which specific milter are you using and which version of that milter? >> > > I'm using everything straight out of the FreeBSD ports tree: > > spamass-milter-0.3.2 > p5-Mail-SpamAssassin-3.3.2_6 > sendmail+tls+sasl2-8.14.5 > opendkim-2.4.1 > sid-milter-1.0.0 > > The milter section of my sendmail MC file looks like this: > > define(`confMILTER_MACROS_CONNECT',`t, b, j, _, {daemon_name}, {if_name}, > {if_addr}')dnl > define(`confMILTER_MACROS_HELO',`s, {verify}, {tls_version}, {cipher}, > {cipher_bits}, {cert_subject}, {cert_issuer}')dnl > define(`confMILTER_MACROS_ENVRCPT',`r, v, Z, b, _, {greylist}')dnl > INPUT_MAIL_FILTER(`sid-filter', `S=unix:/var/run/sid-filter, F=T, > T=R:30s')dnl > INPUT_MAIL_FILTER(`dkim-filter', > `S=unix:/var/run/milteropendkim/milter-opendkim.sock, F=T, T=R:2m')dnl > INPUT_MAIL_FILTER(`spamassassin', `S=unix:/var/run/spamass-milter.sock, F=T, > T=C:15m;S:4m;R:4m;E:10m')dnl > > The {greylist} in ENVRCPT is in there for the benefit of the greylist > milter, which currently is disabled. > > I'm not familiar with the FreeBSD ports tree, but if its spamass-milter-0.3.2 is the same as the one from http://www.freshports.org/mail/spamass-milter/ then it does -not- add the auth tokens to its internally synthesized "Received" header. Thus your problem. -- Dave Funk University of Iowa <dbfunk (at) engineering.uiowa.edu> College of Engineering 319/335-5751 FAX: 319/384-0549 1256 Seamans Center Sys_admin/Postmaster/cell_admin Iowa City, IA 52242-1527 #include <std_disclaimer.h> Better is not better, 'standard' is better. B{
|