Re: Prevent addition of (Resent-)From: header

2017-10-10 Thread Wietse Venema
Nick: > Postfix is doing exactly what it should as is the python code. What I > noticed though is that a header is being prepended onto the original > email. From what I can tell this is done via the cleanup daemon, with > the code being found within cleanup_message.c. When Postfix receives a

Re: OpenDKIM on backup MX

2017-10-10 Thread Anvar Kuchkartaev
You are welcome. In case of DNS you might use cache TTL high and use backup DNS service providers to make it reliable. ‎ Anvar Kuchkartaev  an...@anvartay.com    Original Message   From: Davide Marchi Sent: martes, 10 de octubre de 2017 10:27 p.m. To: postfix-users@postfix.org Subject: Re:

Re: OpenDKIM on backup MX

2017-10-10 Thread Davide Marchi
Il 2017-10-10 16:36 Anvar Kuchkartaev ha scritto: You can use 2 separate keys on servers with different selectors and use 2 DNS records as public keys (for security reasons it will be better). Recipient of email will query dns record to identify if signature of the email is right or not.‎ It

Backup mails to cloud

2017-10-10 Thread Anvar Kuchkartaev
Hello I would like to ask if it is possible to automatically backup mails sent/received by postfix to cloud storage services like Google cloud storage, amazon s3, rackspace cloud files (or other openstack swift compatible cloud)?Anvar Kuchkartaev an...@anvartay.com 

Prevent addition of (Resent-)From: header

2017-10-10 Thread Nick
Postfix users, I think I have an understanding of my problem, but I may be incorrect and can use some additional expertise. I recently modified an account on my system to forward all mail for a particular user to some python code. I modified the /etc/alias file and then ran newaliases. Postfix

Re: Sending with Multiple Domain Suffixes from Single Apache Server Box

2017-10-10 Thread Wietse Venema
certified: > How do I configure postfix to append the correct domain on outgoing emails > from php on apache: > > I have LAMP on Centos 7 and a static IP. There are several domain names > registered to that static IP: > first.com -> my static ip > another.com -> my static ip > third.com -> my

Re: Sending with Multiple Domain Suffixes from Single Apache Server Box

2017-10-10 Thread Fazzina, Angelo
Umm forget what i said about transport. check this out http://www.postfix.org/ADDRESS_REWRITING_README.html This sounds like your idea : Replace an internal address by an external address. For example, replace "username@localdomain.local" by "isp-account@isp.example" when sending mail

Re: Sending with Multiple Domain Suffixes from Single Apache Server Box

2017-10-10 Thread Fazzina, Angelo
Hi, i am not too savvy, but i think you could do this in PHP or in Postfix. My guess is, if you know what the "returndomain" is from using PHP code you could add it to the transport file maybe, and run postmap to update transport file ? I assume you are pulling the "returndomain" from your

Sending with Multiple Domain Suffixes from Single Apache Server Box

2017-10-10 Thread certified
How do I configure postfix to append the correct domain on outgoing emails from php on apache: I have LAMP on Centos 7 and a static IP. There are several domain names registered to that static IP: first.com -> my static ip another.com -> my static ip third.com -> my static ip My postfix MX server

Re: Postfix doesn't respect 250-SIZE value

2017-10-10 Thread Viktor Dukhovni
> On Oct 9, 2017, at 12:53 PM, Matus UHLAR - fantomas wrote: > >> Indeed, only our servers are able to reach this MX. This is the normal >> behavior. > > then it shouldn't be an MX... maybe you mean in-path mail server? There's no such rule, and the OP probably does not

Re: OpenDKIM on backup MX

2017-10-10 Thread Anvar Kuchkartaev
You can use 2 separate keys on servers with different selectors and use 2 DNS records as public keys (for security reasons it will be better). Recipient of email will query dns record to identify if signature of the email is right or not.‎ It will generate dns request based on the signature and

Re: access table enhanced smtp status code optional text

2017-10-10 Thread Wietse Venema
Mp Mptri: > Hi, > > I use access tables with reject codes and optional status codes and going > to add some optional text. My question is regarding this text: > Are there any restrictions to this in length or special characters? Is > there any rfc document on this? The following come to mind,

Re: OpenDKIM on backup MX

2017-10-10 Thread Ralf Hildebrandt
* Davide Marchi : > Hello friends, > On Debian Jessie I would like to enable OpenDKIM on my two Postfix > servers. For signing when sending out mails? > My question is how to behave with the secondary backup server. > Enable it as on the first and then I copy the key from first

OpenDKIM on backup MX

2017-10-10 Thread Davide Marchi
Hello friends, On Debian Jessie I would like to enable OpenDKIM on my two Postfix servers. My question is how to behave with the secondary backup server. Enable it as on the first and then I copy the key from first to secondary? And how I will write DNS txt record that must take the two