Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 5th August 2009, 08:17
treeman treeman is offline
Junior Member
Join Date: May 2009
Posts: 29
Thanks: 0
Thanked 1 Time in 1 Post
Default Can somebody help set up mail server on Centos 5 + postfix + dovecot

Hi, I am practicing on setting up a mail server at home before i go get a business plan and set up a real thing. So far this is what I have done:

1. Register a domain
2. Make a fresh install of centos 5, dovecot, postfix, squirrellmail.
3. This is what I have done on my domain host:
* * Domain Record A <wanip> -> <nat> -> <centosbox> (I can telnet on port 110 through my domain and get dovecot welcome message so i assume this is functioning ok)
* * Set my domain name as a MX record, using host command it resolves to my wan ip, and using dig <domainname> MX seems to look ok too
4. Made sure there is no email forwarding etc
5. Using my isp smtp for outgoing mail since port 25 is blocked in and out, but 110 is open.

I can send mail on my internal network and receive it. I can send mail out to outside, but I can't receive from outside. There is no immediate bounce back but after a while I get email delayed.

I am not too experienced with mailservers so I am not sure what I am doing wrong, I thought since the mx record is sersolving to my wan which in turn redirects to internal ip and port of pop3 it should work

Any help or tips suggestions or observations on the topic would be much appreciated as the last few days I have been scanning forums and trying to absorb as much on the topic as possible. Cheers
Reply With Quote
Sponsored Links
Old 5th August 2009, 19:24
matey matey is offline
Join Date: Feb 2009
Posts: 93
Thanks: 13
Thanked 3 Times in 3 Posts

sorry for replying but I was just wondering if port 25 is blocked can you use localhost ( )as the receiving end?

Last edited by matey; 5th August 2009 at 19:28.
Reply With Quote
Old 6th August 2009, 19:19
dzudzu dzudzu is offline
Join Date: Jun 2009
Location: Serbia
Posts: 64
Thanks: 1
Thanked 6 Times in 6 Posts

your postfix might not be set as appropriate reciver. How about posting logs for /var/log/maillog and in same time post postconf
EonTek.rs - System Engineering

Reply With Quote
Old 7th August 2009, 08:14
treeman treeman is offline
Junior Member
Join Date: May 2009
Posts: 29
Thanks: 0
Thanked 1 Time in 1 Post

Ok I had some help and it looks like the problem is my isp blocking port 25 in and out, port 110 is not for receiving mail just for checking the inbox.
So thats that no more testing on this isp. But would it work if i put in my isp mailserver for mx record on my domain? So emails sent to user@domain.com would go to user@isp.com ? I am trying to get as much testing and learning done as possible on my limited residential isp plan. I don't want to buy a business plan just for testing at this stage.
Reply With Quote


Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix not responding to telnet CarbonCopy Server Operation 6 8th May 2009 06:39
localhost postfix/master: fatal: bind port 125: Permission denied g18c Installation/Configuration 4 24th March 2009 18:39
just the last step...and it works. Postfix...need help config. ubuntusr Installation/Configuration 1 5th January 2009 10:50
Filtering emails using Spamassassin and Clamav for Exchange 2000 Server Rocky Server Operation 19 11th March 2008 09:27
Problems with Postfix Mysql Courier PatrickAdrichem Installation/Configuration 3 13th April 2007 16:44

All times are GMT +2. The time now is 07:44.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.