Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: exim: users
Re: Issues with (gnu)tls
 

Index | Next | Previous | View Flat


snabb at epipe

May 16, 2012, 11:33 PM


Views: 303
Permalink
Re: Issues with (gnu)tls [In reply to]

On 2012-05-17 11:09, W B Hacker wrote:

> Before I did ANYTHING else I'd rename all of the 'X-Spam <wotever>'
> headers you add to something unique to your own server.
>
> Many a Sysadmin has chased ghosts that turned out to be the same
> header-names already present on the *incoming* traffic - either added by
> the submitting server - or even spoofed.

IMHO the best solution is to add the X-Spamwhatever headers in the
system filter based on ACL variables. In system filter it is possible to
remove pre-existing header lines first, but in ACL it is not possible. I
have something such as the following in my system filter:

# Exim filter

if first_delivery then
headers remove X-Spam-Score:X-Spam-Report:X-Spam-Flag

if $acl_m_spam_score is not "" then
headers add "X-Spam-Score: $acl_m_spam_score ($acl_m_spam_bar)"

if $acl_m_spam_score_int is not below 50 then
headers add "X-Spam-Flag: YES"
headers add "X-Spam-Report: $acl_m_spam_report"
endif
endif
endif

For some reason all the spamd ACL examples add the headers in the ACL.

--
Janne Snabb / EPIPE Communications
snabb [at] epipe - http://epipe.com/

--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Subject User Time
Issues with (gnu)tls nuno at aeminium May 7, 2012, 1:54 PM
    Re: Issues with (gnu)tls exim-users at spodhuis May 8, 2012, 1:39 AM
        Re: Issues with (gnu)tls nuno at aeminium May 8, 2012, 7:44 AM
            Re: Issues with (gnu)tls nuno at aeminium May 15, 2012, 5:31 AM
                Re: Issues with (gnu)tls exim-users at spodhuis May 15, 2012, 6:12 AM
                Re: Issues with (gnu)tls wbh at conducive May 16, 2012, 9:09 PM
                    Re: Issues with (gnu)tls snabb at epipe May 16, 2012, 11:33 PM
                        Re: Issues with (gnu)tls wbh at conducive May 17, 2012, 12:26 AM
                    Re: Issues with (gnu)tls nuno at aeminium May 17, 2012, 2:11 PM
                        Re: Issues with (gnu)tls wbh at conducive May 17, 2012, 5:28 PM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.