On Thursday 29 November 2007 23.54.37 Moe Sizlak wrote:
> Hi,
>
>  I have a problem on 4.2 when sending mail via a smarthost.
>
> Basically the DS host is not being used.
>
> From the modified cf file
> ---------------------
> dnl mail.myisp.net with the hostname of your ISP's mail server.
> dnl
> define(`SMART_HOST', `smtp.moeisp.net')dnl
> dnl
> ---------------------
>
>
> From the resulting cf file
>
> ------------------------------------------
> # "Smart" relay host (may be null)
> DSsmtp.moeisp.net
> ------------------------------------------
>
>
> I modified the rc.conf file and restarted sendmail. No luck.
>
>
> My ISP allows dns mx queries but blocks outgoing port 25 connections
> to anything other than its smarthost.
>
> With modified DS sendmail still tries to send mail out directly
> ------------------
> Nov 30 07:46:50 blazer2 sm-mta[2891]: lATCuBb8022345:
> [EMAIL PROTECTED], ctladdr=<[EMAIL PROTECTED]> (0/0),
> delay=09:50:39, xdelay=00:00:00, mailer=relay, pri=1920573,
> relay=smtp.work.com, dsn=4.0.0, stat=Deferred: smtp.work.com.: No route to
> host
> ------------------
>
>
> Can someone please assist?
>
>
> thanks.

If you use the default entry in rc.conf (edit rc.conf.local instead) I assume 
the sendmail cf file is copied to /etc/mail/localhost.cf? If not, you have to 
modify the rc.conf sendmall entry to point to the correct sendmail.cf file..

If that wont work, send more config info...


/Per-Olov



-- 
GPG keyID: 4DB283CE
GPG fingerprint: 45E8 3D0E DE05 B714 D549 45BC CFB4 BBE9 4DB2 83CE

Reply via email to