Stephen Reese wrote:
how did you get the multiple domains setup on your machine?
here's a quick cut and paste from my notes
Used courier-mta, courier-imap, courier-pop, squirrelmail.
To tell courier about hosted domains,
add domain to,
/etc/courier/hosteddomains
then,as root, run
makehosteddomains
and to tell courier to accept esmtp connections for the domain
add domains to
/etc/courier/esmtpacceptmailfor.dir/domains
then,as root, run
makeacceptmailfor
NB - make sure your editor has not left a backup copy in the same
directory! otheriwse you get
'cannot store record for newdomain.com - duplicate or out of space'
Now to add the individual accounts
as user vmail create new directory
/home/vmail/domains/newdomain
and (still as vmail) run
maildirmake /home/vmail/domains/newdomain.com/info
for in...@newdomain.com.
then as root run
userdb "in...@newdomain.com" set home=/home/vmail
mail=/home/vmail/domains/newdomain.com/info uid=1011 gid=1011
and to set the password...
userdbpw | userdb "in...@newdomain.com" set imappw
NB now run
makeuserdb
to get the users details added to the .dat file
Make sure to add the passwords to the store on the zope server.
Also, the email account postmaster@ HAS to be set up as well.
make sure that courier is using auserdb for authentication - on debian
the auth daemon was included automatically - i installed
courier-webadmin and chose to include userdb as well as PAM for
authentication. PAM deals with local nix accounts, userdb authenticates
against the userdb file,
sorry its a bit messy but i though i'd send what i had,
HTH,
kev
-----Original Message-----
From: cour...@lists.sourceforge.net
[mailto:cour...@lists.sourceforge.net] On Behalf Of kevin
bailey
Sent: Sunday, February 09, 2003 12:18 PM
To: cour...@lists.sourceforge.net
Subject: [courier-users] pop - and virtual domains
hi there,
running on courier-mta, courier-imap, courier-pop on debian
woody/stable...
have set up virtual domains/emails and all is working fine over imap and
to squirrelmail.
have RTFM but no joy with POP clients...
can anybody tell me which pop3 clients they have successfully connected
to the above setup when they are retreiving mail for virtual domains -
i'm specifically looking at mozilla, evolution and OE.
and were there any settings which had to be set to enable this to
happen.
cheers for any links/pointers etc.
kev bailey