Re: fc3, sendmail, dovecot: cannot receive from outside

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



rado wrote:
> > this is a bare fc3 install w/no upgrades yet. its it's own dns
server
> > and seems to work fine. 
> > 
> > the sendmail.mc config file...the loopback daemon option is
commented
> > out. 

Rick Stevens wrote:
> I hope you mean you changed the line in /etc/mail/sendmail.mc to read
>
>        DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl

ok...I shut this box(fc2 [rbmain1 10.0.0.10]) down. brought up the
problem child, (fc3 [rbmain2 10.0.0.12]) and did as you asked although I
had my reservations because of all my prior readings.
I did use:   DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl 
and then restarted sendmail.
 
> > I can send and receive a msg to myself using evolution and can send
> > mail outside but cannot receive.
> > y'all probably need more info but let's just start here.
> > I don't think the msgs are getting thru to that system because this
> > sendmail is setup on an FC2 machine and it's getting the 
> > replies of msgs that should have gone to that other server. 
> > So it looks like that fc3 sys is refusing but I can't see in the 
> > logs where it's doing so. I have remaked  the "mc" file a couple 
> > times in /etc/mail. host and resolve look ok...just dunno

> Do:
>         # netstat -lpn | grep sendmail
> 
> If you see a line that contains "127.0.0.1:25", then you didn't stop
> and restart sendmail after rebuilding /etc/mail/sendmail.cf 
> from the .mc file.  You have to do that.  sendmail only reads
> that when it starts.
> Try "service sendmail restart" and repeat the netstat command.
> It should now have a line that contains "xxx.xxx.xxx.xxx:25" in
> it, where the "xxx.xxx.xxx.xxx" is your machine's public IP address.

whoa!!! oh no!... explanation will follow after netstat reports:

fc3 [rbmain2 10.0.0.12] the problem child:
#netstat -lpn | grep sendmail
tcp  0  0 0.0.0.0:25  0.0.0.0:*  LISTEN 2412/sendmail: acce
the only thing that changed before and after is the the PID#
2412/sendmail and 3757/sendmail....those #s are PID huh?

fc2 [rbmain1 10.0.0.10] this machine right now:
tcp        0      0 0.0.0.0:25              0.0.0.0:*              
LISTEN      2335/sendmail: acce 

ok...for these machine...as the primary dns, I use 127.0.0.1
secondary either my own static: 209.205.179.141 or my friend and ISP's
209.205.176.2. I don't even need to call out a secondary for the
different boxes as dns takes care of all that.
so consequently, this box's primary dns is stated as 127.0.0.1...other
boxes in this lan point to this box 10.0.0.10 as their primary or
10.0.0.12 whichever is up during this transition.

thx Jim

John Rose

-- 
Trust Everyone. Just make sure you brand your cattle.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux