Re: Emails from postfix are getting distorted/modified if it contains domain name

2018-04-10 Thread Wietse Venema
Kunal868: > How do we sort this issue out, so that the "secure-web.cisco.com" does not > appear in emails. This is not a Postfix builtin feature, so it is added by a client-side or server-side antivirus system, by a Postfix content filter, or by some non-Postfix system that the mail passes

Re: Emails from postfix are getting distorted/modified if it contains domain name

2018-04-10 Thread Wietse Venema
Kunal868: > Please see below output from postconf -n: I see nothing in this output that would modify URLs in email messages. You need to find out if the change is made - by some software on the client where the user sends email, - by some software on the Postfix host, - by some software on some

Subject Regular expressión

2018-04-10 Thread Emanuel
Hello, I have a problem when locking with regular expressions I need match /^Subject: (Hello there(.*)|Hey man(.*))/ discard The rule not work.! the parameter. * is correct? any ideas? thanks for your help. --

Re: Subject Regular expressión

2018-04-10 Thread Phil Stracchino
On 04/10/18 13:00, Emanuel wrote: > Hello, > > I have a problem when locking with regular expressions > > I need match > > /^Subject: (Hello there(.*)|Hey man(.*))/ discard > > The rule not work.! > > the parameter. * is correct? > > any ideas? Well to start with, in that regex, both (.*)

Re: Emails from postfix are getting distorted/modified if it contains domain name

2018-04-10 Thread Kunal868
Please see below output from postconf -n: alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix data_directory = /var/lib/postfix debug_peer_level = 2 html_directory = no

Re: Subject Regular expressión

2018-04-10 Thread Viktor Dukhovni
> On Apr 10, 2018, at 1:50 PM, Phil Stracchino wrote: > > /^Subject:.*(Hello there|Hey man)/DISCARD Can't say I'd recommend discarding email on such tenuous grounds, but if that's one wants: header-checks.pcre: # One if...endif block per header, here

Re: Blocking mail from all but one domain

2018-04-10 Thread Dominic Raferd
On 11 April 2018 at 03:27, Alex wrote: > Hi, > I have a postfix-3.1.4 installation and have been given a request to > block all incoming mail from all but a single specific domain and > block all outgoing mail with the exception of only that same single > specific domain.

Re: Emails from postfix are getting distorted/modified if it contains domain name

2018-04-10 Thread Olivier
Kunal868 writes: > How do we sort this issue out, so that the "secure-web.cisco.com" does not > appear in emails. My first idea would be to check if the mail is distorded by postfix or by your email client. What do you use to read the mail? Do you see the same

Re: Emails from postfix are getting distorted/modified if it contains domain name

2018-04-10 Thread Kunal868
How do we sort this issue out, so that the "secure-web.cisco.com" does not appear in emails. Thanks Kunal -- Sent from: http://postfix.1071664.n5.nabble.com/Postfix-Users-f2.html

Blocking mail from all but one domain

2018-04-10 Thread Alex
Hi, I have a postfix-3.1.4 installation and have been given a request to block all incoming mail from all but a single specific domain and block all outgoing mail with the exception of only that same single specific domain. Mail is received by a relay server, mail01.example.com, then forwarded to

Re: Subject Regular expressión

2018-04-10 Thread Stephen Satchell
On 04/10/2018 10:00 AM, Emanuel wrote: Hello, I have a problem when locking with regular expressions I need match /^Subject: (Hello there(.*)|Hey man(.*))/ discard Break it up into two separate entries. There is little cost in doing so. The | operator is supposed to bind to a single token