5 messages in net.sourceforge.lists.courier-usersRe: [courier-users] FAQ: simple virtu...
FromSent OnAttachments
Robert C. TatarJul 2, 2003 10:00 pm 
Systems AdministratorJul 3, 2003 12:35 am 
Anand BuddhdevJul 3, 2003 12:57 am 
Robert C. TatarJul 5, 2003 5:39 am 
Robert C. TatarJul 5, 2003 5:43 am 
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:Re: [courier-users] FAQ: simple virtual domain config (@dom -> user)Actions...
From:Anand Buddhdev (ar@anand.org)
Date:Jul 3, 2003 12:57:06 am
List:net.sourceforge.lists.courier-users

On Thu, Jul 03, 2003 at 01:00:13AM -0400, Robert C. Tatar wrote:

I've seen this question before and I've read the docs, but I still can't seem to get a virtual domain working.

For the following example, assume I'm use@one.com and I want to create a local account to receive all E-mail for users in domain two.com. (The domain names have been changed for this example.)

0. I've done a clean debian, stable installation with courier-mta, courier-imap, courier-authdaemon, courier-base and courier-pop. I can sendmail locally and send to other machines.

1. I've modified /etc/courier/locals to include the following lines

localhost one.com two.com

This is the error. Remove two.com from locals. When you have two.com in locals, and you send email to some@two.com, courier will look for local user "someone" instead of two-someone. The entry in the aliases file won't work.

2. I've created a local user "two".

3. As user two I've created a maildir (/home/two/Maildir) with maildirmake.

4. I've added the following line to my /etc/courier/aliases/system file:

@two.com: two

5. I've compiled the above file with makealiases.

6. As user two I've created file /home/two/.courier-default with the following single line:

/home/two/Maildir

and made it world readable/executable. (I've also tried several variations of permissions and content ./Maildir -- same failed result.)

7. On the local machine, I send mail to: any@two.com and it gets returned as undeliverable 550 user unknown

WHAT AM I MISSING?

:Bob