8 messages in net.sourceforge.lists.courier-users[courier-users] Re: Aliases
FromSent OnAttachments
and...@imxdv2.jpsystems.comApr 20, 2001 8:47 am 
Stefan Hornburg (Racke)Apr 20, 2001 10:10 am 
No SpamApr 20, 2001 7:05 pm 
No SpamApr 22, 2001 2:42 pm 
Sam VarshavchikApr 22, 2001 5:14 pm 
No SpamApr 22, 2001 6:00 pm 
Sam VarshavchikApr 22, 2001 6:15 pm 
Patrick PriceApr 22, 2001 6:39 pm 
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:[courier-users] Re: AliasesActions...
From:Patrick Price (sysa@moment.net)
Date:Apr 22, 2001 6:39:01 pm
List:net.sourceforge.lists.courier-users

At 06:00 PM 4/22/01 -0700, you wrote:

Not to make this difficult, there is more than one way in Qmail to do this. It can't be that hard and I can't believe there is no documentation on this. I don't care if I use the qmail way or not. I just need to have multiple users get their mail off the machine and not have shell accounts for any of them.

If I use the hosteddomains/acceptmailfor method I get MX record is wrong. If I add a user to alias as @domain.org: adminuser I get no user exists. I have a directory with the users Maildir so I doubt that is the problem.

The only hitch I can think of is that my machine name is the same as the virtual host name. I.e. centaur.laschools.org is the machine name and I want all mail to laschools.org to be virtual.

If you use @domain.org alias, it must point to a user on the system (passwd/shadow/userdb) and that user must have a maildir and the users home directory must have a .courier-default file for anyu@domain.org or a .courier-username file for each username you want to sent to. The .courier files contain the path to the maildir, eg: ./Maildir/

MX record is wrong? Are you using an IP address for the DNS MX record? Can't do that...

You should put laschools.org in the locals file. Make sure it's also in ~courier/etc/esmtpacceptmailfor.dir/default (or any filename in that directory) and run makeacceptmailfor.

Since that's your actual primary domain name, it's not really "virtual" I wouldn't think.

You don't have to have shell accounts for users, but you will need some authentication mechanism like userdb (the simplest that comes with Courier) - it is basically similar in function to the /etc/passwd file - you create user accounts with passwords and where their home email directory is, then you have to create the Maildirs in the filesystem home directories, and there you go. People pop in, authenticate against userdb, and get their mail from the ~home/Maildir specified in userdb.

-Patrick