Thanks for reading this. Please tell me what Exim4 Debian options will affect Spamassassin''s headers: I''m getting an X-Spam-Report header on emails not markd as spam, even though I have report_safe set to "1" and "remove_header ham Report" set right after it. Are there any Exim4 options that would override the Spamassassin local.cf file? TIA. Bill -- E. William Horne William Warren Consulting Computer and Network Installation & Service http://www.billhorne.com/ Voice: 781 784-7287
On Mon, Jul 10, 2006 at 04:23:22PM -0400, Bill Horne wrote:> Thanks for reading this. > > Please tell me what Exim4 Debian options will affect Spamassassin''s > headers: I''m getting an X-Spam-Report header on emails not markd as > spam, even though I have report_safe set to "1" and "remove_header ham > Report" set right after it. > > Are there any Exim4 options that would override the Spamassassin > local.cf file? > > TIA. > > BillAre you using sa-exim or the ACL time options for spam scanning? My guess is the former, in whic case you need to check your sa-exim settings. If the latter, note that exim ignores the message rewritten by SA; the only way to get the results of the scan in the message is to add it from the headers in the ACL. Ross
Ross Boylan wrote:> On Mon, Jul 10, 2006 at 04:23:22PM -0400, Bill Horne wrote: > >> Thanks for reading this. >> >> Please tell me what Exim4 Debian options will affect Spamassassin''s >> headers: I''m getting an X-Spam-Report header on emails not markd as >> spam, even though I have report_safe set to "1" and "remove_header ham >> Report" set right after it. >> >> Are there any Exim4 options that would override the Spamassassin >> local.cf file? >> >> TIA. >> >> Bill >> > Are you using sa-exim or the ACL time options for spam scanning? My > guess is the former, in whic case you need to check your sa-exim > settings. If the latter, note that exim ignores the message rewritten > by SA; the only way to get the results of the scan in the message is > to add it from the headers in the ACL. > > Ross > >Ross, Thanks for the info: I use exiscan, and I''ve confirmed that SA is adding the X-Spam-Report header, because when I change the clear_report_template in /usr/share/spamassassin/10_misc.cf, the changes are shown on subsequent emails. However, the /etc/spamassassin/local.cf file doesn''t seem to override the defaults: I have, as I said, a command "remove_header ham Report" in local.cf, but it''s not effective, so I''m trying to figure out what''s overriding it. I''m running Exim4-daemon-heavy, with a stock Debian Sarge install and split config files: it was a network install I did about two months ago. All I can think of is that Exim4 is calling spamd with an unproductive option. All suggestions welcome! TIA. Bill -- Bill Horne William Warren Consulting Server and PC Installation, repairs, and upgrades 781 784-7287 http://www.billhorne.com/
On Tue, Jul 11, 2006 at 12:05:42AM -0400, Bill Horne wrote: ...> Thanks for the info: I use exiscan, and I''ve confirmed that SA is > addingyou mean you''ve done something special to add exiscan, or that you''re using a recent exim4-daemon-heavy, which has it built in?> the X-Spam-Report header, because when I change the > clear_report_template in /usr/share/spamassassin/10_misc.cf, the > changesAt least as I have things setup (with daemon-heavy), the report template in spamassassin does affect the report, but it is still exim itself that inserts it. The contents of the report go in $spam_report, and then code in an ACL writes this into the headers. See the content scanning section of the exim spec.> are shown on subsequent emails. However, the /etc/spamassassin/local.cf > file doesn''t seem to override the defaults: I have, as I said, a command > "remove_header ham Report" in local.cf, but it''s not effective, so I''m > trying to figure out what''s overriding it.Whatever user spamassassin is running as may have local overrides in place; if so, it won''t matter what''s in /etc. Check which user you are running as. In the acl there will be a line like " spam = user". If you always get reports, you may have "spam user:true". There is then the additional question of spamc/spamd interaction. spamd might be running permanently as another user than the one you specify in the ACL. If whatever user spamd runs as has a local configuration for reports, it won''t matter what''s in /etc.> > I''m running Exim4-daemon-heavy, with a stock Debian Sarge install and > split config files: it was a network install I did about two months ago. >Exactly how did you hook up spamassassin? I''ve just setup exim and spamassassin, and everything seems to be working OK for me. Ross