- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: email-aliases-masquerading
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
08-25-2003 07:45 AM
08-25-2003 07:45 AM
email-aliases-masquerading
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2003 07:56 AM
08-25-2003 07:56 AM
Re: email-aliases-masquerading
You can set up an alias to jsmith@servername.xyz. com jsmith@xyz.com
The normal file for this is /etc/aliases or /etd/mail/aliases
This will work immediately after restarting the sendmail daemon.
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
For more refinement you can make entries in these files.
/etc/mail/virtusertable
externalemailaddress localusername
/etc/mail/genericstable
localusername externaladdress
This will get you complete aliases.
You will need to either rebuilt the databases or run the script gen_cf which I think will generate new databases and integrate these changes into your setup.
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
08-25-2003 07:59 AM
08-25-2003 07:59 AM
Re: email-aliases-masquerading
The local hostname is defined in the /etc/mail/sendmail.cf file by the Cw parameter & is most frequently defined to be the localhost resolution.
You can try commenting the Cw in the file & restarting sendmail, but this may cause other problems.
Therefore this should probably be handled in the /etc/mail/sendmail.cw file
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2003 08:33 AM
08-25-2003 08:33 AM
Re: email-aliases-masquerading
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2003 09:55 AM
08-25-2003 09:55 AM
Re: email-aliases-masquerading
CEroot
And no, you don't, and shouldn't have sendmail running as a DEAMON unless your host will receive mail.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2003 10:02 AM
08-25-2003 10:02 AM
Re: email-aliases-masquerading
As others have noted this can be set in the /etc/mail/sendmail.cf
i.e. In our environment we want mail to look as though it came from our Outlook server and replies to go back through that Outlook server to the interested party. Our entry in sendmail.cf is
# masquarade as, aka site hiding(null for no masquerading)
DM gottschalks.com
Best of luck.
Regards,
dl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2003 11:18 AM
08-25-2003 11:18 AM
Re: email-aliases-masquerading
But the only problem with shutting down sendmail completely is that mail doesn't alway RE-SEND in the event of connection failure. It goes into the mail queue....and never retrys.
You can configure sendmail to not accept inbound...but to check and resend the queued mail at a specified interval.
Ex. sendmail -q30m
Would attempt to reprocess failed mail messages every 30 minutes.
James