10 messages in net.sourceforge.lists.courier-users[courier-users] Re: Forwarding all em...
FromSent OnAttachments
Ryan MacDonaldJul 28, 2003 1:43 pm.gif
James A BakerJul 28, 2003 3:09 pm 
Sam VarshavchikJul 28, 2003 3:35 pm 
Ryan MacDonaldJul 28, 2003 4:03 pm 
Ryan MacDonaldJul 28, 2003 5:02 pm 
Sam VarshavchikJul 28, 2003 5:53 pm 
Ryan MacDonaldJul 28, 2003 9:27 pm 
Jeff JansenJul 29, 2003 2:28 am 
Ryan MacDonaldJul 29, 2003 10:47 am 
Michael JürgensJul 29, 2003 5:36 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] Re: Forwarding all emails from one domain to anotherActions...
From:Jeff Jansen (ivb_@sil.org)
Date:Jul 29, 2003 2:28:40 am
List:net.sourceforge.lists.courier-users

On Tuesday 29 July 2003 02:02, Ryan MacDonald wrote:

I've tried adding the following to /etc/courier/hosteddomains:

domain1.com domain1.org <TAB> domain1.com domain1.net <TAB> domain1.com

But it does not seem to be rewriting as the man page suggets.

Hmmm, I've got exactly that same setup and it works perfectly. All mail to domain1.net and domain1.org is delivered to the same username at domain1.com.

So your hosteddomains file has those three lines listed above (domain1.com listed first and then the aliases below it - nothing but a TAB between the alias and the domain) and then you ran "makehosteddomains". And your esmtpacceptmailfor file has the three domains listed in it (one per line) and you ran "makeacceptmailfor"?

Then mail to "us@domain1.com" is delivered correctly but mail to "us@domain1.org" gets a "user unknown" error?