- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: sendmail problem
Operating System - HP-UX
1753822
Members
8937
Online
108805
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-21-2004 10:17 AM
тАО06-21-2004 10:17 AM
sendmail problem
Hi,
Somebody can help me with this: I have a hpux server and sendmail in this sever. My hpux domain name by example is:
hpux1.mall.com.ec
and an user root send emails in this form:
root@hpux1.mall.com.ec
I need change my email domain in this form:
mall.com.ec
I edit the files /etc/resolv.conf in this form:
mall.com.ec IN MX 10 hpux1.mall.com.ec
and i edit too /etc/virtusertable and put
root@mall.com.ec root
But if i send an email with my user root, the email go to the user in this form root@hpux1.mall.com.ec. but if i receive an email, to the user root@mall.com.ec the email is maping to the user root, it is fine. But the first not, why??
What is the problem?
Please help
Thanks
Somebody can help me with this: I have a hpux server and sendmail in this sever. My hpux domain name by example is:
hpux1.mall.com.ec
and an user root send emails in this form:
root@hpux1.mall.com.ec
I need change my email domain in this form:
mall.com.ec
I edit the files /etc/resolv.conf in this form:
mall.com.ec IN MX 10 hpux1.mall.com.ec
and i edit too /etc/virtusertable and put
root@mall.com.ec root
But if i send an email with my user root, the email go to the user in this form root@hpux1.mall.com.ec. but if i receive an email, to the user root@mall.com.ec the email is maping to the user root, it is fine. But the first not, why??
What is the problem?
Please help
Thanks
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2004 10:27 AM
тАО06-21-2004 10:27 AM
Re: sendmail problem
Hi,
You will need to masquerade your domain in your sendmail.cf file in order for the 'send out' to work.
Edit /etc/mail/sendmail.cf file
search for "^DM" and add maill.com.ec to DM entry.
Search for "^CE" and take out root if it is listed. This tells that all the users specified with the macro will be excluded from domain masquerading.
-Sri
You will need to masquerade your domain in your sendmail.cf file in order for the 'send out' to work.
Edit /etc/mail/sendmail.cf file
search for "^DM" and add maill.com.ec to DM entry.
Search for "^CE" and take out root if it is listed. This tells that all the users specified with the macro will be excluded from domain masquerading.
-Sri
You may be disappointed if you fail, but you are doomed if you don't try
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2004 10:45 AM
тАО06-21-2004 10:45 AM
Re: sendmail problem
Thanks,
But if i edit maskarade in sendmail.cf and this server "hpux1" will be "relay" for others email servers (Exchange servers), do this affect to my others emails domain? and all the emails that the hpux1 relay , my hpux1 it masked in this form mall.com.ec??
Thanks
Help
But if i edit maskarade in sendmail.cf and this server "hpux1" will be "relay" for others email servers (Exchange servers), do this affect to my others emails domain? and all the emails that the hpux1 relay , my hpux1 it masked in this form mall.com.ec??
Thanks
Help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2004 10:55 AM
тАО06-21-2004 10:55 AM
Re: sendmail problem
I am not sure if this is what you want but as far as I can see, you want the hpux1 name dropped out of your email address when you send a piece of mail out. What Sri suggested works for every piece of email root user sends out. For a one time change of the sender information you can use -f switch with your sendmail command, i.e.,
cat |
sendmail -f root@mall.com.ec receiver@emailaddress.com
hope this helps
cat
sendmail -f root@mall.com.ec receiver@emailaddress.com
hope this helps
________________________________
UNIX because I majored in cryptology...
UNIX because I majored in cryptology...
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP