Re: Processing order of canonical maps

2016-09-16 Thread Todd C. Olson
ion seems a bit ambiguous on this topic. After reading >>> canonical(5) and the canonical_maps section of postconf(5), I think it's >>> not clear which of the processing orders, mentioned in the first email, >>> it actually uses. Would you like me to write a patch for this? >>

Re: Processing order of canonical maps

2016-09-16 Thread Ondřej Lysoněk
e first email, it actually uses. Would you like me to write a patch for this? Ondra On 09/15/2016 03:46 PM, Wietse Venema wrote: Ond?ej Lyson?k: Hi, I need some help configuring canonical maps. Suppose you have two lookup tables listed in canonical_maps and each of these tables uses all three pa

Re: Processing order of canonical maps

2016-09-16 Thread Wietse Venema
(5) and the canonical_maps section of postconf(5), I think it's > not clear which of the processing orders, mentioned in the first email, > it actually uses. Would you like me to write a patch for this? > > Ondra > > > On 09/15/2016 03:46 PM, Wietse Venema wrote: > >

Re: Processing order of canonical maps

2016-09-16 Thread Ondřej Lysoněk
for this? Ondra On 09/15/2016 03:46 PM, Wietse Venema wrote: Ond?ej Lyson?k: Hi, I need some help configuring canonical maps. Suppose you have two lookup tables listed in canonical_maps and each of these tables uses all three pattern types (user@domain, user, @domain). Now from what I see Postfix looks

Re: Processing order of canonical maps

2016-09-15 Thread Wietse Venema
Ond?ej Lyson?k: > Hi, > > I need some help configuring canonical maps. > > Suppose you have two lookup tables listed in canonical_maps and each of > these tables uses all three pattern types (user@domain, user, @domain). > Now from what I see Postfix looks for a match whe

Processing order of canonical maps

2016-09-15 Thread Ondřej Lysoněk
Hi, I need some help configuring canonical maps. Suppose you have two lookup tables listed in canonical_maps and each of these tables uses all three pattern types (user@domain, user, @domain). Now from what I see Postfix looks for a match when rewriting addresses in the following order

Re: rewriting from and reply-to headers: milter vs canonical maps/header checks

2014-08-21 Thread Wietse Venema
Venkat: What I am trying to do is: Setup a SMTP relay for outgoing mail where: (a) All From: headers of the form u...@cooldomain1.com (example) are rewritten to be no-re...@cooldomain2.com (b) A Reply-To: header with the original u...@cooldomain1.com is added I have achieved this by

Re: rewriting from and reply-to headers: milter vs canonical maps/header checks

2014-08-21 Thread Venkat
Thank you very much for the detailed explanation Wietse, it makes more sense to me now re: the order of operations. Cheers, VM On Aug 21, 2014 5:31 AM, Wietse Venema wie...@porcupine.org wrote: Venkat: What I am trying to do is: Setup a SMTP relay for outgoing mail where: (a) All From:

rewriting from and reply-to headers: milter vs canonical maps/header checks

2014-08-20 Thread Venkat
Hi all, Apologies in advance if this is a redundant query. I did some searching on the previous list posts and wasn't able to find a definitive recommendation on this. What I am trying to do is: Setup a SMTP relay for outgoing mail where: (a) All From: headers of the form u...@cooldomain1.com

Need help with canonical maps

2014-08-17 Thread Michael Fox
I'm having difficulty getting the canonical_maps function to work as needed to repair some incorrect addresses from a legacy client. Here's the situation and what I've tried so far: Legacy client (oldhost.legacy.org) does not append its domain (legacy.org) to addresses in the envelope or the

Re: Need help with canonical maps

2014-08-17 Thread Wietse Venema
Michael Fox: If I set local_header_rewrite_clients = static:all or permit_mynetworks or some other option that would cause a match of the legacy client, then the append_dot_domain option takes over and appends the domain of the postfix host, rewriting the address as u...@oldhost.standard.org.

RE: Need help with canonical maps

2014-08-17 Thread Michael Fox
Thanks much, Wietse. A couple of follow-ups: As documented in ADDRESS_REWRITING_README, canonical mapping happens after append_dot_mydomain. O.K. I read that document but did not see that statement. I just went back and read it again and I still don't see that. Perhaps the order of

Re: Need help with canonical maps

2014-08-17 Thread Wietse Venema
Michael Fox: Thanks much, Wietse. A couple of follow-ups: As documented in ADDRESS_REWRITING_README, canonical mapping happens after append_dot_mydomain. O.K. I read that document but did not see that statement. I just went back and read it again and I still don't see that.

RE: Need help with canonical maps

2014-08-17 Thread Michael Fox
Thanks again Wietse. Hmm. ADDRESS_REWRITING_README describes the address manipulations in the order as executed. Presenting these descriptions in a different order would be misleading. Yes. And it's very well written. But assuming or inferring information that is not in a technical document

Re: canonical maps

2014-01-09 Thread Charles Marcus
On 2014-01-08 3:18 PM, R. Berger dove...@w4r.nl wrote: In sendmail, when I use @domain.nl %1...@otherdomain.nl domain.nl wil automatically have 29 users also. If there is a mail send to n...@domain.nl and n...@otherdomain.nl does not exist, it will be rejected. In postfixadmin this will be

canonical maps

2014-01-08 Thread R. Berger
hi, I have the following problem coming from sendmail: This is how it is set up in virtusertable: @domain.nl %1...@otherdomain.nl us...@domain.nl localuser1 us...@domain.nl localuser2 us...@domain.nl localuser3 I am using postfixadmin and the local users are working. But how do I

Re: canonical maps

2014-01-08 Thread Wietse Venema
R. Berger: hi, I have the following problem coming from sendmail: This is how it is set up in virtusertable: @domain.nl %1...@otherdomain.nl us...@domain.nl localuser1 us...@domain.nl localuser2 us...@domain.nl localuser3 If you can explain what the above means for Sendmail,

Re: canonical maps

2014-01-08 Thread R. Berger
Wietse Venema schreef op 8-1-2014 20:20: R. Berger: hi, I have the following problem coming from sendmail: This is how it is set up in virtusertable: @domain.nl %1...@otherdomain.nl us...@domain.nl localuser1 us...@domain.nl localuser2 us...@domain.nl localuser3 If you can

Re: canonical maps

2014-01-08 Thread Wietse Venema
R. Berger: It's not exactly a catchall. @domain.nl%1...@otherdomain.nl means that somen...@domain.nl is send to somen...@otherdomain.nl I wrote that you will accept mail for non-existent recipients in otherdomain.nl. That is bad. Your system will be sending backscatter mail to

Re: canonical maps

2014-01-08 Thread R. Berger
Wietse Venema schreef op 8-1-2014 20:47: R. Berger: It's not exactly a catchall. @domain.nl%1...@otherdomain.nl means that somen...@domain.nl is send to somen...@otherdomain.nl I wrote that you will accept mail for non-existent recipients in otherdomain.nl. That is bad. Your system

Re: canonical maps

2014-01-08 Thread Wietse Venema
R. Berger: R. Berger: It's not exactly a catchall. @domain.nl%1...@otherdomain.nl means that somen...@domain.nl is send to somen...@otherdomain.nl I wrote that you will accept mail for non-existent recipients in otherdomain.nl. That is bad. Your system will be sending

Re: canonical maps

2014-01-08 Thread R. Berger
Wietse Venema schreef op 8-1-2014 21:46: R. Berger: R. Berger: It's not exactly a catchall. @domain.nl%1...@otherdomain.nl means that somen...@domain.nl is send to somen...@otherdomain.nl I wrote that you will accept mail for non-existent recipients in otherdomain.nl. That is bad.