[CLUE-Tech] sendmail frustrations

cody at neosolv.net cody at neosolv.net
Sat Dec 15 01:17:03 MST 2001


oh, and HUP/restart sendmail after the change of course.  :)

c

On Sat, 15 Dec 2001 cody at neosolv.net wrote:

> 
> If I remember correctly, in the newer versions of Sendmail, the sendmail 
> config is set to only listen to the loopback address by default.  Take a 
> look at /etc/mail/sendmail.mc, and you'll probably see something like 
> this:
> 
> 
> 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')
> 
> 
> If this is the culprit, you'll see the DAEMON_OPTIONS line not commented 
> out as above.  To get it Sendmail to listen/bind on your public IP just 
> comment the line out with a dnl, or you can add/edit the line and put your 
> IP in place of 127.0.0.1.
> 
> Also, after your changes to this file you'll have to remake your 
> sendmail.cf file from the newly edited sendmail.mc file.  In many cases, 
> like so:
> 
> m4 /etc/mail/sendmail.mc > /etc/sendmail.cf
> 
> If you happen to not use the Sendmail Macro/m4 style, just take a look at 
> your sendmail.cf file directly and look for something like this:
> 
> 
> # SMTP daemon options
>  
> O DaemonPortOptions=Port=smtp,Addr=127.0.0.1, Name=MTA
> 
> 
> 
> 
> regards,
> 
> cody
> 
> 
> 
> On Fri, 14 Dec 2001, Mike Staver wrote:
> 
> > All I've done for the last 5 years is this:
> > 
> > /etc/rc.d/init.d/sendmail restart
> > 
> > I do that after I make the appropriate changes to:
> > 
> > /etc/mail/access
> > 
> > Is sendmail using some other file now, or is my ip address
> > 216.150.207.155 not being detected right by sendmail?  I'm clueless on
> > this one, and totally confused as to why entering in my ip address like
> > I showed you doesn't work.  But, like I said, this is the second time
> > this has happened to me, and I never did find a solution for the other
> > guy because I just thought he didn't know how to determine his ip
> > address :)
> > 
> > rjohnston at techangle.com wrote:
> > > 
> > > Are you doing a make and restarting sendmail after you edit your access file?
> > > 
> > > > -----Original Message-----
> > > > From: clue-tech-admin at clue.denver.co.us
> > > > [mailto:clue-tech-admin at clue.denver.co.us]On Behalf Of Mike Staver
> > > > Sent: Thursday, December 13, 2001 10:52 PM
> > > > To: clue-tech at clue.denver.co.us
> > > > Subject: [CLUE-Tech] sendmail frustrations
> > > >
> > > >
> > > > Ugh, I can't seem to figure this out.  I have been editing
> > > > /etc/mail/access to look like so:
> > > >
> > > > #Mike & Jen's DSL
> > > > 216.150.207.155                 RELAY
> > > >
> > > > That's my ip address... I then restart sendmail, and expect to be able to
> > > > send email through smtp from my new DSL ip address with Viawest.  I've
> > > > added ip addresses to /etc/mail/access a million times before, and this
> > > > has always worked - except one time.  I had a friend who had DSL with
> > > > earthlink before, and I added his ip only to get the same error about
> > > > relaying being denied.  Does anyone know what I'm doing wrong??
> > 
> 
> 




More information about the clue-tech mailing list