Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I can't send mail via my server. The mails get stuck in the mail qeueu.

How can I fix this?

mailq:

74226301703      850 Fri Mar 23 17:35:44  web6@server28.example.com
(connect to alt4.gmail-smtp-in.l.google.com[173.194.77.26]:25: Connection timed out)
                                         ************@gmail.com

7097B301265      850 Fri Mar 23 17:10:50  web6@server28.example.com
(connect to alt4.gmail-smtp-in.l.google.com[173.194.77.27]:25: Connection timed out)
                                         ************@gmail.com

3EDE13016DE      856 Fri Mar 23 17:09:03  web6@server28.example.com
(connect to alt4.gmail-smtp-in.l.google.com[173.194.77.26]:25: Connection timed out)
                                         ************@gmail.com

telnet alt4.gmail-smtp-in.l.google.com 25:

Trying 173.194.77.26...
telnet: Unable to connect to remote host: Connection timed out
share|improve this question

closed as off topic by Wesley, RobM, Lucas Kauffman, devicenull, MDMarra Apr 14 '12 at 21:13

Questions on Server Fault are expected to relate to server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

2  
Is this on a home system? Many residential ISPs block tcp/25 for fear of botnets. –  Kyle Smith Mar 23 '12 at 17:38
    
Yes, is on a home system. Is there a workaround? –  OrangeTux Mar 23 '12 at 17:45

2 Answers 2

You have two options:

  1. Setup you email server to use the ISP SMTP server as relay host. Usually, they should allow you to send over port 25 to their email server only.
  2. Use an external email server running (like gmail). This server can be accessed on port other than 25.
share|improve this answer

A workaround would be to set up a smart host or place your server somewhere else. Also if it's only for use from only one account, you can use something like msmtp, that can send your email through another mail account.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.