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 [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
This is the error. Remove two.com from locals. When you have two.com in locals, and you send email to [EMAIL PROTECTED], 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: [EMAIL PROTECTED] and it gets > returned as undeliverable 550 user unknown > > WHAT AM I MISSING? > > :Bob -- Anand Buddhdev http://anand.org ------------------------------------------------------- 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