nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

Postfix allow incomming email on Fedora Core 4

This is a discussion on Postfix allow incomming email on Fedora Core 4 within the Linux software forums, part of the Linux Getting Started category; Hello, I have a linux box running Fedora Core 4 as a web/email server (webserver works great). I am having ...


Go Back   nixCraft Linux Forum > Linux Getting Started > Linux software

Register FAQ Members List Calendar Forgotten your password? Mark Forums Read
  #1 (permalink)  
Old 07-19-2006, 10:23 AM
Junior Member
 
Join Date: Jul 2006
Posts: 3
Rep Power: 0
matt8534
Default Postfix allow incomming email on Fedora Core 4

Hello,

I have a linux box running Fedora Core 4 as a web/email server (webserver works great). I am having problems configuring the email server. I am using postfix, dovecot, and squirrelmail. I am able to send messages from both outlook and squirrelmail to any email address as my ISP is filtering port 25 and I have configured postfix to just use my ISP's outgoing mail server.

My problem is my mail server isn't recieving mail from outside domains (I can send and recieve mail with addresses @mydomain.com). I have tried to connect to the mail server with outlook express and It won't connect, unless I point the incomming mail server to the private IP address of the server. Below is the error message that I get.

"The server responded with an error. Account: 'email.mydomain.com', Server: 'xxx.xxx.xxx.xxx', Protocol: POP3, Server Response: '-ERR Cannot connect to POP server xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx:110), connect error 10060', Port: 110, Secure(SSL): No, Server Error: 0x800CCC90, Error Number: 0x800CCC90"

My router is forwareding ports 25 and 110 to my server, no other firewall exists on my network.

Sounds to me that my postfix config file needs some tweaking. Any help will be greatly appreciated.

Thanks in advance!!!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-19-2006, 11:41 PM
monk's Avatar
Senior Member
User
 
Join Date: Jan 2005
Location: Tibet
My distro: Debian GNU/Linux
Posts: 482
Rep Power: 5
monk will become famous soon enough monk will become famous soon enough
Default

Hmm..

Are you sure your port forwarding is working fine?

Here is how you can verify that server port 25 and 110 are open. Login to server and type the command:
Code:
netstat -tulpn | grep :25
netstat -tulpn | grep :110
If output is as follows then server port are open (or paste your output here):
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 6342/master
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN 6342/master

Next make sure firewall rules are correct or fw does not exists:
Code:
iptables -L -n
If both of above results are positive it means your port forwarding is not working. Let me know... else will see your postfix/pop config issue.
Reply With Quote
  #3 (permalink)  
Old 07-20-2006, 06:08 AM
Junior Member
 
Join Date: Jul 2006
Posts: 3
Rep Power: 0
matt8534
Default

Thanks for your reply. Below are the commands you have asked for. Looks like everything is ok. From work today I was able to telnet and get a response on port 110 from the Dovecot server. So I believe that the forwarding is working.

Do you need me to post my postfix config file?

Code:
[root@clark ~]# netstat -tulpn | grep :25
tcp        0      0 0.0.0.0:25                  0.0.0.0:*                   LISTEN      15775/master  
      
[root@clark ~]# netstat -tulpn | grep :110
tcp        0      0 :::110                      :::*                        LISTEN      15808/dovecot

[root@clark ~]# iptables -L -n
Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         

Chain INPUT (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
Reply With Quote
  #4 (permalink)  
Old 07-20-2006, 07:32 PM
rockdalinux's Avatar
Contributors
User
 
Join Date: May 2005
Location: Bangalore
My distro: RHEL, HP-UX, Solaris, FreeBSD, Ubuntu
Posts: 581
Rep Power: 7
rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough
Default

This problem occurs because the POP3 service and/or IMAP4 service are turned off or not accessible from desktop system.

Do you need me to post my postfix config file?

No. This is incoming mail problem i.e. dovecot server and not Postfix. So you may need to post dovecot config file:

Can you telnet from windows xp server port 110 ? Click on Windows XP Start > Run >
Code:
telnet mail.linux.server 110
__________________
Rocky Jr.
You may have my body & soul, but you will never touch my pride!

If you have knowledge, let others light their candles at it.

Certified to work on HP-UX / Sun Solaris / RedHat
Reply With Quote
  #5 (permalink)  
Old 07-21-2006, 06:30 AM
Junior Member
 
Join Date: Jul 2006
Posts: 3
Rep Power: 0
matt8534
Default

Yes I can telnet on port 110 to my server.

The following link is to my dovecot conf file. I made very few changes (if any to this file) Thanks for your help!

http://www.mattclark.biz/dovecot/dovecotconf.txt
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Problem with firefox in Fedora Core 6 talpa_sai Getting started tutorials 1 06-08-2007 04:29 PM
LAN Card in fedora Core 6 SwiftSoft Linux software 0 04-07-2007 05:03 AM
dovecot problem using fedora core 5 and sendmail longnshortofit Linux software 11 07-15-2006 09:40 AM
Upgrading Red Hat Enterprise Linux to Fedora Core...? jerry Linux software 1 04-06-2006 04:54 PM
CVS 2.11.21 for Fedora Core 2 rajuk Linux software 1 10-24-2005 04:25 PM


All times are GMT +5.5. The time now is 02:51 AM.


Powered by vBulletin® Version 3.7.4 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36