On Tue, 20 Jan 2004, Patrick O'Neal wrote:

> All,
> 
> I am setting up a new qpopper server, and I am a complete newbie to
> setting up mail in the unix/linux world. I have configured an exchange
> box on ms, but that is easy as you just click through the wizards.
> Anyway, how does it work? How does Qpopper know that it is supposed to
> server the mail for a particular domain, or is this accomplished by an
> mx record?

Qpopper doesn't natively support multiple domains. It knows of 
username-based mailboxes. There are patches to support multiple domains 
though. Otherwise, you'll have to point your domain users to 
local username mailboxes of a similar name in your SMTP server.
e.g. aliases such as
EMAIL ADDRESS            LOCAL MAILBOX
[EMAIL PROTECTED]   ->   user1
[EMAIL PROTECTED]   ->   user2
the problem comes when you have another domain with a user of the same 
name, e.g. [EMAIL PROTECTED] and [EMAIL PROTECTED], you can't point them 
both to user1. You might think about pointing to local users called 
user1+domain1 and user1+domain2 or something similar
See your SMTP server's docs for instruction on this.
As you see, it can get a little hairy.
I'd recommend trying a patch to support the multiple domains first, and if 
that confuses the hell out of you too much, do the above instead.
I have a patch to do this with a MySQL db of users/email address, you can 
find it at: 
http://www.asteroid-b612.org/software#qpopper
I'm sure there are a couple others out there.

> also, since I am going to allow clients to connect to my
> server and they will need to send email as well, does qpopper send mail
> another words, if they set there smtp server to the same as the pop
> server will they be able to send mail, or am I just crazy. I know this

Technically, yes, it CAN, but normally, DON'T.
Use your SMTP server, that's what it's there for.
If your SMTP and POP3 server will sit on the same machine (usually), 
your users will point their outgoing mail server to smtp.yourdomain.com 
and their incoming to pop3.yourdomain.com (or theirdomain.com, if they 
have) and you'll point those hostname to the same IP on the machine. (You 
don't have to use the hostnames 'smtp' and pop3', you can use the names 
'in' and 'out', or whatever you prefer for your users.)

--Tony

.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-.
Anthony J. Biacco                            Network Administrator/Engineer
[EMAIL PROTECTED]              http://www.asteroid-b612.org

       "You find magic from your god, and I find magic everywhere" 
.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-.


Reply via email to