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:Robert C. Tatar (rta@nycap.rr.com)
Date:Jul 5, 2003 5:43:03 am
List:net.sourceforge.lists.courier-users

Thank you for your help.

Unfortunately the documentation in the version of courier that I use contradict your instructions. I found a solution: eliminate "/etc/courier/me" or copy it's contents to locals.

I appreciate your encouragment.

:Bob

----- Original Message ----- From: "Anand Buddhdev" <ar@anand.org> To: "Robert C. Tatar" <rta@nycap.rr.com> Cc: <cour@lists.sourceforge.net> Sent: Thursday, July 03, 2003 3:56 AM Subject: Re: [courier-users] FAQ: simple virtual domain config (@dom -> user)

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