- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Sendmail configuration as SMTP
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
Discussions
Discussions
Discussions
Forums
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
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-24-2010 02:49 PM
тАО02-24-2010 02:49 PM
Sendmail configuration as SMTP
I need to configure sendmail on couple of applications servers to use the SMTP server xx.xx.xx.xx, Authentication none. I believe this can achieved by editing sendmail.cf. please help by providing some steps and explaination on steps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2010 02:57 PM
тАО02-24-2010 02:57 PM
Re: Sendmail configuration as SMTP
To enable the "smart relay" to be able to forward mail to your corporate mail server, edit the 'DS' macro in '/etc/mail/sendmail.cf'.
By default this is empty. Edit it to look like:
# DSmymailserver.xyz.com
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2010 03:23 PM
тАО02-24-2010 03:23 PM
Re: Sendmail configuration as SMTP
After activating the smart relay feature, take the following steps:
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
Make sure the server you are relaying to accepts relay connections from this server. In most cases that needs to be authorized by IP address.
/var/adm/syslog/mail.log
Is a good file to look at to track diagnostics.
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-24-2010 06:56 PM
тАО02-24-2010 06:56 PM
Re: Sendmail configuration as SMTP
DSsmtp.server.address
And you will have to restart sendmail service for the changes to be effective.
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-25-2010 11:43 PM
тАО02-25-2010 11:43 PM
Re: Sendmail configuration as SMTP
Here are the steps to configure sendmail for mail alerts, may be help you.
edit /etc/hosts and add/modify the following entry:
10.11.113.55 nda-lt-egw01.lt.corp.xx.in (exchange server IP and FQDN name)
In /etc/nsswitch.conf add/modify the following entry:
# cat /etc/nsswitch.conf
hosts: files dns [NOTFOUND=return]
In /etc/resolv.conf add/modify the following entry:
search domain xx.in
nameserver 10.11.113.21 (DNS server name)
In /etc/mail/sendmail.cf search for DS and modify as following: (smart relay host)
DSnda-lt-egw01.lt.corp.xx.in
Restart sendmail:
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
Test mail: using mail
Run mailq to check the mail queue.
Regards
GB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2010 12:20 AM
тАО02-26-2010 12:20 AM
Re: Sendmail configuration as SMTP
than
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
Good Luck!!!