- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- General
- >
- how to i config mail relay in hp-ux 11.11
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Latin America
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP