On Saturday 12 January 2008 16:21:29 Vijay Sankar wrote:
> On January 12, 2008 07:51:24 am Chris Cohen wrote:
> > Hi again,
> >
> > just wanted to configure 4.2's sendmail to use my smarthost to send
> > status mails. I went to /usr/share/sendmail, edited cf/openbsd-localhost
> > and cd/submit and created the cf files by typing m4 m4/cf.m4
> > cf/openbsd-localhost.m4 > localhost.cf according
> > to /usr/share/sendmail/README.
> >
> > Now I have this in my /etc/mail/localhost.cf and submit.cf:
> > # "Smart" relay host (may be null)
> > DSmysmarthost.example.com
> >
> > I also pkill -HUP'ed sendmail but mails just don't pass my smarthost,
> > they are just delivered locally and I can't find anything special in my
> > maillog.
> >
> > Is there anything else I have to do?
>
> Probably a silly question, but did you copy the localhost.cf to /etc/mail?
>
Yes, I did :)

What I forgot to mention: Mails for localhost and myhostname are delivered 
locally, mails for other domains do pass my smarthost.

-- 
Greetings
Chris

Reply via email to