LinuxQuestions.org
Support LQ: Use code LQCO20 and save 20% on CrossOver Office
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 11-22-2006, 02:53 AM   #1
asi.linux
LQ Newbie
 
Registered: Mar 2006
Posts: 16
Blog Entries: 1

Rep: Reputation: 0
Smtp +pop


Hello Everybody,

i want to setup qmail in the following scenario.

1 -> I have a domain called example.com and i want to setup a seperate POP server for fetching e-mail.
2 -> Second i have a domain example1.com and i want to use SMTP services on this domain. It's clearify that i have to register two seperate domains, and i have to setup two differenet servers.

But my question is that what configuration i have to do on both servers and secondly what will be the scenario of DNS server . and if i want to use port 465, then what will be scenario??

Another question is that should i have to create accounts on SMTP server or POP server.

Thanks

Regards
Muhammad Asif
 
Old 11-22-2006, 11:23 PM   #2
immortaltechnique
Member
 
Registered: Oct 2006
Location: Kenya
Distribution: Debian Etch, FreeBSD,FC9
Posts: 285

Rep: Reputation: 32
I think you will have to go with setting up two seperate servers for your domains seeing that you want to have both POP and SMTP. As for the DNS server if you want it to perform name resolution then by no means it will have to set one up as follows :
1. Change the MX record for the desired mail domain to route all mail to a particular mail server(s). Without getting into a discussion of DNS or BIND, here's an example of an MX record:

domain.com. IN MX 10 mail.domain.com.
domain.com. IN MX 20 mail2.domain.com.

2. Change the hostname of your mail server based on what you'd like to have appear in the headers of outgoing messages. If you do not specify a hostname or your hostname is not in the form mydomain.tld, you will see localhost.localdomain as the MTA in your mail headers. You will only notice this when you look at detailed headers (or All headers).
3. Modify the file /etc/mail/local-host-names to include domains for which you will accept mail; there should be one domain per line. Also include any subdomains by which this mail server will be referenced in an MX record, e.g. mail.domain.com or mail2.domain.com. As noted in step 1 above, if this server is referenced in an MX record, it's important that this server recognize the hostname by which it is being referenced(via Cw option or local-host-names file). Otherwise problems may arise.
Nolte that the above deal with both the DNS and the Sendmail configurations.
If you have further questions just forward them over.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Proxy for POP and SMTP? depam Linux - Software 3 10-14-2005 10:41 AM
pop before smtp ilnli Linux - Networking 16 09-22-2005 06:53 AM
best smtp/pop software? spatieman Linux - Software 1 12-11-2004 02:23 PM
Pop Smtp mjshel7 Linux - General 1 05-24-2002 06:29 AM
DNS , POP and SMTP futurist Linux - Networking 1 03-27-2002 09:32 PM


All times are GMT -5. The time now is 08:46 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration