Re: [exim] Filter for Conditional Header Removal

2018-04-12 Thread Mike Brudenell via Exim-users
On 12 April 2018 at 10:05, Ajay Kajla via Exim-users wrote: > Hi, > > We have following requirement any mail coming from a...@abc.com and subject > contains "SomeThing" to go to x...@mydomain.com With complete headers and > to > a...@mydomain.com without Cc and From headers.

Re: [exim] NDN, Mailer-Daemon, DSN - EXIM

2018-04-12 Thread Nazarevych Ol via Exim-users
On 2018-04-11 13:28, Graeme Fowler wrote: > On 10 Apr 2018, at 16:51, Nazarevych Ol via Exim-users wrote: > > Why "Internal server" use primary_hostname instead qualify_domain ? > > You most likely need to look at your configuration to find that. You don’t > say on what

Re: [exim] Filter for Conditional Header Removal

2018-04-12 Thread Jeremy Harris via Exim-users
On 12/04/18 11:35, Ajay Kajla via Exim-users wrote: >> On 12/04/18 10:05, Ajay Kajla via Exim-users wrote: >>> if ("$h_from:" contains "a...@abc.com" and "$header_subject:" contains >>> "SomeThing") >>> then >>> headers remove Cc >> >> Check the docs on that last command.

Re: [exim] Filter for Conditional Header Removal

2018-04-12 Thread Ajay Kajla via Exim-users
Hi Jeremy, > if ("$h_from:" contains "a...@abc.com" and "$header_subject:" contains > "SomeThing") > then > headers remove Cc >> Check the docs on that last command. I'm sorry, but can you please be little more expressive on this. With Best Regards, Ajay On Thu, Apr 12, 2018 at 2:58 PM,

Re: [exim] NDN, Mailer-Daemon, DSN - EXIM

2018-04-12 Thread Jeremy Harris via Exim-users
On 12/04/18 09:42, Mike Brudenell via Exim-users wrote: > On 11 April 2018 at 19:43, Jeremy Harris via Exim-users > wrote: > >> That would be incorrect per standards. The HELO name should identify >> the sending system. >> > > Umm… Agreed, but what if this mysterious and

Re: [exim] Filter for Conditional Header Removal

2018-04-12 Thread Jeremy Harris via Exim-users
On 12/04/18 10:05, Ajay Kajla via Exim-users wrote: > if ("$h_from:" contains "a...@abc.com" and "$header_subject:" contains > "SomeThing") > then > headers remove Cc Check the docs on that last command. -- Jeremy -- ## List details at https://lists.exim.org/mailman/listinfo/exim-users ##

Re: [exim] NDN, Mailer-Daemon, DSN - EXIM

2018-04-12 Thread Dmitriy Matrosov via Exim-users
On April 11, 2018 9:43:10 PM GMT+03:00, Jeremy Harris via Exim-users wrote: >On 11/04/18 17:27, Mike Brudenell via Exim-users wrote: >> a *helo_data* command within your Exim >> transport to set the HELO/EHLO string for each connection to, say, >reflect >> the domain name

[exim] Filter for Conditional Header Removal

2018-04-12 Thread Ajay Kajla via Exim-users
Hi, We have following requirement any mail coming from a...@abc.com and subject contains "SomeThing" to go to x...@mydomain.com With complete headers and to a...@mydomain.com without Cc and From headers. I tried following filter but it's removing headers for both x...@mydomain.com &

Re: [exim] NDN, Mailer-Daemon, DSN - EXIM

2018-04-12 Thread Mike Brudenell via Exim-users
On 11 April 2018 at 19:43, Jeremy Harris via Exim-users wrote: > That would be incorrect per standards. The HELO name should identify > the sending system. > Umm… Agreed, but what if this mysterious and obfuscated organisation has multiple A records under different domain