Help with smart host please {Scanned by HJMS}
Furnish, Trever G
TGFurnish at HERFF-JONES.COM
Tue Sep 23 00:31:32 IST 2003
But, um, you do realize that that doesn't affect only sendmail. That
affects host name -> ip resolution for *everything* on the system.
> -----Original Message-----
> From: Alan Fiebig [mailto:mailscanner at ELKNET.NET]
> Sent: Saturday, September 20, 2003 9:04 AM
> To: MAILSCANNER at JISCMAIL.AC.UK
> Subject: Re: Help with smart host please {Scanned by HJMS}
>
>
> SOLVED IT!!!!!!!!!!!!!!!!!!
>
> To prevent sendmail from doing a DNS lookup before forwarding
> messages on to a smart host,
> just do the following:
>
> 1) Check and see if your system has a file named
> 'service.switch' anywhere on it
>
> If not, then create the file /etc/mail/service.switch
>
> 2) To the existing, or the new service.switch file, add the line:
> hosts files
>
> 3) Stop and restart your sendmail services (i.e. service
> MailScanner restart)
>
> This will cause sendmail to only use your hosts file, and not use DNS
>
> I saw over 2,500 messages that had been stuck in my mqueue
> spool for days empty out in seconds!
> Now I've got a nice empty queue...
>
> -Alan
>
More information about the MailScanner
mailing list