on Mon, Dec 04, 2000 at 11:48:50PM +0100, Tom Frey wrote:
> I want to setup my mailserver to handle mutliple domains.
> But the problem is the pop server...
Nope. That's not the problem. :)
> Let's assume i have 2 domains hosted and every domain has a user
> called postmaster... what to do?
You can't create two users having the same name on any UNIX system
I've ever worked on [1]- how did you do it on yours? And as the POP
server will look for $SPOOLDIR/$USERNAME, that also runs afoul of the
simple laws of virtual physics. You *can* have multiple POP accounts
that receive mail for the postmaster email address for any given
domain, though. But as far as POP is concerned, it's just going to
look for a user account, not a user@domain account. So name your users
something different for each POP account, and configure your mail
server to deliver mail addresses to a given email address or addresses
to an appropriate POP account (e.g., mail spool file owned by a
particular local user).
> Is there any way to define them for different domains?
You don't mention what SMTP server you're running, so it's difficult
to say exactly how this should be done in your case, but I'm running
sendmail and have had pretty good luck using the virtusertable.
http://www.sendmail.org/virtual-hosting.html
Hint: user with the address '[EMAIL PROTECTED]' might be named
'pmacct1' and user with the address '[EMAIL PROTECTED]' might be
named 'pmacct2'. But of course, it's completely arbitrary at that
point - you can name the users however you like, within whatever
constraints are set by your particular OS.
Oh, and this is a FAQ:
"Does Qpopper support virtual domains?"
http://www.eudora.com/qpopper/faq.html#virt.dom
HTH,
Steve
[1] well, you *can*, but with unpredictable results ;)
--
tired of being an underappreciated functionary in a soulless machine?
hesketh.com is hiring: http://www.hesketh.com/careers/