- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Sendmail not sending to Relay
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2006 07:47 AM
02-13-2006 07:47 AM
We have the sendmail daemon disabled, and we're wanting to send mail to a relay server using a "Smart" relay host. (We have this same config running on other servers and it works fine for us)
I just built a system with our imaging product and after the install, I notice I can't send mail to our relay. The OS here is RHES-3.0. I'm getting the following in my /var/log/maillog:
Feb 13 15:35:45 yogi sendmail[4466]: k1DKZjWZ004466: to=john.doe@mynet.com, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30066, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
:q!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2006 07:51 AM
02-13-2006 07:51 AM
SolutionHave you ever generated a sendmail.cf file from a sendmail.mc macro?
It would appear that your sendmail.cf configuration is set to refuse from localhost.
I'd need to see the sendmail.mc file.
You can probably fix this by installing a sendmail.cf default file.
rpm -e sendmail....
rpm ivh it back in.
This will get you a default sendmail.cf
Then try again the mail.
You set smartrelay with the DS directive?
The relay server must explicity accept mail from this machine.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2006 08:18 AM
02-13-2006 08:18 AM
Re: Sendmail not sending to Relay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2006 10:56 AM
02-13-2006 10:56 AM
Re: Sendmail not sending to Relay
I may be wrong. Sendmail has been giving me a headache lately.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2006 07:30 PM
02-13-2006 07:30 PM
Re: Sendmail not sending to Relay
As far as I remember, if you remove /etc/mail/submit.cf, you'll be able to send email even when sendmail is down.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2006 10:51 PM
02-13-2006 10:51 PM
Re: Sendmail not sending to Relay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2006 10:58 PM
02-13-2006 10:58 PM
Re: Sendmail not sending to Relay
If you just want to relay mail. Use the defaulkt config that comes with RHEL And add smarthost entry in the sendmail.cf file
where smarthost will be the name of the mail server you want to forward mails to.
Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2006 11:12 PM
02-13-2006 11:12 PM
Re: Sendmail not sending to Relay
Vitaly is right, the DS directive needs to be configured, then the mail should relay.
Going to a default sendmail.cf and then modifying the DS directive should permit mail to relay with sendmail not running.
You could also always configure cron to run a sendmail -v -q
This would run the queue regularly and push mail off the server, if DS was set up correctly to a server that permits relay.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com