- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- problem with 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
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-2002 03:46 AM
тАО04-04-2002 03:46 AM
problem with sendmail
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2002 03:56 AM
тАО04-04-2002 03:56 AM
Re: problem with sendmail
I think what you need to do is set the reply-to option on outgoing mail so it all comes back to one central point, unless you need to hide who sent the mail originally.
John.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2002 04:29 AM
тАО04-04-2002 04:29 AM
Re: problem with sendmail
To make it work, uncomment the following rulesets in /etc/mail/sendmail.cf:
# Generics table (mapping outgoing addresses)
#Kgenerics dbm /etc/mail/genericstable
[...]
S93
# handle generics database
#R$+ < @ $=G . > $: < $1@$2 > $1 < @ $2 . > @ mark
#R$+ < @ *LOCAL* > $: < $1@$j > $1 < @ *LOCAL* > @ mark
#R< $+ > $+ < $* > @ $: < $(generics $1 $: $) > $2 < $3 >
#R< > $+ < @ $+ > $: < $(generics $1 $: $) > $1 < @ $2 >
#R< $* @ $* > $* < $* > $@ $>3 $1 @ $2 found qualified
#R< $+ > $* < $* > $: $>3 $1 @ *LOCAL* found unqualified
#R< > $* $: $1 not found
restart sendmail
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
The file you edit is
/etc/mail/genericstable
entries are of the form
user newuser@newhost.com
The file is a dbm style file:
/usr/sbin/makemap dbm /etc/mail/virtusertable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2002 05:24 AM
тАО04-04-2002 05:24 AM
Re: problem with sendmail
To masquerade your host you can edit the /etc/mail/sendmail.cf file and go down to the line that says:
"who I masquerade as..."
DM
Now after DM add your masquerade the hostname as:
DMabc.com for example
To masquerade your user you would edit just above there as deemed appropriate.
CE root as an example
*******************
Now here's why I say not 100% sure how to respond.
I have users (albeit not all thankfully) that require email to go out, but to be aliased to another mail address, that all our developers use for return mail. I did this by creating entries in a userdb and then ran the makemap option...Now for all your users this may be an arduous task, but it is an option and you may want to check it out.
See this thread:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xaaf16c96588ad4118fef0090279cd0f9,00.html
Hope this helps,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2002 03:35 AM
тАО04-05-2002 03:35 AM
Re: problem with sendmail
thanks for your help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2002 05:11 AM
тАО04-05-2002 05:11 AM
Re: problem with sendmail
Did you remember to stop and then restart sendmail? This is something you should do whenever you make certain changes..
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
Hope that helps,
Rita