Port 25 not open
James Pifer
mailscannerlist at TNJINFL.COM
Thu Nov 21 19:28:18 GMT 2002
Brett,
Thanks, that was it. What a nightmare!
Thanks to everyone, especially Julian and his list. You're right, a lot
of experience on this list and it's great to see people willing to help
those that are not experts. (at this rate I feel like the learning will
never end....)
James
On Thu, 2002-11-21 at 14:12, Brett wrote:
> hi, the version of RH does matter in this case
> try rebuilding sendmail using
> m4 /etc/mail/sendmail.mc > /etc/sendmail.cf
> it was RH8 that started putting sendmail.cf in
> /etc/mail , prior it is located in /etc
>
> brett
>
> --- James Pifer <mailscannerlist at TNJINFL.COM> wrote:
> > Now I've also tried the following line:
> > DAEMON_OPTIONS(`Port=smtp, Name=MTA')
> >
> > I started out by commenting the whole line and it
> > didn't work.
> > Commenting it out was how I did it on all my test
> > servers.
> >
> > netstat -an | grep 25 gives me:
> > tcp 0 0 127.0.0.1:25
> > 0.0.0.0:*
> > LISTEN
> > unix 2 [ ] DGRAM
> > 1258
> >
> > Maybe I'm not rebuilding it correctly. After
> > modifying the sendmail.mc
> > file I rebuild it with:
> > m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
> >
> > Then I restart MailScanner with "service MailScanner
> > reload"
> >
> > I wrote and tested my steps from my original post
> > using Redhat 8.0. The
> > server having the problem is 7.3, if that matters.
> >
> > Thanks,
> > James
> > sorry to be using this list for an obvious
> > sendmail/red hat problem....
> >
> > On Thu, 2002-11-21 at 13:39, Brett wrote:
> > > hello,
> > > try to simply comment out (dnl) the line
> > >
> > DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1,Name=MTA')
> > > there is no need to replace it. after this
> > rebuild
> > > the sendmail.cf file, then restart MailScanner
> > >
> > > hth,
> > > brett
> > >
> > > --- James Pifer <mailscannerlist at TNJINFL.COM>
> > wrote:
> > > > Antony,
> > > >
> > > > ipchains -L shows me that ports 22 and 25 are
> > open.
> > > > Without giving you
> > > > the exact verbage, let's just say both ports
> > look
> > > > the same in the output
> > > > and I can connect through SSH. Basically, I'm
> > sure
> > > > port 25 is open.
> > > >
> > > > Processes running? Is this what you mean?
> > > > 2108 root sendmail: accepting connections
> > > > 2113 root /usr/sbin/sendmail -q5m
> > > > 2122 root /usr/bin/perl -I/usr/lib/MailScanner
> > > > /usr/sbin/MailScanner
> > > > /etc/Ma
> > > > 2125 root /usr/bin/perl
> > > > -I/usr/lib/MailScanner/usr/sbin/MailScanner
> > > > /etc/Ma
> > > >
> > > > Yes, I can connect to port 25 on the local port.
> > > > I've verified that I
> > > > modified the sendmail.mc file and rebuilt the cf
> > > > using M4.
> > > > I've tried commenting it out:
> > > > dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1,
> > > > Name=MTA')
> > > > And I've tried using the real ip address in the
> > line
> > > > DAEMON_OPTIONS(`Port=smtp,Addr=192.168.1.25,
> > > > Name=MTA')
> > > >
> > > > Still can't see the port open.
> > > >
> > > > Any other suggestions? Thanks,
> > > > James
> > > >
> > > > On Thu, 2002-11-21 at 10:46, Antony Stone wrote:
> > > > > On Thursday 21 November 2002 3:43 pm, James
> > Pifer
> > > > wrote:
> > > > >
> > > > > > We're installing a new server to use in
> > > > production. I wrote a short list
> > > > > > of steps to install it the exact same way my
> > > > test servers were setup.
> > > > > > Everything went fine, except port 25 is not
> > > > open.
> > > > >
> > > > > > -Make sure port 25 is open with ipchains -L
> > > > >
> > > > > What does this command show ?
> > > > >
> > > > > What processes do you see running ?
> > > > >
> > > > > Can you connect to port 25 from the local
> > machine,
> > > > ie:
> > > > > telnet localhost 25
> > > > >
> > > > > Antony.
> > > > >
> > > > > --
> > > > >
> > > > > All matter in the Universe can be placed into
> > one
> > > > of two categories:
> > > > >
> > > > > 1. things which need to be fixed
> > > > > 2. things which will need to be fixed once
> > you've
> > > > had a few minutes to play
> > > > > with them
> > >
> > >
> > > __________________________________________________
> > > Do you Yahoo!?
> > > Yahoo! Mail Plus Powerful. Affordable. Sign up
> > now.
> > > http://mailplus.yahoo.com
>
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
More information about the MailScanner
mailing list