- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Configuring sendmail
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-25-2004 03:07 AM
02-25-2004 03:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2004 03:16 AM
02-25-2004 03:16 AM
Re: Configuring sendmail
you can test it with simple command:
echo test |mail -s Test youremail@yourdomain.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2004 03:21 AM
02-25-2004 03:21 AM
Re: Configuring sendmail
edit the file /etc/mail/sendmail.mc -locate the line with SMART_HOST and change the definition after it to the full hostname mail server that is able to send out the e-mails with no problems.This server should be able to forward the e-mail from your sendmail.
after the change you should do this:
m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
and then
service sendmail restart
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2004 04:00 AM
02-25-2004 04:00 AM
Re: Configuring sendmail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2004 04:08 AM
02-25-2004 04:08 AM
Solutioncat /etc/resolv.conf
Make sure you can ping them.
nslookup or dig yahoo.com
If you get an answer, sendmail will be able to dump mail on the public internet to most domains. aol requires a reverse DNS record to accept mail. I'm working on doing the same thing myself based on a sendmail macro.
If names resolve.
in one window:
tail -f /var/log/maillog
then in another window:
sendmail -v -d8 -d38 someone@yahoo.com
type some text
.
This will get you plenty of information on what if any configuration changes you need to make to get sendmail to properly deliver mail.
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-25-2004 04:13 AM
02-25-2004 04:13 AM
Re: Configuring sendmail
entry in /etc/mail/sendmail.mc file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2004 04:41 AM
02-25-2004 04:41 AM
Re: Configuring sendmail
[root@salcto-apl10 lib]# sendmail -v -d8 -d38 edruiz@taca.com
prueba
.
getmxrr: res_search(taca.com.) failed (errno=0, h_errno=4)
edruiz@taca.com... Connecting to taca.com. via esmtp...
edruiz@taca.com... Deferred: Connection timed out with taca.com.
messages on /var/log.maillog
Feb 25 11:37:34 salcto-apl10 sendmail[3314]: i1P5bU303314: from=root, size=7, class=0, nrcpts=1, msgid=<200402250537.i1P5bU303314@salcto-apl10.grupotaca.com>, relay=root@localhost
Feb 25 11:38:35 salcto-apl10 sendmail[3314]: i1P5bU303314: to=edruiz@taca.com, ctladdr=root (0/0), delay=00:01:05, xdelay=00:01:01, mailer=esmtp, pri=30007, relay=taca.com. [66.113.139.18], dsn=4.0.0, stat=Deferred: Connection timed out with taca.com.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2004 07:48 AM
02-25-2004 07:48 AM
Re: Configuring sendmail
All is working fine
Thanks