hi matthias,

header_checks allows you re-write, remove, do just about anything using
perl regex, but given that your using sendmail, that doesn't help much.

it's been a while since i last read the bat book -- i just looked at my
old trusty v8.8 edition, and it says that headers cannot be removed
(perhaps this has changed since).

ouch.

charles 


On Wed, 2007-06-13 at 10:40 +0200, Matthias Weigel wrote:
> Hello Charles,
> 
> Thanks for your answer, but i am using dual-sendmail.
> Having a quick look into a postfix book, header_checks seem to block the 
> whole mail. I do not want to block the mail, just remove some stupid 
> headers.
> 
> Best Regards
> 
> Matthias
> 
> 
> lartc schrieb:
> > hi,
> > 
> > you can do this with 
> > 
> > header_checks
> > 
> > if your using postfix :-)
> > 
> > cheers
> > 
> > charles
> > 
> > 
> > On Wed, 2007-06-13 at 10:14 +0200, Matthias Weigel wrote:
> >> Hello,
> >>
> >> amavisd-new already can remove some headers (X-Spam... X-Virus).
> >> It would be nice, if it is possible to remove some more headers 
> >> (configurable which ones).
> >>
> >> Why do i want to do this: Some stupid notes servers add many (> 60) 
> >> X-Notes-Item headers. These mails are later blocked by some mailers 
> >> because of too many headers. It seems, notes cannot be persuaded to not 
> >> add these headers.
> >> Other to be removed headers also come to mind: X-Authentication-Warning, 
> >> etc.
> >> Also DKIM signing probably benefits, if some header cleanup can be done.
> >>
> >> Best Regards
> >>
> >> Matthias
> >>
> >>
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> AMaViS-user mailing list
> AMaViS-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amavis-user
> AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
> AMaViS-HowTos:http://www.amavis.org/howto/
-- 
"simplified chinese" is not nearly as easy as they would
have you believe ... a superlative oxymoron" --anonymous


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to