Re: [exim] Discard mail to certain recipients if the subject matches a string

2017-04-07 Thread Александр Кириллов via Exim-users
No I haven't. This could be already fixed in a newer jem version. 2017-04-07 15:26 GMT+03:00 Jeremy Harris : > On 07/04/17 12:04, Александр Кириллов via Exim-users wrote: > > Thanks for this one. It helps. > > > > # In particular, the Exim maintainers have had multiple reports

Re: [exim] Discard mail to certain recipients if the subject matches a string

2017-04-07 Thread Jeremy Harris
On 07/04/17 12:04, Александр Кириллов via Exim-users wrote: > Thanks for this one. It helps. > > # In particular, the Exim maintainers have had multiple reports of problems > # from Russian administrators of issues until they disable this check, > # because of some popular, yet buggy, mail

Re: [exim] Discard mail to certain recipients if the subject matches a string

2017-04-07 Thread Александр Кириллов via Exim-users
Thanks for this one. It helps. # In particular, the Exim maintainers have had multiple reports of problems # from Russian administrators of issues until they disable this check, # because of some popular, yet buggy, mail composition software. And the prize for the popular, yet buggy, mail

Re: [exim] Discard mail to certain recipients if the subject matches a string

2017-04-07 Thread Lena--- via Exim-users
> From: ? > I've tried nearly anything I could think of: > > Commit by > Commit\ by Insert into beginning of Exim config: check_rfc2047_length = false > From: Jasen Betts > RFC2047 sec 2 and section 6 say that all encoded words >

Re: [exim] Discard mail to certain recipients if the subject matches a string

2017-04-06 Thread Александр Кириллов via Exim-users
> Do note that the router you describe here doesn't actually do what you > originally asked us about! Sorry, if I wasn't clear enough in my original post but why you assume the question was about local delivery? These acls apply to any message submitted to the relay via smtp. I have non-local

Re: [exim] Discard mail to certain recipients if the subject matches a string

2017-04-06 Thread Александр Кириллов via Exim-users
Thanks for your attention, guys, but here's my problem - The messages (commit notifications) must be delivered to some recipients but not the others. I don't have access to the headers in acl_smtp_rcpt and in acl_smtp_data I can discard the entire message to all its recipients as mentioned above

Re: [exim] Discard mail to certain recipients if the subject matches a string

2017-04-05 Thread Chris Siebenmann
> Thanks for your attention, guys, but here's my problem - > > The messages (commit notifications) must be delivered to some > recipients but not the others. I don't have access to the headers in > acl_smtp_rcpt and in acl_smtp_data I can discard the entire message to > all its recipients as

Re: [exim] Discard mail to certain recipients if the subject matches a string

2017-04-05 Thread Chris Siebenmann
> Chris' solution seems neater and simpler; I always forget about using > setting variables like that. (Starts musing on how to rewrite a somewhat > convoluted test in my own Exim config!) > > On 5 April 2017 at 16:06, Chris Siebenmann wrote: > > > Something like: > > > >

Re: [exim] Discard mail to certain recipients if the subject matches a string

2017-04-05 Thread Mike Brudenell via Exim-users
Chris' solution seems neater and simpler; I always forget about using setting variables like that. (Starts musing on how to rewrite a somewhat convoluted test in my own Exim config!) On 5 April 2017 at 16:06, Chris Siebenmann wrote: > Something like: > > warn >

Re: [exim] Discard mail to certain recipients if the subject matches a string

2017-04-05 Thread Chris Siebenmann
> I need to discard mail from a known address to certain recipients IF the > subject matches a known string. I've tried to add > > discard message = The $sender_address is prohibited to send commit > notifications to these recipients > senders = > recipients= :

Re: [exim] Discard mail to certain recipients if the subject matches a string

2017-04-05 Thread Mike Brudenell via Exim-users
Hi, The error message seems pretty clear: you can't use the *recipients* condition within an *acl_smtp_data* ACL. I assume this is because the recipients condition tests the recipient currently being considered against the list. However by the time you've got to an acl_smtp_data ACL there is no

Re: [exim] Discard mail to certain recipients if the subject matches a string

2017-04-05 Thread Evgeniy Berdnikov
On Tue, Apr 04, 2017 at 06:11:00PM +0300, Александр Кириллов via Exim-users wrote: > I need to discard mail from a known address to certain recipients IF the > subject matches a known string. I've tried to add > > discard message = The $sender_address is prohibited to send commit >

[exim] Discard mail to certain recipients if the subject matches a string

2017-04-05 Thread Александр Кириллов via Exim-users
Hi list, I need to discard mail from a known address to certain recipients IF the subject matches a known string. I've tried to add discard message = The $sender_address is prohibited to send commit notifications to these recipients senders = recipients= :