- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: mailx uses assigned mail server -- can I?
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-22-2006 08:16 AM
06-22-2006 08:16 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2006 08:25 AM
06-22-2006 08:25 AM
Re: mailx uses assigned mail server -- can I?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2006 08:33 AM
06-22-2006 08:33 AM
Re: mailx uses assigned mail server -- can I?
http://www.cs.cf.ac.uk/Dave/PERL/node180.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2006 08:34 AM
06-22-2006 08:34 AM
Re: mailx uses assigned mail server -- can I?
I modified the sendmail.cf, provide the smart host at ^DS line, but still when I used sendmail command it did not use the mailhost that I assigned. Did I do this wrong?
Regards!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2006 08:40 AM
06-22-2006 08:40 AM
Re: mailx uses assigned mail server -- can I?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2006 09:47 PM
06-22-2006 09:47 PM
Solutionmailx does not lookup for mailhost and so on, sendmail does it.
Concerning the DS macro change:
Check the value of the macros DR and DH as well.
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2006 10:41 PM
06-22-2006 10:41 PM
Re: mailx uses assigned mail server -- can I?
mailx uses your default MTA, which is sendmail.
All you need to is set up sendmail.cf with a DS directive to choose your relay server.
SEP
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-23-2006 02:06 AM
06-23-2006 02:06 AM
Re: mailx uses assigned mail server -- can I?
Besides sendmail.cf anywhere else I should check for a clue? I don't think this unix host has the configuration for mailhost2.domain2.com, how come it became the default one.
/etc/rc.config.d/mailservs
export SENDMAIL_SERVER=1
export SENDMAIL_SERVER_NAME=