- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Changing from in sendmail command
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
тАО09-02-2008 08:17 PM
тАО09-02-2008 08:17 PM
Changing from in sendmail command
I am writing shell program where i am sending some attachment to list of emails,while executing script it is sending email but from it is taking default , i want to use my email as from instead of default eg: now it is taking abc@xyz.com as from(sender) i want to change it to myname@myemail.com,please advice how to do this
I am using sendmail command in script also advice how to attach file in sendmail , i am attaching file using < (redirection) its sending file but not as attachment but it display contents in mail
Thanks & Regards
- Tags:
- sendmail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-02-2008 08:25 PM
тАО09-02-2008 08:25 PM
Re: Changing from in sendmail command
Some threads about changing the from address:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1212218
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1020491
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=887486
A thread about attachments:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1235413
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-02-2008 08:33 PM
тАО09-02-2008 08:33 PM
Re: Changing from in sendmail command
Have a look at the man pages at the above site
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-02-2008 10:49 PM
тАО09-02-2008 10:49 PM
Re: Changing from in sendmail command
No specific reason for using sendmail
I will try with mailx,if possible please exact syntax of mailx to specicy own FROM adress (eg me@me.com) with attachment file(a.xls)
Thanks
Best Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2008 12:38 AM
тАО09-03-2008 12:38 AM
Re: Changing from in sendmail command
YOu already got some good advice.
And here is more:
a) There is nothing wrong with this syntax to
set up From: line with sendmail MTA itself:
# sendmail -fmyname@myemail.com recipient
b) Regarding attachments in email messages.
Many ways. Popular one is mutt:
# mutt -a myfile.doc -s "Word document enclosed" -x recipient
Cheers,
VK2COT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2008 02:32 AM
тАО09-03-2008 02:32 AM
Re: Changing from in sendmail command
If you followed the links, you would see "mailx -r me@me.com". And the second link has another link with a few more details:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=685447
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2008 02:59 AM
тАО09-03-2008 02:59 AM
Re: Changing from in sendmail command
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1263604