Re: [exim] Removing all headers with the same prefix

2017-04-19 Thread Stefan Unterweger
* Jeremy Harris on Tue, Apr 18, 2017 at 10:54:58PM +0100: > It'll be a multistep process, probably. Treat ACLs as a programming > language. > > […] > > But start with doing it as a sequence of > > set acl_m_foo = I’m already doing something very similar to implement a home-grown

Re: [exim] Exim lsearch lookup in multiple files at the same time

2017-04-19 Thread Mike Brudenell via Exim-users
Hi, Rustam - Can I check your setup? Is it that: - You have a number of files, one per domain — /etc/exim/d1.example.com /etc/exim/d2.example.com /etc/exim/d3.example.com and so on - You want to look up the $sender_address to find the value for *client_send* to use Is there a

Re: [exim] Add custom headers for DKIM, SPF, DMARC check status

2017-04-19 Thread Фадеев Виталий Львович via Exim-users
Hello. For DKIM I tried with this: acl_smtp_dkim = acl_check_dkim acl_check_dkim:   accept    dkim_status = fail    logwrite = DKIM test failed: $dkim_verify_reason    add_header = X-DKIM-Status: DKIM fail: (address=$sender_address domain=$dkim_cur_signer), signature

Re: [exim] Exim lsearch lookup in multiple files at the same time

2017-04-19 Thread Jasen Betts
On 2017-04-18, Jeremy Harris wrote: > On 18/04/17 19:36, Rustam via Exim-users wrote: >> So my proposal is to allow a* list of files* as an argument to lsearch. Of >> if there is an easier solution, I'm open to suggestions. > > Wrap the lookup in one of the list-handling

Re: [exim] Removing all headers with the same prefix

2017-04-19 Thread Jasen Betts
On 2017-04-18, Stefan Unterweger <28443.kr@8j1.enskribi.email> wrote: > Hi, > > I want to scrub certain kinds of headers for all incoming messages so > that I can use them for myself—and trust them. In particular, I want to > get rid of all headers which start with ‘Spam-’, no matter what comes >

Re: [exim] Removing all headers with the same prefix

2017-04-19 Thread Heiko Schlittermann via Exim-users
Stefan Unterweger <28443.kr@8j1.enskribi.email> (Di 18 Apr 2017 20:07:33 CEST): > I want to scrub certain kinds of headers for all incoming messages so … > I have tried to find some kind of string expansion which would give me a > list of all message headers which start with my chosen prefix, or

Re: [exim] Add custom headers for DKIM, SPF, DMARC check status

2017-04-19 Thread Heiko Schlittermann via Exim-users
Фадеев Виталий Львович via Exim-users (Mi 19 Apr 2017 10:04:28 CEST): … >   accept >    dkim_status = pass >    logwrite = DKIM test passed >    add_header = X-DKIM-Status: DKIM pass: (address=$sender_address > domain=$dkim_cur_signer), signature