Configure sendmail for localhost only
Hello Sendmail group,
I am getting hundreds of error messages like the one below:
<root [at] ewhlinux.localdomain>... Deferred: Connection refused by
192.168.1.1.
Message could not be delivered for 5 days
I have fedora core 6, intel motherboard. I tried to configure
sendmail once, and obviously failed.
I would like to know how I can revert (or re-install) sendmail so I
can send on the localhost only.
I have samba running, but have no domain name - just localhost/
localdomain - using the ip above.
I get mail for root (log files, etc) which is fine. But my
sendmail.cf or .mc file is messed up.
any tips on how to reset to a generic condition?
thank,
eholz1
Re: Configure sendmail for localhost only
eholz1 wrote:
> Hello Sendmail group,
>
> I am getting hundreds of error messages like the one below:
> <root [at] ewhlinux.localdomain>... Deferred: Connection refused by
> 192.168.1.1.
> Message could not be delivered for 5 days
>
> I have fedora core 6, intel motherboard. I tried to configure
> sendmail once, and obviously failed.
> I would like to know how I can revert (or re-install) sendmail so I
> can send on the localhost only.
rpm -e sendmail
rm /etc/mail/sendmail.*
rpm -Uvh sendmail-<version>.i386.rpm
You need to have the rpm in question and if you are using something else
than x86 based machine, use the right rpm package.
I do suggest that you always make a backup of your sendmail.mc before
you make changes, that way you can get back if the changes you make
don't work as you wanted.
The default sendmail setup in Fedora do work for local delivery and
won't listen to any external networks, just the 127.0.0.1.
> I have samba running, but have no domain name - just localhost/
> localdomain - using the ip above.
Should use 127.0.0.1 and nothing else.
--
//Aho
Re: Configure sendmail for localhost only
On Sep 23, 2:46 am, "J.O. Aho" <u... [at] example.net> wrote:
> eholz1 wrote:
> > Hello Sendmail group,
>
> > I am getting hundreds of error messages like the one below:
> > <r... [at] ewhlinux.localdomain>... Deferred: Connection refused by
> > 192.168.1.1.
> > Message could not be delivered for 5 days
>
> > I have fedora core 6, intel motherboard. I tried to configure
> > sendmail once, and obviously failed.
> > I would like to know how I can revert (or re-install) sendmail so I
> > can send on the localhost only.
>
> rpm -e sendmail
> rm /etc/mail/sendmail.*
> rpm -Uvh sendmail-<version>.i386.rpm
>
> You need to have the rpm in question and if you are using something else
> than x86 based machine, use the right rpm package.
>
> I do suggest that you always make a backup of your sendmail.mc before
> you make changes, that way you can get back if the changes you make
> don't work as you wanted.
>
> The default sendmail setup in Fedora do work for local delivery and
> won't listen to any external networks, just the 127.0.0.1.
>
> > I have samba running, but have no domain name - just localhost/
> > localdomain - using the ip above.
>
> Should use 127.0.0.1 and nothing else.
>
> --
>
> //Aho
Hello Aho -
Thanks for the info. I was thinking along those directions.
Thanks again
eholz1