On Monday, October 26, 2009 at 20:15 CET,
     Eero Volotinen <eero.voloti...@iki.fi> wrote:

> I am running ssl+sasl authenticated mailgateway and problem is that
> in some cases clients from world are sending mail from "blacklisted"
> networks.
> 
> The main problem is that spamassasin is analyzing received headers
> and it might tag message as spam by received by headers.
> 
> So, How I can remove headers only from outgoing mail using:
> http://www.posluns.com/guides/hedrem.html

Yes, header_checks can be used. Howeer, you'd want to avoid doing this
to all email. To affect only messages submitted by your clients, define
two cleanup(8) services (one with these header checks and one without)
and use separate SMTP listener for your SASL clients (which you might
have already).

http://www.postfix.org/postconf.5.html#cleanup_service_name

-- 
Magnus Bäck
mag...@dsek.lth.se

Reply via email to