1748204 Members
3160 Online
108759 Solutions
New Discussion юеВ

Re: sendmail mailertable

 
Thomas Broccoletti
Occasional Advisor

sendmail mailertable

I am trying to get the mailer table to route outbound mail to a different relay based on domain name.

I am not having much luck with it.

any sugestions ?

I'm running hpux 11.11 V1 sendmail 8.9.3 PHNE_29774
11 REPLIES 11
TTr
Honored Contributor

Re: sendmail mailertable

I think you need to enable the mailertable feature in sendmail.cf and create the /etc/mail/mailertable database

http://www.sendmail.org/m4/mailertables.html
Thomas Broccoletti
Occasional Advisor

Re: sendmail mailertable

Hi

I have done all the configuration stuff according to another thead on this forum.

I also ran the makemap to create the db.
Steven E. Protter
Exalted Contributor

Re: sendmail mailertable

Shalom,

Lets see the sendmail macro compile script an example of the mailer table entries and any errors.

Also, consider upgrading sendmail to a secure version.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
TTr
Honored Contributor

Re: sendmail mailertable

Check and fix the permissions/owners of the new files in /etc/mail
Restart sendmail
Any errors in /var/adm/syslog/mail.log?
Thomas Broccoletti
Occasional Advisor

Re: sendmail mailertable

.bankofamerica.coms smtp:pandora.gabrobins.com
TTr
Honored Contributor

Re: sendmail mailertable

Two things
1. .bankofamerica.coms smtp:[pandora.gabrobins.com]
(note the brackets around the relay host]
2. There are some rules that you need to uncomment in sendmail.cf. Search for mailertable and you will find two text blocks. One has 5 lines that start with the comment
# not local -- try mailer table lookup
and another one for rule S90 taht has 6 lines. Uncomment those 11 lines that start with "R...".
Rebuild the mailertable map and restart sendmail.
Thomas Broccoletti
Occasional Advisor

Re: sendmail mailertable

I have done that and it's still not working.
Any other ideas ?
TTr
Honored Contributor

Re: sendmail mailertable

I tested on my UNIX workstation and it works fine. So you have not "done all that" as you repeatedly say. What exactly is "all that"? You are not giving any details. You were repeatedly asked to provide details from the /var/adm/syslog/mail.log file. Did you test with sending a test mail message? Did you follow the mail.log file to find out where the mail went? Any errors when sendmail starts up?
Thomas Broccoletti
Occasional Advisor

Re: sendmail mailertable