SMTP not working

Line Yoble

Verified User
Joined
Feb 4, 2009
Messages
38
Hello,

On my first truly installed domain on my dedicated server with DA, I'm not able to send emails via my Outlook 2003 client.

Here are the facts :

- I can't telnet to mail.mydomain port 25 (connection refused) from ouside my server
- I can telnet the same subdomain / port inside my server (via SSH)
- iptables --list has the following same line for chain INPUT and chain OUTPUT
ACCEPT tcp -- anywhere anywhere tcp dpt:smtp
- I can send messages from the mailbox I want to use with RoundCube
- I can POP incoming messages with Outlook
- All Outlook mailbox smtp parameters are checked again and again (I have tested without anay identification, with poping the inbox before and with the same identification as for pop).
- The result of a nmap command launched from another server is
PORT STATE SERVICE
20/tcp closed ftp-data
21/tcp open ftp
25/tcp open smtp <- SMTP port seems to be open for outside connections
53/tcp open domain
80/tcp open http
110/tcp open pop3
143/tcp open imap
443/tcp open https
995/tcp open pop3s
8443/tcp closed https-alt

Any idea ? Is my iptables configuration wrong ? Or is there any other problem I don't understand ?

Thanks.

Line.
 
Last edited:
Have you considered that your isp may be blocking port 25 to other servers but their own? Have you search the forum for the answer?
 
Yes, I have !
But I also have several mailboxes on other servers which works fine with the port 25. So it doesn't comme from my ISP.
But you question give me the idea that the hosting company of my dedicated server may block the port 25 from outside their network.
I'll immediately ask them !

Thanks !
 
If your isp were blocking port 25 then you would never get any mail for your domains.

If you cannot send mail you should be getting some kind of error, otherwise how would you know the mail did not go through. Post that error. Also post any associated errors in the mail log on the server.
 
And tell us the domain you're trying.

Jeff

I had not even thought of that. If he is using mail.example.com for his mail server then if mail.example.com does not resolve to his mail server then he may not even be trying to connect to his server.
 
Sorry for the delayed answer. I suddenly had a far more important problem to solve. :(
Now it is fixed, my email problem is fixed, too : I have just changed the SMTP port and opened it with iptables. And all works fine.

Thanks.
 
Back
Top