- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Simple question with sendmail (beginer)
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
06-20-2004 09:11 PM
06-20-2004 09:11 PM
I'm sure that not very hard, but I begin with sendmail.
I have two domain, in a private wan.
XXXX@toto.com
YYYY@tata.com
I have a unique smtp relay at 10.64.0.10
How configure sendmail (if necessary), for forwarded the mail to smtp relay for the 2 domains.
Thank you for help
Nicolas
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2004 09:21 PM
06-20-2004 09:21 PM
Re: Simple question with sendmail (beginer)
Check out the HP-UX Mailing Services Administrator's Guide at:
http://docs.hp.com/hpux/onlinedocs/B2355-90776/B2355-90776.html
HTH.
Regards,
Sri Ram
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2004 09:30 PM
06-20-2004 09:30 PM
Re: Simple question with sendmail (beginer)
But, i'm looking for something light.
I'm sure that's easy.
But how can i proceed ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2004 09:41 PM
06-20-2004 09:41 PM
Re: Simple question with sendmail (beginer)
refer to this post:
http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=209679
u need to make some modification to /etc/mail/sendmail.cf on the parameters, Kmailertable and Kdomaintable.
by the way, this is not too easy to begin with for a beginner.
regards.
(p.s. please remember to assign points)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2004 09:50 PM
06-20-2004 09:50 PM
Re: Simple question with sendmail (beginer)
Check out the following link:
http://www.sendmail.org/virtual-hosting.html
Regards,
Sergejs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2004 10:04 PM
06-20-2004 10:04 PM
Re: Simple question with sendmail (beginer)
My problem, It's just to send a mail, to someone tht's not on my local computer.
How saids to mailx, to use smtp gateway.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2004 10:23 PM
06-20-2004 10:23 PM
SolutionA little brief:
1.- Define in your /etc/hosts file an alias for your smtp relay server:
10.64.0.10 my_smtp_relay
Test it the alias resolution (i.e: ping my_smtp_relay)
2.- Configure in your /etc/mail/sendmail.cf file the previuos relay into the "Smart relay host" section:
DSmy_smtp_relay
3.- Restart the sendmail service:
#/sbin/init.d/sendmail stop
#/sbin/init.d/sendmail start
4.- Try sending a couple of test messages:
#echo "Test One"|/usr/sbin/sendmail -v XXXX@toto.com
#echo "Test Two"|/usr/sbin/sendmail -v YYYY@tata.com
Or, if you prefer, try with both domains once:
#echo "Full Test"|/usr/sbin/sendmail -v "XXXX@toto.com YYYY@tata.com"
If you want, use mailx command:
echo "Hello"|mailx -s "Test" "XXXX@toto.com YYYY@tata.com"
Rgds.