Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 9th March 2009, 04:30 AM
sul Offline
Registered User
 
Join Date: Jun 2005
Posts: 22
cannot send mail. Can receive ok.

hi,

i'm using Fedora 9 and sendmail 8.14.2


I can receive emails and can only send mail locally to other users on
the same server, but I am unable to send mail externally. after 4
hours, I get a returned message which says: Warning: message still
undelivered after 4 hours. Will keep trying until message is 5 days
old....


I have tried to send to multiple external e-mail addresses with the
same results.

again, i CAN receive mails from anywhere (internal or external); just cannot send externally.

how do i pinpoint the problem and resolve?


thanks!
Reply With Quote
  #2  
Old 9th March 2009, 05:42 AM
steelaworkn's Avatar
steelaworkn Offline
Registered User
 
Join Date: Dec 2008
Location: Pacific Northwest
Age: 46
Posts: 1,091
This may seem elementary but seems like a firewall protocol for outgoing mail. Just as a firewall can block incoming stuff, it can also block outgoing stuff.
__________________
My setup:

Intel DP35DP MB; Nvidia 440 2 gig Video Card; 8 gigs of ram; Intel Core Duo 2.20 gig; Hp Officejet Pro L7580; LVM F18 64bit using 3 320g HDs and a nice LG 22 in. Monitor.
Reply With Quote
  #3  
Old 9th March 2009, 05:54 AM
sul Offline
Registered User
 
Join Date: Jun 2005
Posts: 22
Thank you for the suggestion. However, I did test by temporarily turning off the firewall and tested sending email externally. Still, the email does not want to go through. btw, i have also tried turning off selinux policy enforcement by using setenforce 0 command and still the same results.

if you have any other suggestions, please reply.

thanks!
Reply With Quote
  #4  
Old 9th March 2009, 06:17 AM
davecgs Offline
Registered User
 
Join Date: Feb 2009
Posts: 39
one thought

Fedora also has SELinux. That may be blocking it as well.
Reply With Quote
  #5  
Old 9th March 2009, 06:22 AM
sul Offline
Registered User
 
Join Date: Jun 2005
Posts: 22
Thanks for the suggestion. I actually disabled SELinux and firewall temporarily before sending and it did not help resolve.

If you have any additional suggestions please let me know.

Thanks!
Reply With Quote
  #6  
Old 9th March 2009, 07:38 AM
savage's Avatar
savage Offline
Registered User
 
Join Date: Jun 2005
Location: Mission Control
Posts: 1,229
It could be your ISP blocking outbound port 25. This is quite common to "help" fight spam.

From a terminal try 'telnet smtp.googlemail.com 25', if you get the following then it's not your ISP:
Code:
[savage@hotrod ~]$ telnet smtp.googlemail.com 25
Trying 216.239.59.16...
Connected to smtp.googlemail.com.
Escape character is '^]'.
220 mx.google.com ESMTP somecrazycode
Check /var/log/maillog to see what's going wrong.
Reply With Quote
  #7  
Old 9th March 2009, 09:59 AM
marcrblevins's Avatar
marcrblevins Offline
Registered User
 
Join Date: Jun 2006
Location: Texas
Age: 42
Posts: 4,168
You have any of these at the end of your /etc/mail/sendmail.mc?
Code:
MAILER(local)dnl
MAILER(smtp)dnl
MAILER(procmail)dnl
Think you need the last two lines.
Reply With Quote
  #8  
Old 9th March 2009, 12:15 PM
John the train's Avatar
John the train Offline
Techno-Womble
 
Join Date: Aug 2006
Location: Gloucestershire, U.K.
Posts: 1,793
Quote:
Originally Posted by savage View Post
It could be your ISP blocking outbound port 25. This is quite common to "help" fight spam.
My ISP blocked mail from my secondary address until I vaildated it - human action to prove I wasn't a bot I assume - but not a total block. Very strange.
__________________
To get the right answer, one must first ask the right question!
Desktop #1 F18
Desktop #2 Mint 14
Laptop: Macpup 529
Netbook: Debian ARM
Reply With Quote
  #9  
Old 9th March 2009, 04:29 PM
sul Offline
Registered User
 
Join Date: Jun 2005
Posts: 22
Thank you for the suggestion. indeed, i cannot telnet to port 25 to any IP outside my subnet. Is there an alternative way?

looking forward to your suggestion.

thanks!
Reply With Quote
  #10  
Old 9th March 2009, 04:41 PM
sul Offline
Registered User
 
Join Date: Jun 2005
Posts: 22
Quote:
Originally Posted by marcrblevins View Post
You have any of these at the end of your /etc/mail/sendmail.mc?
Code:
MAILER(local)dnl
MAILER(smtp)dnl
MAILER(procmail)dnl
Think you need the last two lines.
I have the following as part of /etc/mail/sendmail.mc:

MAILER(smtp)dnl
MAILER(procmail)dnl

I do not have: MAILER(local)dnl

looking forward to any suggestions...

thanks!

-s.
Reply With Quote
  #11  
Old 9th March 2009, 04:41 PM
savage's Avatar
savage Offline
Registered User
 
Join Date: Jun 2005
Location: Mission Control
Posts: 1,229
There are services out there that offer alternate port SMTP, usually you have to pay for them, no-ip.com do a service, I think it's £25 a year there abouts.

I imagine DynDNS offer the same thing, shop about, you may be able to find a free service.

You'd need to get your local SMTP server to relay to the alternate port server, I've never done that so can't say how easy it is.

You could if you wanted just use the alternate port server (probably easiest).
Reply With Quote
  #12  
Old 9th March 2009, 04:56 PM
sul Offline
Registered User
 
Join Date: Jun 2005
Posts: 22
I read somewhere that I can use port 587 instead. Is this indeed an option in sendmail? I actually tested by doing:

telnet smtp.googlemail.com 587 and was able to get a response:

telnet smtp.googlemail.com 587
Trying 209.85.221.150...
Connected to smtp.googlemail.com.
Escape character is '^]'.
220 mx.google.com ESMTP 14sm1606693qyk.42

Any thoughts?

thanks!
Reply With Quote
  #13  
Old 9th March 2009, 05:29 PM
savage's Avatar
savage Offline
Registered User
 
Join Date: Jun 2005
Location: Mission Control
Posts: 1,229
You could use that for Gmail yes, but not your own e-mail server.

The reason being, when your server tries to send an e-mail to say hotmail.com, it will always try and talk to hotmail.com on port 25, which your ISP is blocking.

If you used Gmail port 587 as you said, you'd be using Gmail's server, which would then connect to hotmail.com on port 25. Gmail's servers will only let you send from Gmail accounts though, so you'd need to register with them and use an @googlemail.com e-mail account.

Edit: Thats basically the same process as using a service like No-IPs alternate port, except they'll let you use your own e-mail address.
Reply With Quote
  #14  
Old 9th March 2009, 06:56 PM
sul Offline
Registered User
 
Join Date: Jun 2005
Posts: 22
Thank you for the great explanation, this really helps!

I will request our ISP to unblock port 25 for the server. Failing that, may need to resort to your earlier post on using a service.

Many thanks!!!
Reply With Quote
  #15  
Old 9th March 2009, 10:11 PM
Sauron Offline
Registered User
 
Join Date: Jan 2005
Posts: 257
Depending on your ISP you might need to buy a commercial connection to get unblocked service.
Reply With Quote
Reply

Tags
mail, receive, send

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can send but no receive mail nad4 Servers & Networking 5 28th June 2009 01:12 PM
Evolution Mail Send/Receive Greyed Out guy42de26 Using Fedora 3 29th November 2007 12:10 AM
Fc4- Sendmail- Unable To Send Mail, But Can Receive?? stevea86 Servers & Networking 3 31st March 2006 06:43 PM
send and receive mail rune Using Fedora 4 5th August 2005 12:43 AM
Evolution how send/receive mail and join to the mail lists bravo_elf Using Fedora 5 3rd August 2005 01:10 PM


Current GMT-time: 14:17 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat