[plug] Problems with Sendmail

J. Richard Mortimer richardm at memo.com.au
Fri Jan 7 12:46:34 WST 2005


Hi Craig,

Thanks for the suggestion; the first 3 entries (localhost,
localhost.localdomain and 127.0.0.1) were already listed in the access file,
I have added the 192.168.0 entry, as well as neophyte.mine.nu and
202.72.154.34, all with RELAY as their command.

Rebuilt the databases with "make" and used 'service sendmail restart' to
restart, but still get:

Jan  7 12:44:31 neophytte sendmail[2073]: j074iVF8002073: from=root,
size=1684, class=0, nrcpts=1,
msgid=<200501070444.j074iVF8002073 at neophytte.mine.nu>, relay=root at localhost
Jan  7 12:44:32 neophytte sendmail[2073]: j074iVF8002073: to=mortimer,
ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:01, mailer=relay,
pri=30014, relay=neophytte.mine.nu. [202.72.154.34], dsn=4.0.0,
stat=Deferred: Connection refused by neophytte.mine.nu.

In the logfile.

Thanks

Richard


-----Original Message-----
From: plug-bounces at plug.linux.org.au [mailto:plug-bounces at plug.linux.org.au]
On Behalf Of Craig Foster
Sent: Friday, January 07, 2005 12:30 PM
To: plug at plug.linux.org.au
Subject: RE: [plug] Problems with Sendmail

You'll also want to make sure your local ip's are listed in /etc/mail/access
Eg for a local 192.168.0.x network...

localhost.localdomain           RELAY
localhost                       RELAY
127.0.0.1                       RELAY
192.168.0                       RELAY

Don't forget to change to the /etc/mail directory and run 'make' to redo the
database files.

Oh, and a 'service sendmail restart' to make sure sendmail is using the new
settings.

Regards,

CraigF.

> -----Original Message-----
> From: plug-bounces at plug.linux.org.au 
> [mailto:plug-bounces at plug.linux.org.au] On Behalf Of Mark O'Shea
> Sent: Friday, 7 January 2005 12:01 PM
> To: plug at plug.linux.org.au
> Subject: Re: [plug] Problems with Sendmail
> 
> On Fri, 2005-01-07 at 11:48, J. Richard Mortimer wrote:
> > Hi Folks,
> > 
> >  
> > 
> > I?ve been a long time Linux user, however I?ve been sucked 
> back into 
> > the Windows world and my skillset in the *nix area is a little bit 
> > rusty.
> > 
> <--snip-->
> Hi,
> 
> You probably want to pay attention to the part of the file that says:
> 
> dnl This changes sendmail to only listen on the loopback device
> 127.0.0.1
> dnl and not on any other network devices. Comment this out if 
> you want dnl to accept email over the network.
> DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')
> 
> 
> This stops connections to sendmail from anything other than 
> the loopback device.  Use dnl (stands for delete until new 
> line) to comment it out, and rebuild.
> 
> --
> Mark O'Shea
> 
> _______________________________________________
> PLUG discussion list: plug at plug.linux.org.au 
> http://spark.plug.linux.org.au/cgi-bin/mailman/listinfo/plug
> Committee e-mail: committee at plug.linux.org.au
> 


_______________________________________________
PLUG discussion list: plug at plug.linux.org.au
http://spark.plug.linux.org.au/cgi-bin/mailman/listinfo/plug
Committee e-mail: committee at plug.linux.org.au




More information about the plug mailing list