- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: sendmail
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-24-2003 04:22 AM
06-24-2003 04:22 AM
sendmail
in sendmail.cf I've added following line ..
Dj$w.mydomane.com
otherwise I'd an error on mail relay server.
My question is : is possible avoid that mydomane.com appair in From line .. for example
From: pippo@hostname.mydomane.com
Thnks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2003 04:23 AM
06-24-2003 04:23 AM
Re: sendmail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2003 04:28 AM
06-24-2003 04:28 AM
Re: sendmail
have a look at this thread:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xe65d28c64656d71190080090279cd0f9,00.html
HTH,
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2003 05:19 AM
06-24-2003 05:19 AM
Re: sendmail
1. You want the email "From" to look like this:
pippo@hostname
Is that what you want?
2. I can tell you how to do this:
pippo@mydomain.com
That is called "site hiding", and you get it by doing this:
vi sendmail.cf
Set:
DMdomain.com
Unset:
CE root
/sbin/init.d/sendmail stop; /sbin/init.d/sendmail start
does that help?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2003 09:27 AM
06-26-2003 09:27 AM
Re: sendmail
If you want to be more flexible, use the user.db functionality.
This will allow you make changes per each user.
pippo@hostname.mydomane.com can become
Claudio@mydomane.com.
1) Uncomment the user.db line in sendmail.cf
2) Create a file /etc/mail/userdb with entries:
pippo:mailname Claudio@mydomane.com
Claudio:maildrop pippo
The first line changes outgoing mail from pippo and the second line allows return email to Claudio to be forwarded to pippo's account.
3)Compile this text file:
# makemap btree ./userdb.db < ./userdb
4)Restart sendmail
# killsm
# /sbin/init.d/sendmail start
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2003 09:44 AM
06-26-2003 09:44 AM
Re: sendmail
Change
Dj$w.mydomane.com
to
Djmydomane.com
You could make sure the hostname.mydomain.com entries actually resolve at least on Internal DNS servers, preferably on both.
If your host name in /etc/rc.config.d/netconf is hostname.mydomain.com and you have DNS resolution on that name inside and out, you will accomplish your goal.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com