[ALUG] Re: Re: How to make sendmail deliver mail locally?
Eur Ing Chris Green
cl at isbd.net
Mon Feb 26 13:51:55 GMT 2007
On Mon, Feb 26, 2007 at 01:29:38PM -0000, Mark Ridley wrote:
> On Mon, February 26, 2007 1:25 pm, Eur Ing Chris Green wrote:
> > On Mon, Feb 26, 2007 at 12:52:08PM -0000, Mark Ridley wrote:
> >> >
> >> > How do I tell sendmail that localhost is 'here'? Even better would be
> >> > if I could tell sendmail that home.isbd.net is 'here' too but maybe
> >> > that's expecting too much!
> >>
> >> Add domains that are local to local-host-names.
> >>
> >> -bash-2.05b$ cat /etc/mail/local-host-names
> >> # local-host-names - include all aliases for your machine here.
> >>
> > I've already done that:-
> >
> > home# more /etc/mail/local-host-names
> > # names of hosts for which we receive email
> > home.isbd.net
> >
> > It's surely not necessary/useful to put localhost in there it it?
>
> No, you can edit sendmail.mc, so the following line looks:
>
> dnl # Also accept email sent to "localhost.localdomain" as local email.
> dnl #
> LOCAL_DOMAIN(`localhost.localdomain')dnl
>
> Then:
>
> m4 sendmail.mc > sendmail.cf (this overwrites/autogenerates sendmail.cf)
>
As far as I can see the default Slackware sendmail.cf has this set
already.
... but as I said I've solved the problem by using postfix.
--
Chris Green
More information about the main
mailing list