I host many domains in Imail 8. I want to apply X-IMAIL-SPAM headers to all mail at the server level, and each domain owner the option of handling the spam on the server side or dealing with it it their mail client.
The problem I need help with is processing the added x headers. The possible headers are:
X-IMAIL-SPAM-ADDRBL
X-IMAIL-SPAM-DNSBL
(various lists here - I have about 7 configed)
X-IMAIL-SPAM-HELOBL
X-IMAIL-SPAM-HELODOMAIN
X-IMAIL-SPAM-INVALIDFROM
X-IMAIL-SPAM-IP4R
X-IMAIL-SPAM-STATISTIC
X-IMAIL-SPAM-REVDNS
X-IMAIL-SPAM-RHSBL
X-IMAIL-SPAM-PHRASE
X-IMAIL-SPAM-VALFROM
X-IMAIL-SPAM-VALREVDNS
X-IMAIL-SPAM-VALHELO
I would like to write a rule which does the following:
if (2 or More "X-IMAIL-SPAM-DNSBL" headers
AND any-of-the-other-headers)
OR "X-IMAIL-SPAM-STATISTIC" then
Bounce the message
(I may also want to just put in a folder or forward)
I would much appreciate someone to give me an example of a rule to do this and explain its parts so I can manipulate it as needed. I think Imail can do this, but I have only used the rules which the fill-in-the-blanks forms crete for me.
Thanks,
Jim
The problem I need help with is processing the added x headers. The possible headers are:
X-IMAIL-SPAM-ADDRBL
X-IMAIL-SPAM-DNSBL
(various lists here - I have about 7 configed)
X-IMAIL-SPAM-HELOBL
X-IMAIL-SPAM-HELODOMAIN
X-IMAIL-SPAM-INVALIDFROM
X-IMAIL-SPAM-IP4R
X-IMAIL-SPAM-STATISTIC
X-IMAIL-SPAM-REVDNS
X-IMAIL-SPAM-RHSBL
X-IMAIL-SPAM-PHRASE
X-IMAIL-SPAM-VALFROM
X-IMAIL-SPAM-VALREVDNS
X-IMAIL-SPAM-VALHELO
I would like to write a rule which does the following:
if (2 or More "X-IMAIL-SPAM-DNSBL" headers
AND any-of-the-other-headers)
OR "X-IMAIL-SPAM-STATISTIC" then
Bounce the message
(I may also want to just put in a folder or forward)
I would much appreciate someone to give me an example of a rule to do this and explain its parts so I can manipulate it as needed. I think Imail can do this, but I have only used the rules which the fill-in-the-blanks forms crete for me.
Thanks,
Jim