|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Magnus Bäck (magnus
dsek.lth.se)
Date: Sat Aug 04 2007 - 04:43:48 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Saturday, August 04, 2007 at 11:38 CEST,
Magnus Bäck <magnus
dsek.lth.se> wrote:
> On Friday, August 03, 2007 at 15:19 CEST,
> Nikolay Shopik <shopik
inblock.ru> wrote:
>
> > I was wondering how I can add additional headers to message?
> > For example if some remote MTA putting non FQDN EHLO and I want pass
> > this message but let spamassassin decide on it.
>
> You could use the PREPEND action in an access map to add such a header,
> but that assumes that you can express the condition you want to catch
> using the access map. In this particular case you can do that reasonably
> well. The following in a check_helo_access map should work:
>
> /^[a-z0-9-_]+/ PREPEND X-Non-FQDN-Helo: Yes
>
> For better flexibility, use a policy server.
Dang, forgot the $:
/^[a-z0-9-_]+$/ PREPEND X-Non-FQDN-Helo: Yes
--
Magnus Bäck
magnus
dsek.lth.se
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]