LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 10:09 AM   #1
igadoter
Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: slack 12.2, debian-Trinity , openbsd
Posts: 729

Rep: Reputation: 56
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, 11:52 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
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, 02:21 PM   #3
igadoter
Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: slack 12.2, debian-Trinity , openbsd
Posts: 729

Original Poster
Rep: Reputation: 56
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, 02:24 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
OK, so looks like I might be right... check with your ISP.
 
Old 08-03-2011, 03:54 PM   #5
igadoter
Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: slack 12.2, debian-Trinity , openbsd
Posts: 729

Original Poster
Rep: Reputation: 56
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, 03: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, 04:27 PM   #7
igadoter
Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: slack 12.2, debian-Trinity , openbsd
Posts: 729

Original Poster
Rep: Reputation: 56
There is something on 587 but not SMTP - trying to connect causes 'unrecognized protocol'
 
Old 08-03-2011, 04:50 PM   #8
igadoter
Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: slack 12.2, debian-Trinity , openbsd
Posts: 729

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

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
You could use a tool like lft to see how far your tcp packet goes before being nuked.
 
Old 08-03-2011, 08:24 PM   #10
igadoter
Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: slack 12.2, debian-Trinity , openbsd
Posts: 729

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


Reply

Tags
configuration, email, smtp


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 10:59 AM
CentOS mail setup - sendmail via external SMTP server taing@jtkdev.com Linux - Networking 1 07-31-2011 06:29 AM
mail.rc For External SMTP pshankland Linux - Software 3 07-02-2010 05:44 AM
Mail MUA with external SMTP server rahmad Linux - Software 5 07-03-2008 08:18 AM
Cron mail sending using outside SMTP mail server Utah Linux - Software 6 08-24-2005 08:44 PM


All times are GMT -5. The time now is 08:03 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration