- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: sendmail 8.13 configuration
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
03-04-2008 11:32 AM
03-04-2008 11:32 AM
sendmail 8.13 configuration
gen_cf doesn't do anything for me - possibly a terminal emulation problem but it's anything but obvious about how to do what I need to do there.
I see other posts here with information about adding to .mc files but no reference to documentation for .mc file directives or what is appropriate for sendmail.mc vs. submit.mc.
Anyway, my requirements are fairly simple:
1. Deliver all outbound mail to smart host
2. Masquerade all outbound From addresses to eliminate the local hostname
3. Use the local aliases file
Previously I accomplished (1) by editing sendmail.cf and submit.cf directly but in order to solve (2) it appeared I should work with the .mc files. So I read other messages in the forums and added the following to sendmail.mc (actually generic-hpux10.mc):
define(`SMART_HOST',`mysmarthost.mydomain.com')dnl
MASQUERADE_AS(`mydomain.com')dnl
FEATURE(`masquerade_entire_domain')dnl
FEATURE(`masquerade_envelope')dnl
Also added the above masquerade directives to submit.mc.
Recompiled both with m4:
m4 ../m4/cf.m4 ./generic-hpux10.mc > sendmail.cf
m4 ../m4/cf.m4 ./submit.mc > submit.cf
and copied the results to /etc/mail.
The masquerade problem seems fixed when sending mail to a specific address.
But when sending mail to an alias, the alias name is appended with @mydomain.com. That doesn't work.
Any helpful tips welcome.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2008 11:52 AM
03-04-2008 11:52 AM
Re: sendmail 8.13 configuration
The only way to generate certain anti-spam features with sendmail on HP is with gen_cf
It generates an sendmail.mc file(though the name is not that) from which you run the m4 commands to get a sendmail.cf configuration.
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
03-04-2008 12:38 PM
03-04-2008 12:38 PM
Re: sendmail 8.13 configuration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2008 11:39 PM
03-04-2008 11:39 PM
Re: sendmail 8.13 configuration
See this documents
http://docs.hp.com/en/B2355-91064/index.html
WK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2008 09:55 AM
03-05-2008 09:55 AM
Re: sendmail 8.13 configuration
I'm closing this thread because I think I've resolved the issue I had with aliases. It's a long and convoluted path to this diagnosis but I'll write it up here just in case someday the search engine is fixed so that recent posts are indexed...
Back when sendmail was upgraded to 8.13 this server had a different name. Since then it was backed up with ignite and then re-installed from that backup with a different host name (the re-install was not done simply to change the host name, there were other reasons).
After that, sendmail 8.13 was still working for aliases and local delivery until I started messing around with m4 and the generic-hpux10.mc. After that, local delivery and aliases broke - all mail to names without any @domain.com was being sent to the smart host as though it was for a different domain. When I removed the smart host from the configuration, I started getting sendmail panics for local delivery because the mail couldn't go anywhere.
I did check that the sendmail.cw file was correct.
Oddly, I could still send mail from an outside source to this server and it would be delivered to local mailboxes.
I compared and even re-copied the .cf files from /usr/newconfig/etc/mail but that had no effect on the problem!
So I uninstalled and re-installed sendmail 8.13 and local delivery is working again. I even re-copied the .cf files from newconfig to /etc/mail and it stlil works. If anybody has any ideas of how I could screwed it up as it was, go ahead and post and I'll re-open and throw you some points!