Re: Rewrite destination domain

2009-09-19 Thread 牛粥
Jos Chrispijn writes: > LuKreme wrote: >> Every time I peruse the logs, find his typo, and sent him log >> lines. This works for a few days, or weeks, maybe. Then the cycle >> repeats. He's old, and essentially untrainable. > > You can only lead a horse to the water... Totally i agree to this co

Re: Rewrite destination domain

2009-09-19 Thread Jos Chrispijn
LuKreme wrote: Every time I peruse the logs, find his typo, and sent him log lines. This works for a few days, or weeks, maybe. Then the cycle repeats. He's old, and essentially untrainable. You can only lead a horse to the water... Jos Chrispijn

Re: Rewrite destination domain

2009-09-16 Thread Victor Duchovni
On Wed, Sep 16, 2009 at 10:13:19PM -0400, Sahil Tandon wrote: > On Wed, 16 Sep 2009, Victor Duchovni wrote: > > > On Wed, Sep 16, 2009 at 07:14:35PM -0400, Sahil Tandon wrote: > > > > > # main.cf > > > recipient_canonical_maps = cdb:/usr/local/etc/postfix/canonical > > > > > > # /usr/local/e

Re: Rewrite destination domain

2009-09-16 Thread Sahil Tandon
On Wed, 16 Sep 2009, Victor Duchovni wrote: > On Wed, Sep 16, 2009 at 07:14:35PM -0400, Sahil Tandon wrote: > > > # main.cf > > recipient_canonical_maps = cdb:/usr/local/etc/postfix/canonical > > > > # /usr/local/etc/postfix/canonical > > @exmaple.org @example.org > > I strongly discourage

Re: Rewrite destination domain

2009-09-16 Thread Victor Duchovni
On Wed, Sep 16, 2009 at 07:14:35PM -0400, Sahil Tandon wrote: > # main.cf > recipient_canonical_maps = cdb:/usr/local/etc/postfix/canonical > > # /usr/local/etc/postfix/canonical > @exmaple.org @example.org I strongly discourage "recipient_canonical_maps". Use canonical_maps instead. Unlike

Re: Rewrite destination domain

2009-09-16 Thread Sahil Tandon
On Wed, 16 Sep 2009, LuKreme wrote: > On 16-Sep-2009, at 14:32, Noel Jones wrote: > > >@yaho.com @yahoo.com > > I can just put that in my normal virtue? That's very cool. Yes. > All seems to work, huzzah! Indeed, but note that virtual alias mapping affects only the envelope recipient address

Re: Rewrite destination domain

2009-09-16 Thread LuKreme
On 16-Sep-2009, at 14:32, Noel Jones wrote: @yaho.com @yahoo.com I can just put that in my normal virtue? That's very cool. I figured I would need to create a separate virtual file that is called under smtpd_recipient_restrictions or something. All seems to work, huzzah! -- Can I tell y

Re: Rewrite destination domain

2009-09-16 Thread Noel Jones
On 9/16/2009 3:10 PM, LuKreme wrote: you can add a virtual_alias_maps entry to rewrite it. This works for any domain. u...@yaho.com u...@yahoo.com But in that case I'd have to specify every possible user? What I need to do is be able to, for example, rewrite (.*)@yaho\.com to $...@yahoo.com

Re: Rewrite destination domain

2009-09-16 Thread LuKreme
On 16-Sep-2009, at 12:41, Evan Platt wrote: Not a 'postfix' answer, but what mail client does he use? Is it one (or two or 3) e-mail addresses? No, it's a large number of email addresses and a constantly changing list. On 16-Sep-2009, at 13:01, Noel Jones wrote: you can add a virtual_alia

Re: Rewrite destination domain

2009-09-16 Thread Noel Jones
On 9/16/2009 1:34 PM, LuKreme wrote: I have a user who is constantly mistyping a specific domain that he sends mail to on a regular basis. This has been going on for a couple of years, and every time he complains to be about messages not being delivered, or 'being eaten' or something. He is convi

Re: Rewrite destination domain

2009-09-16 Thread Evan Platt
Not a 'postfix' answer, but what mail client does he use? Is it one (or two or 3) e-mail addresses? Maybe make a addres book entry for the mistyped address to go to the real address? At 11:34 AM 9/16/2009, you wrote: I have a user who is constantly mistyping a specific domain that he sends m

Rewrite destination domain

2009-09-16 Thread LuKreme
I have a user who is constantly mistyping a specific domain that he sends mail to on a regular basis. This has been going on for a couple of years, and every time he complains to be about messages not being delivered, or 'being eaten' or something. He is convinced, every time, that my serve