OT: Sendmail and Mailertable Problem

Richard Haakma richard at AK.PLANET.GEN.NZ
Thu Aug 18 04:58:41 IST 2005


On Thu, Aug 04, 2005 at 10:13:17PM +0100, Hywel Burris wrote:
>    Hi,
> 
> Sorry for the off topic request for help but i am sure that someone here 
> will have had the same problem.
> 
> I am using mailertable to route mails to our sister companies after 
> scanning them. The problem is that sendmail refuses to use the value in 
> /etc/mail/mailertable even though it's in brackets and always uses the dns.
> 
> Config below
> 
> [root at mail-2 mail]# cat sendmail.mc | grep mailer
> dnl FEATURE(`mailertable',`hash -o /etc/mail/mailertable.db')dnl
> FEATURE(`mailertable',`hash /etc/mail/mailertable.db')dnl
> 
> I have tried both there not sure what the -o is for but it was in there 
> as default on RH9.
> 
> the domain is in the relay-domains file
> 
> [root at mail-2 mail]# cat mailertable | grep abcd
> .abcd.co.uk        smtp:[mail.abcd.co.uk]
> 


.abcd.co.uk means all subdomains of abcd.co.uk, but not abcd.co.uk
itself.  If you really mean to forward all subdomains and the
domain name itself, use:


abcd.co.uk	smtp:[mail.server.whereever.co.uk]
.abcd.co.uk	smtp:[mail.server.whereever.co.uk]


I recommend not using wildcard subdomains as they will get abused
by spammers.


Regards,
RH.



-- 
Do NOT reply to SPAM.  Do NOT buy anything that is offered by SPAM.
Every time someone buys, the spammers can economically justify
sending out thousands more messages.

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!



More information about the MailScanner mailing list