On Thu, 3 Jul 2003, 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 [EMAIL PROTECTED] 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
>
> 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

        Here's the problem.  .courier-default only takes e-mail addresses.
However, if you create a zero size one, it will do what you want.  I
forget where I read this, but it's out there somewhere.

>
> 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: [EMAIL PROTECTED] and it gets returned as 
> undeliverable 550 user unknown
>
> WHAT AM I MISSING?
>
> :Bob
>

--
Tim Nelson
Systems Administrator
Sunet Internet
Tel:  +61 3 5241 1155
Fax: +61 3 5241 6187
Web: http://www.sunet.com.au/
Email: [EMAIL PROTECTED]




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to