HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- query about sendmail & SMTP RELAY SERVER
Operating System - HP-UX
1826632
Members
3839
Online
109695
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
Forums
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
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
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
06-19-2006 07:07 PM
06-19-2006 07:07 PM
Hi,
i need to make my server enabled to send the mails.
so i made following changes:
1. edit the /etc/mail/sendmail.cf file, make the entries in DS & Dj (entry of SMTP relay host.
2. edit the /etc/mail/sendmail.cw file, make the entry of server_hostname@company.com
3. edit the /etc/hosts file, make the entry of SMTP relay host.
4. edit the /etc/rc.config.d/mailservs file and check the parameter SENDMAIL_SERVER i.e. 1
5. start the sendmail service.
6. try to send a mail using mailx command
now I am able to send the mails,
please let me know
what did i do?
did i configure the sendmail or not?
actually i got a request : not to configure the sendmail on production server, we need to make our server enabled to send the mails using SMTP relay server.
Does i need to make any changes?
please suggest
thanks
i need to make my server enabled to send the mails.
so i made following changes:
1. edit the /etc/mail/sendmail.cf file, make the entries in DS & Dj (entry of SMTP relay host.
2. edit the /etc/mail/sendmail.cw file, make the entry of server_hostname@company.com
3. edit the /etc/hosts file, make the entry of SMTP relay host.
4. edit the /etc/rc.config.d/mailservs file and check the parameter SENDMAIL_SERVER i.e. 1
5. start the sendmail service.
6. try to send a mail using mailx command
now I am able to send the mails,
please let me know
what did i do?
did i configure the sendmail or not?
actually i got a request : not to configure the sendmail on production server, we need to make our server enabled to send the mails using SMTP relay server.
Does i need to make any changes?
please suggest
thanks
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2006 07:51 PM
06-19-2006 07:51 PM
Solution
Shalom praveen,
I am not sure why you did /etc/mail/sendmail.cw
Setting the DS directive in sendmail.cf means you will relay ALL mail to the server defined in sendmail.cf The exception will be mail to local ussers on the machine.
You need to make sure that the receiving server of the DS directive will accept mail from your server. The default is not to accept relay mail, due to anti spam policy. It must be explicitly enabled on the server receiving the relay mail.
Diagnostics:
sendmail -v -d8.99 -d38.99 someone@some.net
type some text
.
You will receive full diagnostics.
mailq
# shows the que of mail that can not be delivered. That really should have nothing in it.
Note that you don't need to have the sendmail daemon running to send mail on HP-UX. If you don't need it to receive mail, try turning it off.
To manually start the sendmail daemon:
/sbin/init.d/sendmail start
Good Luck,
SEP
I am not sure why you did /etc/mail/sendmail.cw
Setting the DS directive in sendmail.cf means you will relay ALL mail to the server defined in sendmail.cf The exception will be mail to local ussers on the machine.
You need to make sure that the receiving server of the DS directive will accept mail from your server. The default is not to accept relay mail, due to anti spam policy. It must be explicitly enabled on the server receiving the relay mail.
Diagnostics:
sendmail -v -d8.99 -d38.99 someone@some.net
type some text
.
You will receive full diagnostics.
mailq
# shows the que of mail that can not be delivered. That really should have nothing in it.
Note that you don't need to have the sendmail daemon running to send mail on HP-UX. If you don't need it to receive mail, try turning it off.
To manually start the sendmail daemon:
/sbin/init.d/sendmail start
Good Luck,
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
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
06-19-2006 08:37 PM
06-19-2006 08:37 PM
Re: query about sendmail & SMTP RELAY SERVER
i have stopped the sendmail service bcoz i dont want to recieve any message.
and now i am able to send the mails using smtp relay server.
and now i am able to send the mails using smtp relay server.
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.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP