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