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-26-2003 06:22 AM
02-26-2003 06:22 AM
IF I wanted to send up sendmail on a server to send mails to one of internal mail servers.
Does the name specified in /etc/hosts for the host define the domain that the mails are sent by for example
1.1.1.1 test_hp test_hp.test.com
What exactly would I need to amend in /etc/mail/ ?
I do npot wish to use DNS, so woiuld I just need files in the nsswitch.conf file ?
Thanks
Paul
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2003 06:26 AM
02-26-2003 06:26 AM
Solutionhosts : files
Then you should have in the /etc/mail/sendmail.cf
search for DS
append "test_hp.test.com" to DS in the file
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
Make sure that you can do a nslookup of the relay host
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2003 06:27 AM
02-26-2003 06:27 AM
Re: sendmail
DS macor to be set to mail relay.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2003 07:02 AM
02-26-2003 07:02 AM
Re: sendmail
these r the steps to configure sendmail for relaying its mails through a smtp server .
1) ensure that SMTP port is open in the mails server .
this can be done by telnet mail server on smtp port.
telnet mailserverip 25
2)edit /etc/hosts and put you mails server name and ip.
3) if u don't want to use DNS copy nsswitch.files nsswitch.conf
cp /etc/nsswitch.files /etc/nsswitch.conf
4) edit /etc/mail/sendmail.cf
find for DS (smartrelay )
put the name of you mail server there .
for eg.
DStest_hp test_hp.test.com
5) restart sendmail deamons using
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
now ur m/c is ready to relay mails through mails server .
regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2003 07:02 AM
02-26-2003 07:02 AM
Re: sendmail
Your real mail server is named "Relay Server", so, you need define in /etc/mail/sendmail.cf the DS variable with a reachable Realy Serner name, in your case:
DStest_hp.test.com
After define this you need restart sendmail service:
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
Also ensure that your resolution path defined in /etc/nsswitch.conf is appropriate.
You can test sendmail service by a simple command:
#echo "Test"|sendmail -v your_mailbox@your_domain
Any unsatisfied delivery will be queued in /var/spool/mqueue dir, you can show any queued delivery by:
#mailq -v
Rgds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2003 08:33 AM
02-26-2003 08:33 AM