Re: Rewriting question

2011-11-19 Thread Claudio Kuenzler
I'd be strongly against the removal of these parameters. In an installation I once had to make I was absolutely dependent on the sender_canonical_maps due to a one-way rewrite: Quote from documentation: Example: you want to rewrite the SENDER address "user@ugly.domain" to "user@pretty.domain", whi

Re: Rewriting question

2011-11-18 Thread Viktor Dukhovni
On Fri, Nov 18, 2011 at 08:30:37AM +0100, Claudio Kuenzler wrote: > Victor, take a look at my e-mail sent 3 days ago in the same thread. I > already mentioned the smtp_generic_maps there (order before canonical). Regardless of past thread history, advice to use wildcard canonical mappings on inte

Re: Rewriting question

2011-11-17 Thread Claudio Kuenzler
Victor, take a look at my e-mail sent 3 days ago in the same thread. I already mentioned the smtp_generic_maps there (order before canonical). Now it depends on what Dilip wants to achieve, we didn't get enough details. smtp_generic_maps won't work, if you still need to receive e-mails for the old

Re: Rewriting question

2011-11-17 Thread Viktor Dukhovni
On Fri, Nov 18, 2011 at 07:56:07AM +0100, Claudio Kuenzler wrote: > Take a look at this: http://www.postfix.org/ADDRESS_REWRITING_README.html > There are a lot of examples and you'll find what you're looking for. Yes, the document is a good place to start. > If you want to change the domain for

Re: Rewriting question

2011-11-17 Thread Claudio Kuenzler
Take a look at this: http://www.postfix.org/ADDRESS_REWRITING_README.html There are a lot of examples and you'll find what you're looking for. If you want to change the domain for incoming and outgoing e-mails you can do this with canonical_maps. If you only want to apply the rules for incoming ma

Re: Rewriting question

2011-11-17 Thread Dilip Mishra // Viva
Sorry for jumping in guys but I seem to face a similar problem where there are domains which gets changed. For eg: some may move from abc.net to abc.org etc. What I need is to replace such domains on my MTA's. How should I perfectly achieve it? Also, how long could be the file? On Tue, Nov 15, 20

Re: Rewriting question

2011-11-15 Thread Noel Jones
On 11/15/2011 3:44 AM, Adrian P. van Bloois wrote: > Hi All, > I'd like to catch ALL mail addressed to someth...@somedomain.blad and > rewrite that to something@certaindomain. > The point is .bla, I don't know what's in front of this. rH > how can I best do that? > > Regards >

Re: Rewriting question

2011-11-15 Thread Claudio Kuenzler
Hi Adrian You can try to do this with smtp_generic_maps or if you only want to rewrite the recipient address you can also use recipient_canonical_maps. There's a lot of possibilities how to do that, depends on what you want to achieve in detail. http://www.postfix.org/postconf.5.html#smtp_generic

Re: Rewriting question

2011-11-15 Thread Stan Hoeppner
On 11/15/2011 3:44 AM, Adrian P. van Bloois wrote: > Hi All, > I'd like to catch ALL mail addressed to someth...@somedomain.blad and > rewrite that to something@certaindomain. > The point is .bla, I don't know what's in front of this. rH > how can I best do that? The first step is to coherently ex

Rewriting question

2011-11-15 Thread Adrian P. van Bloois
Hi All, I'd like to catch ALL mail addressed to someth...@somedomain.blad and rewrite that to something@certaindomain. The point is .bla, I don't know what's in front of this. rH how can I best do that? Regards Adrian -- Adri P. van Bloois Antonlaan 104