On Friday, August 03, 2007 at 15:19 CEST,
Nikolay Shopik <shopik AT inblock DOT 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.
--
Magnus Bäck
magnus AT dsek.lth DOT se
|