- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: how to i config mail relay in hp-ux 11.11
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
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
тАО11-04-2003 01:13 AM
тАО11-04-2003 01:13 AM
i m trying to config a mail relay on my server
can you guide me what to do ?
i know that i need to config the file /etc/mail/sendmail.cf but i dont know how
Solved! Go to Solution.
- Tags:
- mail relay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2003 01:17 AM
тАО11-04-2003 01:17 AM
Re: how to i config mail relay in hp-ux 11.11
Modify /etc/mail/sendmail.cf and modify DS macro.
DSabc.xyz.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2003 01:26 AM
тАО11-04-2003 01:26 AM
Re: how to i config mail relay in hp-ux 11.11
DSyourmailrelayserver.domanname
save and quit and restart the sendmail by
/sbin/init.d/sendmail stop and /sbin/init.d/sendmail start
Look for log file for the status of every mail in /var/adm/syslog/mail.log file
Good luck,
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2003 01:33 AM
тАО11-04-2003 01:33 AM
SolutionIf #1, then add all ip's or FQDM into /etc/mail/access
127.0.0.1 relay
192.168.2.1 relay
somehost.domain.com relay
anotherhost.yourdomain.com relay
Then make map it:
makemap hash /etc/mail/access
Restart sendmail (kill -HUP sendmailpid)
#2 - as other have stated, set the DS macro in sendmail.cf to your mail realy server
# "Smart" relay host (may be null)
DSyourrelayserver
You may also want to set the DM macro as well:
# who I masquerade as (null for no masquerading) (see also $=M)
DMyourdomain.com
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2003 03:28 AM
тАО11-04-2003 03:28 AM
Re: how to i config mail relay in hp-ux 11.11
Use the DS macro.
Try this doc to setup and test your mail relay.
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062972552
The doc id is KBRC00000010
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2003 04:43 AM
тАО11-04-2003 04:43 AM
Re: how to i config mail relay in hp-ux 11.11
Refer to the foll. document for info on mail relay.
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90685/B2355-90685_top.html&con=/hpux/onlinedocs/B2355-90685/00/00/44-con.html&toc=/hpux/onlinedocs/B2355-90685/00/00/44-toc.html&searchterms=relay%7cmail&queryid=20031104-104019
HTH.
Regards,
Hemanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2003 05:32 AM
тАО11-04-2003 05:32 AM
Re: how to i config mail relay in hp-ux 11.11
If you need to allow your server to relay mail, its the /etc/mail/access file.
IP_address RELAY
will let you define what servers are allowed to relay mail via the server in question.
Sounds like you want to relay your mail off another box. Do remember if thats true that you will have to open up that server for relay or the connection will be reset.
A good email diag:
sendmail -v -d8.99 -d38.99 someone@some.net
type some text
.
You will get good diagnostics from that command.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com