LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-03-2011, 09:09 AM   #1
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
Cannot to an external SMTP e-mail server


Hi,
I have an e-mail box account on an IMAP/SMTP external server. There is no problem with incoming mails - but I am unable to send e-mail using this external SMTP server. K-mail is unable to contact, while Seamonky e-mail client is stuck trying to contact.

It seems for me that all settings for email clients are done well. I am thinking about two possibilities: 1) I have to run a service on my computer 2) my Linksys wireless router is set up to not allow outgoing SMTP connections.

Have you any idea what's going on?
 
Old 08-03-2011, 10:52 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well to troubleshoot it I would look at using telnet to try to hit port 25 on whatever host you are using. What is the outbound SMTP? In those situations your ISP might be insisting that you use their own relay, assuming they have one, so that can be something to check.
 
Old 08-03-2011, 01:21 PM   #3
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717

Original Poster
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
I tried this
Code:
# telnet  mailhost 25
Trying xx.xx.1.33...
telnet: connect to address xx.xx.1.33: Connection timed out
Trying xx.xx.250.2...
telnet: connect to address xx.xx.250.2: Connection timed out
# telnet mailhost 465
Trying xx.xx.250.2...
telnet: connect to address xx.xx.250.2: Connection refused
Trying xx.xx.1.33...
telnet: connect to address xx.xx.1.33: Connection refused
~# telnet mailhost 443
Trying xx.xx.1.33...
Connected to mailhost
Escape character is '^]'.
Connection closed by foreign host.
Why 443? A web mail service (on the same server) works on the 443 port.
 
Old 08-03-2011, 01:24 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
OK, so looks like I might be right... check with your ISP.
 
Old 08-03-2011, 02:54 PM   #5
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717

Original Poster
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
Yes, but what about my home wireless router. Is it possible it has a some kind of a protection which follows
to not allow outgoing SMTP connection? There is a way I can check this?
 
Old 08-03-2011, 02:58 PM   #6
minnarky
LQ Newbie
 
Registered: Nov 2010
Location: MN
Distribution: Fedora and RHEL
Posts: 20

Rep: Reputation: 2
Try changing your outgoing smtp port on your email client to 587.

Many isp's now block port 25 unless it's going to THEIR email server. But your server will probably accept traffic on 587.
 
1 members found this post helpful.
Old 08-03-2011, 03:27 PM   #7
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717

Original Poster
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
There is something on 587 but not SMTP - trying to connect causes 'unrecognized protocol'
 
Old 08-03-2011, 03:50 PM   #8
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717

Original Poster
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
Funny thing is that I sent email using sendmail - but the delivery took about 1 h .
 
Old 08-03-2011, 04:07 PM   #9
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
You could use a tool like lft to see how far your tcp packet goes before being nuked.
 
Old 08-03-2011, 07:24 PM   #10
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717

Original Poster
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
@minnarky
Thanks. Seems that I missed some settings. Now the 587 port is working.
 
  


Reply

Tags
configuration, email, smtp



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Forward root mail to external account requering smtp authentication.... fcintron Linux - Server 5 11-14-2012 09:59 AM
CentOS mail setup - sendmail via external SMTP server taing@jtkdev.com Linux - Networking 1 07-31-2011 05:29 AM
mail.rc For External SMTP pshankland Linux - Software 3 07-02-2010 04:44 AM
Mail MUA with external SMTP server rahmad Linux - Software 5 07-03-2008 07:18 AM
Cron mail sending using outside SMTP mail server Utah Linux - Software 6 08-24-2005 07:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration