Sendmail on HP-UX?

Hello, our email server is HP-UX 11.31 and is running Sendmail and Cyrus-IMAP. We need to implement mail routing based on domain, for only a specific small group of domains. It sounds like /etc/mail/mailertable is the file where we put the routing information for each domain.

I found this nice guide here that explains exactly what we want to do:
http://www.cyberciti.biz/faq/force-sendmail-to-route-mail-to-specific-hosts-or-mailserver/

However it requires us to modify the sendmail.mc file, and then use m4 to regenerate the sendmail.cf file. The problem with this, is I've search the whole server using 'find' and there is no sendmail.mc file anywhere on the server.

How can I modify my HP-UX Sendmail configuration to include this mailertable feature??

Thanks in advance.

The sendmail.cf can be directly edited, but it is not for the faint of heart. http://www.he.net/adm/sendmail.cf.html You have to target the right rule set and write a legal set of additional rewrite rules. The rule sets vary by sendmail version. Modifying is easier on systems using the sendmail.mc file.

In HP-UX 11.23 there is a build directory /usr/newconfig/etc/mail

1 Like