- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Configure sendmail.cf
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-03-2004 10:45 PM
06-03-2004 10:45 PM
Configure sendmail.cf
Does anyone know how to configure sendmail.cf as such the sender and recipient address will be changed, like follow,
Initially userA@myserver.com with new configuration will be changed to be
userA.myserver@mydomain.com
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2004 12:10 AM
06-04-2004 12:10 AM
Re: Configure sendmail.cf
if I understand good then try this link:
http://www.sendmail.org/virtual-hosting.html
Note arguments about genericstable and masquerading.
Does it answer to your request?
HTH.
Best regards,
Ettore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2004 12:23 AM
06-04-2004 12:23 AM
Re: Configure sendmail.cf
# my official domain name
# ... define this only if sendmail cannot automatically determine your domain
#Dj$w.Foo.COM
Dj mydomain.com
Then
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
Rgds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2004 12:36 AM
06-04-2004 12:36 AM
Re: Configure sendmail.cf
DMmydomain.com
then restart sendmail
# Masquerade as (DM): #
# #
# If you wish to have mail appear to be from some host or location #
# other than the local host, set macro M to the name you wish to #
# masquerade as. This is also know as site hiding and was set using #
# the DY macro in previous releases of hp-ux. This might be used to #
# make mail appear as from a site rather than an individual host or #
# from a central mail hub. Note, however, that just making mail #
# appear to be from a different location does not mean that the #
# receipient will be able to reply to the email. If you use this feature #
# you will also need to be sure that you can reply to the email. #
# #
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2004 01:31 AM
06-04-2004 01:31 AM
Re: Configure sendmail.cf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2004 03:40 AM
06-04-2004 03:40 AM
Re: Configure sendmail.cf
Try this doc from itrc,
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000068402500
The itrc doc id is KBRC00010421.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2004 01:20 PM
06-06-2004 01:20 PM
Re: Configure sendmail.cf
Please take note "myserver" name must follow the user name. So from
userA@myserver.com
will be changed become
userA.myserver@mydomain.com
It is not like
userA@mydomain.com ( this is easier to set )
Thanks,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2004 01:29 AM
06-07-2004 01:29 AM
Re: Configure sendmail.cf
In the sendmail.cf file, use this line:
O UserDatabaseSpec=/etc/mail/userdb.db
Then, you build a file /etc/mail/userdb with two lines for each person:
userA:mailname userA.myserver@myserver.com
userA.myserver:maildrop userA
Each time you modify the above file, run the following to re-create the file /etc/mail/userdb.db ...
# makemap btree /etc/mail/userdb.db < /etc/mail/userdb
The maildrop line tells sendmail to receive email for userA.myserver, but deliver it to userA. The mailname line changes the "from" of outgoing mail, so that it says it's from userA.myserver@myserver.com.
Having said that, the real username isn't secret, it's visible in the mail header if one cares to look.
One problem with this setup, is that userA could create an outbound email like this:
To: tom@someweb.com
Cc: userB
The mail to userB works because userB is a valid local user; but if tom does a "reply to all" the userB delivery will fail, as it's not fully qualified for the return (and, not the maildrop name, either).
Fred