- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Sendmail Server
Operating System - HP-UX
1752587
Members
3821
Online
108788
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
10-01-2009 08:30 PM
10-01-2009 08:30 PM
Sendmail Server
Hi All..
How can I know the name of my sendmail server????
I have attached below outputs.
# more sendmail.cf
# cat /etc/rc.config.d/mailservs
# sendmail -bs
# sendmail -v abc@xyz.com
Please advice.
Thanks..
How can I know the name of my sendmail server????
I have attached below outputs.
# more sendmail.cf
# cat /etc/rc.config.d/mailservs
# sendmail -bs
# sendmail -v abc@xyz.com
Please advice.
Thanks..
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2009 11:03 PM
10-01-2009 11:03 PM
Re: Sendmail Server
Based on the prompt visible in your attachment, and the outputs of "sendmail -bs" and "sendmail -v abc@xyz.com", the name of your sendmail server is currently de01src2.am.mot.com.
Did you mean to ask "What should I put into SENDMAIL_SERVER_NAME= on /etc/rc.config.d/mailservs?"
If you also have SENDMAIL_SERVER=1, you should normally leave SENDMAIL_SERVER_NAME empty.
If your goal is to make this machine rely on a central mail server somewhere in your site, _ask the email systems administrator of your site_.
After you know the name of the mail server you should use at your site, you have two options.
When an email is sent from this system (de01src2), do you want the From: address of it look like
a) username@de01src2.am.mot.com
or
b) username@xyz.com ?
(assuming that xyz.com is your real public domain name)
In case a), you should leave the SENDMAIL_SERVER_NAME empty and put the name of the central mail server to sendmail.cf on the "DS" line. In other words change sendmail.cf so that
# "Smart" relay host (may be null)
DS
becomes
# "Smart" relay host (may be null)
DSyourmailserver.xyz.com
In case b), set SENDMAIL_SERVER_NAME=yourmailserver.xyz.com and restart sendmail. In this case, the administrator of the central mail server may have to configure something too. (For example, if the usernames at de01src2 don't exactly match the mail usernames used at the central mail server, the central server needs to do some aliasing/remapping to correct the addresses.)
MK
Did you mean to ask "What should I put into SENDMAIL_SERVER_NAME= on /etc/rc.config.d/mailservs?"
If you also have SENDMAIL_SERVER=1, you should normally leave SENDMAIL_SERVER_NAME empty.
If your goal is to make this machine rely on a central mail server somewhere in your site, _ask the email systems administrator of your site_.
After you know the name of the mail server you should use at your site, you have two options.
When an email is sent from this system (de01src2), do you want the From: address of it look like
a) username@de01src2.am.mot.com
or
b) username@xyz.com ?
(assuming that xyz.com is your real public domain name)
In case a), you should leave the SENDMAIL_SERVER_NAME empty and put the name of the central mail server to sendmail.cf on the "DS" line. In other words change sendmail.cf so that
# "Smart" relay host (may be null)
DS
becomes
# "Smart" relay host (may be null)
DSyourmailserver.xyz.com
In case b), set SENDMAIL_SERVER_NAME=yourmailserver.xyz.com and restart sendmail. In this case, the administrator of the central mail server may have to configure something too. (For example, if the usernames at de01src2 don't exactly match the mail usernames used at the central mail server, the central server needs to do some aliasing/remapping to correct the addresses.)
MK
MK
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP