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 26th April 2005, 12:29 AM
punchycool Offline
Registered User
 
Join Date: Feb 2005
Location: Washington, USA
Posts: 33
sendmail/dovecot - outgoing mail not being delivered

I am running FC3 with sendmail, dovecot, & spamassassin, & squirrelmail.
iptables (firewall) is not running.
Router is configured correctly with ports 110 and 25 going to the FC3 box.
The ISP for this LAN tells me that the smtp traffic is wide open; port 25 is not blocked in other words.

All email services are working correctly, except that I cannot send mail to anyone outside of the mail server. In other words, all outgoing mail (destined outside of my LAN) is blocked for some reason. This applies to mail being sent from the command line using `mail` or via squirrelmail's interface. It will deliver mail inside the LAN all day long, but will not deliver any mail outside of the LAN.

The file, /var/log/maillog, notes that each time a mail is sent outbound from my LAN, it times out on the server regardless of what outside email address it is. Squirrelmail has a bunch backed up that it is trying to resend.

I have established rules for relaying mail in the file, /etc/mail/access, looks like this (you get the idea):
<------------------------------------------------------------------------------------------------
# Check the /usr/share/doc/sendmail/README.cf file for a description
# of the format of this file. (search for access_db in that file)
# The /usr/share/doc/sendmail/README.cf is part of the sendmail-doc
# package.
#
# by default we allow relaying from localhost...
localhost.localdomain RELAY
localhost RELAY
127.0.0.1 RELAY
Connect:192.168 RELAY
Connect:fullname.webserver.com RELAY
To:fullname.webserver.com RELAY
From:fullname.webserver.com RELAY
<-----------------------------------------------------------------------

Moreover, I have reloaded the mail db's, restarted dovecot, and apache without any luck.
Can anyone assist me in locating the value in /etc/mail/sendmail.mc (or perhaps another file) that controls this?
Reply With Quote
  #2  
Old 26th April 2005, 05:11 AM
gavinw6662 Offline
Registered User
 
Join Date: Feb 2005
Age: 34
Posts: 1,281
I had a similar problem, so I had to add a line right below this one:

DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
DAEMON_OPTIONS(`Port=smtp,Addr=ip of the FC3 box, Name=MTA')dnl

and that fixed it right up, try that one.....
Reply With Quote
  #3  
Old 26th April 2005, 06:48 PM
punchycool Offline
Registered User
 
Join Date: Feb 2005
Location: Washington, USA
Posts: 33
Quote:
Originally Posted by gavinw6662
I had a similar problem, so I had to add a line right below this one:

DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
DAEMON_OPTIONS(`Port=smtp,Addr=ip of the FC3 box, Name=MTA')dnl

and that fixed it right up, try that one.....
Well, that option disallows incoming mail from the Internet...?
I went ahead and setup my file like you said with both features enabled, reloaded the mail db's, and kicked the dovecot and apache service, but it still does not allow mail to be sent out to the Internet.

Any other ideas as to why outgoing mail to the Internet is blocked?
Reply With Quote
  #4  
Old 27th April 2005, 04:05 AM
gavinw6662 Offline
Registered User
 
Join Date: Feb 2005
Age: 34
Posts: 1,281
try posting the contents of your sendmail.mc and we'll take a look at it. As well as have you tried to send mail with a graphical client?? Maybe squirellmail isn't set up properly (but it would be best to have us take a look at your sendmail.mc)???
Reply With Quote
Reply

Tags
delivered, mail, outgoing, sendmail or dovecot

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
Block outgoing mail attachments for some users in Sendmail k.jayaram Servers & Networking 0 21st February 2008 07:51 AM
change outgoing mail username in sendmail PhillyFloyd Using Fedora 0 24th October 2007 11:17 PM
Sendmail + Mail scanner +Dovecot mohan_rahul Using Fedora 0 13th November 2006 12:06 AM
Sendmail -outgoing mail issue from user machines mn210 Servers & Networking 0 23rd March 2006 04:50 PM
SendMail - Need to configure for (JUST) Outgoing WAN Mail chris_y2k_r1 Servers & Networking 1 22nd March 2006 12:52 AM


Current GMT-time: 23:40 (Tuesday, 21-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