Re: bounce message - custom subject

2015-05-21 Thread Jiri Vitek
On Tue, 2015-05-19 at 06:58 -0400, Wietse Venema wrote: > Jiri Vitek: > > Does someone have any idea how reach my targets: rewrite subject of > > undelivered message with the original one? > > > > I can write script which will do the modification. But i don't know how > > get these messages to thi

Re: Postfix not listening on port 25

2015-05-21 Thread Viktor Dukhovni
On Wed, May 20, 2015 at 02:06:32PM -0400, Mike McKoy wrote: > I've made some progress but unable to get my second instance of postfix to > listen on port 25. For this to work, the "inet_interfaces" definitions of the two instances must be set to a disjoint list of IP addresses. > *Taken from /et

Re: Postfix not listening on port 25

2015-05-21 Thread Mike McKoy
Vicktor I posted one instance because only one wasn't functioning. Alas it was configured correctly. Amazon EC2 is blocking the port through NAT. I'm in the process of getting approval for that traffic to be opened. Thanks for responding and I do appreciate it. -- Mike McKoy *404.590.7176* http:/

Re: Postfix not listening on port 25

2015-05-21 Thread Viktor Dukhovni
On Thu, May 21, 2015 at 04:12:02AM -0400, Mike McKoy wrote: > Viktor I posted one instance because only one wasn't functioning. That logic is flawed, often the reason an instance might not be able to bind a particular adress:port is that some other instance already binds that port, or a wildcard

Re: Postfix not listening on port 25

2015-05-21 Thread Mike McKoy
You are correct if I did post it others might have come to the same conclusion. Here it is: *Contents of /etc/postfix/main.cf * #inet_interfaces = $myhostname, localhost #inet_interfaces = $myhostname #inet_interfaces = $myhostname, localhost inet_interfaces = localhost,172.30.1.1

Re: Postfix not listening on port 25

2015-05-21 Thread Viktor Dukhovni
On Thu, May 21, 2015 at 05:17:19AM -0400, Mike McKoy wrote: > *Contents of /etc/postfix/main.cf * > inet_interfaces = localhost,172.30.1.113 > > *Contents of /etc/postfix-immt/main.cf * > inet_interfaces = 172.30.1.65 Thatt looks workable, and rules out conflict

Re: Postfix not listening on port 25

2015-05-21 Thread Mike McKoy
wow thx victor. I honestly didn't have knowledge of that command. gratitude my friend -- Mike McKoy *404.590.7176* http://MyForeverHair.com http://www.MyModelTalk.com http://InCrowdUSA.net http://www.google.com/profiles/mikemckoy On Thu, May 21, 2015 at 5:31 AM, Viktor Dukhovni wrote: > On Thu,

Re: Postfix not listening on port 25

2015-05-21 Thread Viktor Dukhovni
On Thu, May 21, 2015 at 05:35:25AM -0400, Mike McKoy wrote: > Wow thx victor. I honestly didn't have knowledge of that command. gratitude > my friend You can get even fancier: $ postmulti -ax -- sh -c 'echo "$config_directory:"; postconf inet_interfaces | sed -e "s/^/ /"; echo' keeping i

Re: bounce message - custom subject

2015-05-21 Thread Wietse Venema
Jiri Vitek: > On Tue, 2015-05-19 at 06:58 -0400, Wietse Venema wrote: > > Jiri Vitek: > > > Does someone have any idea how reach my targets: rewrite subject of > > > undelivered message with the original one? > > > > > > I can write script which will do the modification. But i don't know how > > >

Don't expand aliases before filer

2015-05-21 Thread Edgaras Lukoševičius
Hello, some of the recipients have multiple aliases. Let’s say 10. If they receive email, aliases are expanded and one message is divided to 10. So instead of 1 there is 10 messages for content filter. How can I make postfix expand aliases only after content filter or, if content filter is not

Need an explanation about a mail from Content-filter

2015-05-21 Thread yoklar
Hello, I have just setup a postfix mail server and I am very new to postfix. Today I have received several mails from `Content-filter` to my root account. I just want to figure out about what is going on. If I am posting wrong mail list please direct me to the correct list. Thanks ---

Re: Need an explanation about a mail from Content-filter

2015-05-21 Thread Noel Jones
On 5/21/2015 9:26 AM, yoklar wrote: > Hello, > > I have just setup a postfix mail server and I am very new to postfix. > Today I have received several mails from `Content-filter` to my root > account. I just want to figure out about what is going on. > If I am posting wrong mail list please direct

Re: Don't expand aliases before filer

2015-05-21 Thread Noel Jones
On 5/21/2015 6:08 AM, Edgaras Lukoševičius wrote: > Hello, > > some of the recipients have multiple aliases. Let’s say 10. If they receive > email, aliases are expanded and one message is divided to 10. So instead of 1 > there is 10 messages for content filter. > > How can I make postfix expand

Re: What is a good and (very) secure configuration for public postfix server nowadays?

2015-05-21 Thread Akimiya
Thanks a lot, that was a great answer - the most is clear now. Just a few things to clarify. As much I understood, if I set the `*_security_level` to `may` then the `*_mandatory_ciphers` option is not even considered. Since the the mandatory is for mandatory TLS and we set opportunistic TLS with `

TLS verify with tafile: error opening trust anchor file: No such file or directory

2015-05-21 Thread Pier Carlo Chiodi
Hello, I'm trying to use an smtp_tls_policy_maps with a tafile (2.11.0 on Ubuntu 14.04.2 LTS) but I receive the error in the subject. smtp_tls_policy_maps=texthash:/etc/postfix/mymap mymap: subdomain.mydomain.com verify tafile=/var/lib/postfix/my_intermediate The my_in

Re: Need an explanation about a mail from Content-filter

2015-05-21 Thread yoklar
Thank you Noel for the details. I will take into accounts your warnings and have a look at amavisd-new docs. On Thu, May 21, 2015 at 6:05 PM, Noel Jones wrote: > On 5/21/2015 9:26 AM, yoklar wrote: > > Hello, > > > > I have just setup a postfix mail server and I am very new to postfix. > > Today

Re: TLS verify with tafile: error opening trust anchor file: No such file or directory

2015-05-21 Thread Wietse Venema
Pier Carlo Chiodi: > Hello, > > I'm trying to use an smtp_tls_policy_maps with a tafile (2.11.0 on > Ubuntu 14.04.2 LTS) but I receive the error in the subject. > > smtp_tls_policy_maps=texthash:/etc/postfix/mymap According to postrconf(5) documentation: smtp_tls_trust_anchor_file (de

Re: What is a good and (very) secure configuration for public postfix server nowadays?

2015-05-21 Thread Noel Jones
On 5/21/2015 10:48 AM, Akimiya wrote: > Thanks a lot, that was a great answer - the most is clear now. Just a few > things to clarify. > > As much I understood, if I set the `*_security_level` to `may` then the > `*_mandatory_ciphers` option is not even considered. Since the the mandatory > is for

need explanation about user .forward file

2015-05-21 Thread Sharon Stahl
Hi, I've spent some time searching and reading but have not convinced myself that I really understand so I am sending my question to this maillist. I have recently converted from sendmail to postfix on a CentOS6 mailserver. Everything seems to be going okay except for how postfix deals with t

Re: TLS verify with tafile: error opening trust anchor file: No such file or directory

2015-05-21 Thread Viktor Dukhovni
On Thu, May 21, 2015 at 06:24:31PM +0200, Pier Carlo Chiodi wrote: > smtp_tls_policy_maps=texthash:/etc/postfix/mymap > > subdomain.mydomain.com verify > tafile=/var/lib/postfix/my_intermediate > > 18:19:18 myhost222 postfix/smtp[14011]: warning: error opening trust anchor > fil