- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Regarding mailx from HP-UX system
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
тАО03-30-2005 03:58 PM
тАО03-30-2005 03:58 PM
Regarding mailx from HP-UX system
(1) i am currently trying to send a test mail using a shell script like :
HEADER="Test mail"
mailx -s "$HEADER" prakalp_shrivastava@infosys.com <
EOF
exit 0
however it is not going .. is there some environment variable or setting i need to make for this ??
(2) the test mail sent from above script, in the "From" mail tag, whose mail id will be shown ? does it depend on the user who has logged in the system currently while executing the script ?
is it possible to change the id shown in "From" tab by changing a variable in some mail setting file ?
looking fwd to some opinions on this, sorry if this is in the wrong section (?) and thanks for ur time .
regards,
Prakalp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2005 05:00 PM
тАО03-30-2005 05:00 PM
Re: Regarding mailx from HP-UX system
and see if you mail is in the queue.
2) From mailid should be of the user who is executing
the script. If the user "user1" is executing the script
on machine "machine1" and the "machine1" is in
domain company.com, then the from address should
be
user1@machine1.company.com
Some of the atributes can be changed by changing
the configuration file .mailrc. Other more things can
be changed if you know how smtp works.
- Biswajit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2005 05:29 PM
тАО03-30-2005 05:29 PM
Re: Regarding mailx from HP-UX system
well ..
(1) just checked the mail queue, and it is showing empty(!) maybe the server needs to be configured for sending mails to outside domain (?) .. can u confirm the same? if yes, pointers to the file would be definetly helpful
(2) will check up in this direction.. thanks again ..
regards,
prakalp.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2005 06:25 PM
тАО03-30-2005 06:25 PM
Re: Regarding mailx from HP-UX system
/var/adm/syslog/mail.log
- Biswajit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2005 03:06 AM
тАО03-31-2005 03:06 AM
Re: Regarding mailx from HP-UX system
/usr/sbin/sendmail -v myname@yourcomany.com < /etc/issue
Look at the first couple of lines and the end of the transaction. If you've configured sendmail to use a relay system (ie, Exchange or another mail server), you may need to change the settings on that mail server.
Bill Hassell, sysadmin