Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sendmail 8.8.8p2 and mailertable file

Status
Not open for further replies.

warrenliang

IS-IT--Management
May 3, 2004
117
US
Hello:
A sendmail (on Solaris) ver 8.8.8p2 is used to relay SMTP emails. I can not find file /etc/mail/mailertable. Does version 8.8.8p2 uses such file?
Thanks in advance.
Warren
 
Look in sendmail.mc for this line:

Code:
FEATURE(`mailertable' , `hash -o /etc/mail/mailertable.db')dnl

If this line is not there, add it. Next, create your mailertable in a plain text file. To create the db file, issue the following command:

Code:
makemap hash mailertable.db < mailertable

If your system uses dbm instead of hash, use that instead. Remember to rebuild sendmail.cf if you had to edit sendmail.mc

Code:
m4 sendmail.mc > sendmail.cf

You will also have to restart sendmail.




 
Hello RhythmAce:

Thanks for your information. The 8.8.8p2 sendmail that I inherited has been up and running for a longest time. I can not locate the mailertable file. I wonder that veriosn of sendmail must use other file to identify where to relay SMTP mails to. For example, file /etc/mail/sendmail.mxhosts on 8.8.8 does resemble the /etc/mail/relay-domain file. Thanks.
 
I'm pretty sure that the name 'mailertable' was the same even way back then. ;-) However, I seem to remember that sendmail used to put some of its files in the /etc directory. If there is any way that you can upgrade to the latest version of sendmail, it would sure be a wise thing to do. There have been a multitude of security issues addressed since 8.8. If someone reads the full header information of mail coming from your server, they will be able to see which version you are using and exploit those vulnerabilities.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top