Anders Widman wrote:
>>> am stuck at creating user accounts and virtual domains. I have got
>>> the webadmin CFI working, and added the virtual domains to "Locally
>>> hosted domains".
>>Check whether these domains appear in /etc/courier/locals . If they do,
>>you need system accounts for the users of those domains. Virtual domains
>>whose users do not have system accounts should only appear in hosteddomains
>>and esmtpacceptmailfor.
> Courier installed per default in /usr/lib/courier for me.. and the
> ./etc/hosteddomains and ./etc/esmtpacceptmailfor folders contain one
> file each with only the hosted domains listed in it.
That doesn't answer the question whether your virtual domains are in
/etc/courier/locals .
> But what exactly should I do with the users? Should they have normal
> system (unix/linux) accounts or not? In both cases, how do I create a
> user for a specific domain?
I don't think you want system accounts. If you have that, then the user
name will take precedence over the domain name and all mail to anders@dom1,
anders@dom2, anders@dom3 will be delivered to the system user anders, no
matter what you do. If you want the domains to be really virtual, get
them out of locals, keep them in hosteddomains and esmtpacceptmailfor,
run makehosteddomains, put them in aliases, run makealiases and make
sure you have the proper .courier files in the proper places.
Alternatively you might opt for the userdb way of doing things; man userdb.
I had this very same problem less than a week ago. Check the list archive
and you'll find the solution.
Lycka till.
Z
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users