- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- sendmail change sender address
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
тАО04-04-2006 12:36 AM
тАО04-04-2006 12:36 AM
sendmail change sender address
When you send a mail the normal sender address
is root@servername.company.com
With masquerade I can change it to root@company.com
Is there a way to change to servername@company.com?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2006 12:41 AM
тАО04-04-2006 12:41 AM
Re: sendmail change sender address
You can check this link for usefulness,
http://www.sendmail.org/~ca/email/lfaq.html#CHGADDR
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2006 12:42 AM
тАО04-04-2006 12:42 AM
Re: sendmail change sender address
have a look at this thread:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=963780
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2006 12:50 AM
тАО04-04-2006 12:50 AM
Re: sendmail change sender address
another way is:
cat file | sendmail -f new_sender recipient
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2006 08:05 AM
тАО04-04-2006 08:05 AM
Re: sendmail change sender address
e.g.
sendmail -f
mailx -r
By default, root is trusted on HP.
If you've got a great number of addresses that you'd like to coerce automatically, use the generics table
/etc/mail/genericstable
takes name value pairs like
jdoe john.doe@domain.com
It's a dbm style file, so you'll need to build it using makemap.
You'll also need to uncomment the generics rulesets in sendmail.cf (search for generic in sendmail.cf -- the 3 lines are pretty obvious).
#Kgenerics dbm /etc/mail/genericstable
# handle generics database
#R< $+ > $+ < $* > @ $: < $(generics $1 $: $) > $2 < $3 >
#R< > $+ < @ $+ > $: < $(generics $1 $: $) > $1 < @ $2
The m4 technique will work as well, if you're trying to deal cleanly with sendmail.cf configuration management.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2006 08:43 AM
тАО04-04-2006 08:43 AM
Re: sendmail change sender address
Regds,
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2006 08:48 AM
тАО04-04-2006 08:48 AM
Re: sendmail change sender address
You can use /etc/aliases
sender@some.net sender@new.net
/etc/mail/genericstable
root@company.com servicename@company.com
I recommend the genericstable.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com