Re: Rewrites message headers from remote SMTP clients

2016-02-06 Thread Viktor Dukhovni
> On Feb 6, 2016, at 12:39 PM, Roman Doe wrote: > > Thanks, to my understanding it is possible using the > local_header_rewrite_clients command. However 2 freelancers told me it is not > possible, this is why I'm a bit confused. The "local_header_rewrite_clients" setting is a match list for *

Re: Rewrites message headers from remote SMTP clients

2016-02-06 Thread Viktor Dukhovni
> On Feb 6, 2016, at 10:28 AM, Roman Doe wrote: > > Please can you confirm if the local-part of the email in the header can't be > modified? Postfix is documented. http://www.postfix.org/postconf.5.html#canonical_maps http://www.postfix.org/postconf.5.html#sender_canonical_maps http://www.pos

Re: Rewrites message headers from remote SMTP clients

2016-02-06 Thread Roman Doe
Please can you confirm if the local-part of the email in the header can't be modified? Thank you so much for your time helping a novice! Cet e-mail a été envoyé depuis un ordinateur protégé par Avast. www.avast.com <#DDB4FAA8-2DD7-40BB-A1B8-4E2AA1F9FDF2> On Thu, F

Re: Rewrites message headers from remote SMTP clients

2016-02-04 Thread Roman Doe
This command only applies on the domain part and not on the local part, right? So I can change john@gmail.com into john@mydomain.com, but not john@gmail.com into us...@mydomain.com ? In this case the recipient would still be able to deduce the sender's personal email address. On Wed, F

Re: Rewrites message headers from remote SMTP clients

2016-02-03 Thread Viktor Dukhovni
On Wed, Feb 03, 2016 at 09:08:17AM +0100, Roman Doe wrote: > If I'm correct that would only apply to emails without header data. No. You've forgotten local_header_rewrite_clients mentioned upthread. http://www.postfix.org/postconf.5.html#local_header_rewrite_clients -- Viktor.

Re: Rewrites message headers from remote SMTP clients

2016-02-03 Thread Roman Doe
If I'm correct that would only apply to emails without header data. In the situation where my user sends a mail from his @gmail.com address, there would be a header, therefore I can't change it and the recipient will be able to see the sender's personal address (@gmail.com) and not his associated @

Re: Rewrites message headers from remote SMTP clients

2016-02-01 Thread Roman Doe
Exactly! Everytime a @gmail.com sends to a @mydomaine.com I need to rewritte @ gmail.com to the associated @mydomaine.com And everytime a @mydomain.com receives a mail it has to be sent to the associated @gmail.com I will try to implement this logic. Thank you so much for your help, expertise and

Re: Rewrites message headers from remote SMTP clients

2016-02-01 Thread Viktor Dukhovni
> On Feb 2, 2016, at 1:10 AM, Roman Doe wrote: > > Using this can I do the following process? > > If 1...@gmail.com = 1...@mydomain.com > and 2...@gmail.com = 2...@mydomain.com > > When 1...@gmail.com sends to 2...@mydomain.com (gmail webmail) > Rewrite: 1...@gmail.com in 1...@mydomain.com >

Re: Rewrites message headers from remote SMTP clients

2016-02-01 Thread Roman Doe
Using this can I do the following process? If 1...@gmail.com = 1...@mydomain.com and 2...@gmail.com = 2...@mydomain.com When 1...@gmail.com sends to 2...@mydomain.com (gmail webmail) Rewrite: 1...@gmail.com in 1...@mydomain.com 2...@gmail.com receives from 1...@mydomain.com (gmail webmail) Thank

Re: Rewrites message headers from remote SMTP clients

2016-02-01 Thread Viktor Dukhovni
> On Feb 2, 2016, at 12:11 AM, Roman Doe wrote: > > Knowing that they can only have their header rewritten if they message > another @mydomain.com address. > > On Tue, Feb 2, 2016 at 6:10 AM, Roman Doe wrote: > In the manner of a remailer, I want that 2 users registered on my website can > s

Re: Rewrites message headers from remote SMTP clients

2016-02-01 Thread Roman Doe
Knowing that they can only have their header rewritten if they message another @mydomain.com address. On Tue, Feb 2, 2016 at 6:10 AM, Roman Doe wrote: > In the manner of a remailer, I want that 2 users registered on my website > can speak with each other using their personal gmail address withou

Re: Rewrites message headers from remote SMTP clients

2016-02-01 Thread Roman Doe
In the manner of a remailer, I want that 2 users registered on my website can speak with each other using their personal gmail address without displaying their @gmail.com , but instead displaying their @mydomain.com address. On Tue, Feb 2, 2016 at 6:02 AM, Benny Pedersen wrote: > On 2016-02-02 0

Re: Rewrites message headers from remote SMTP clients

2016-02-01 Thread Benny Pedersen
On 2016-02-02 04:34, Roman Doe wrote: Is it possible to rewrite message headers from remote SMTP clients? why ?

Rewrites message headers from remote SMTP clients

2016-02-01 Thread Roman Doe
Is it possible to rewrite message headers from remote SMTP clients?