LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices

Reply
 
Search this Thread
Old 06-22-2006, 10:18 AM   #1
Phorem
Member
 
Registered: Nov 2003
Location: Toronto, Canada
Distribution: Gentoo AMD64
Posts: 374

Rep: Reputation: 30
Lightbulb MX Records, Postfix, Courier


Hi, i have looked for a while now for an explanation as to how my network would work if i pointed my MX records to our internal mail server.

More precisely, what happens when i point the mx records to my static IP? Does Postfix grab the email and deliver it to the right account or does it get caught by Courier or Dovecout. It seems the more read about this stuff, the more confused i get. So far, i have setup a Postfix server that i can send out emails - accept for hotmail (it drops me at the smtp greeting), but i was wondering how i might "Accept" incoming mail if my mx records point to my mail server.

Any help would be great. A quick explanation is all i need.

Phorem.
 
Old 06-22-2006, 05:17 PM   #2
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Well, postfix is a mail tranfser agent (MTA), whereas Dovecot and I guess you mean Courier-IMAP are POP/IMAP servers.

Basically, Postfix worries about listening for new mail (typically on port 25), and then delivers it to a user's mailbox/maildir, a delivery agent (like maildrop), relays it to another mail server on the network for delivery or delivers it to another server on the net (for external delivery).

Dovecot on the other hand sits between a mail application like Evolution, Outllok, etc. and manages classification of mail into new/read, subfolders, deleting mail, downloading (in the case of pop), etc.

The answer to your question depends a lot on how your network and mail applications are set up. For example I have a Postfix server, and use either Outlook or Evolution depending on the OS, but in both of these I explicitly set the name of the mail server, so the MX concept is irrelevant here. In my name servers however, the MX record points to a static IP that allows external mail servers to find the address where Postfix is diligently listening for incoming mail.

If you have port 25 open on your firewall, your main.cf has inet_interfaces set correctly, and your name server MX records point to the correct address, you should be able to receive from anyone.

Don't know about the hotmail question, it seems OK here.

Hope that helps a bit
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Quotas with Postfix and courier-imap deeztech Linux - Enterprise 1 05-02-2006 09:51 PM
postfix/courier strange after update to 10 shadowsa Suse/Novell 1 12-05-2005 12:35 AM
please help with Postfix+courier+forward+bcc? shadowsa Suse/Novell 2 08-15-2005 10:20 PM
postfix + courier-imap + mysql tej Linux - Networking 3 09-01-2004 02:43 AM
mx records, postfix JM_Fraser Linux - Networking 19 12-06-2003 11:02 AM


All times are GMT -5. The time now is 12:36 PM.

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 Google+: linuxquestions
Open Source Consulting | Domain Registration