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.
Reply
 
Thread Tools Display Modes
  #1  
Old 5th August 2009, 07: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
  #2  
Old 5th August 2009, 18:24
matey matey is offline
Member
 
Join Date: Feb 2009
Posts: 93
Thanks: 13
Thanked 3 Times in 3 Posts
Default

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

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

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

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

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
Reply

Bookmarks

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 05:39
localhost postfix/master: fatal: bind 127.0.0.1 port 125: Permission denied g18c Installation/Configuration 4 24th March 2009 17:39
just the last step...and it works. Postfix...need help config. ubuntusr Installation/Configuration 1 5th January 2009 09:50
Filtering emails using Spamassassin and Clamav for Exchange 2000 Server Rocky Server Operation 19 11th March 2008 08:27
Problems with Postfix Mysql Courier PatrickAdrichem Installation/Configuration 3 13th April 2007 15:44


All times are GMT +2. The time now is 16:38.


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