If you have 4 network entries on a single interface, smtp will use the last of them.
So for eth0 you have : ifcfg-eth0 ifcfg-eth0:0 ifcfg-eth0:1 ifcfg-eth0:2 The entry you want your primary ip on is 0:2. George. ----- Original Message ----- From: "Eric "Shubes"" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Wednesday, January 10, 2007 2:16 PM Subject: Re: [qmailtoaster] smtp hanging up Thanks for the pointer, George. Nice thing to know! To be more specific, is that the last one listed by ifconfig? (and what determines that?) George Sweetnam wrote: > One thing to keep in mind when adding multiple ip's on a machine... the > smtp > services will use the LAST ip listed on the box. That can play havoc with > reverse dns, tcprules, firewalls, ect. I learned it the hard way with a > machine I switched to add additional ip's last year and we started having > smtp problems because of it (SPF mainly). > > George > ----- Original Message ----- > From: "Eric "Shubes"" <[EMAIL PROTECTED]> > To: <[email protected]> > Sent: Thursday, January 04, 2007 11:33 PM > Subject: Re: [qmailtoaster] smtp hanging up > > > Erik Espinoza wrote: >> Sounds like an smtp route is missing in the postfix. > > I'll buy that, since the /var/log/maillog on the web server says: > > Jan 4 21:47:51 hostname postfix/smtp[30371]: connect to > mail.mydomain.com[10.0.1.70]: No route to host (port 25) > > (see reply to Jake) > >> Your postfix is >> probably connecting to the outside static ip instead of attempting to >> hit 10.0.1.69 directly on the private network. > > You may be on to something here, but I'm not sure. > > main.cf for postfix had relayhost = 10.0.1.70. I changed it to 10.0.1.69, > and two messages made it through. That seems to have fixed things up > somewhat. I'll have to talk with the networking guy tomorrow and see why > .70 > was used instead of .69. > > Thanks loads EE. You've pointed me in the right direction! > Thanks to Jake and everyone else too! I really appreciate everyone's help. > >> See if, frm a diff machine, you can hit 10.0.1.69 from the outside ip. >> >> >> >> On 1/4/07, Eric Shubes <[EMAIL PROTECTED]> wrote: >>> This problem has me stumped at the moment. >>> >>> A (relatively) high volume toaster (10.0.1.69) on CentOS4. It's been >>> running >>> fine for the most part. However, when processing messages from a local >>> web >>> server (10.0.1.66) relayed from postfix, the message doesn't go through. >>> FWIW (doesn't make sense to me) the sending postfix queue shows that the >>> connection timed out or no route to host. >>> >>> I turned on recordio to see what's happening, and here the smtp log for >>> a >>> session: >>> >>> 2007-01-04 18:23:53.798287500 tcpserver: status: 0/100 >>> 2007-01-04 18:23:54.875954500 tcpserver: status: 1/100 >>> 2007-01-04 18:23:54.875962500 tcpserver: pid 5787 from 10.0.1.66 >>> 2007-01-04 18:23:54.875964500 tcpserver: ok 5787 spin4:10.0.1.69:25 >>> :10.0.1.66::43332 >>> 2007-01-04 18:23:54.875967500 5787 < [EOF] >>> 2007-01-04 18:23:54.970660500 5787 > 220 mydomain.com - Welcome to Qmail >>> Toaster Ver. 1.3 SMTP Server ESMTP^M >>> 2007-01-04 18:23:54.970671500 5787 > [EOF] >>> 2007-01-04 18:23:54.970673500 tcpserver: end 5787 status 256 >>> 2007-01-04 18:23:54.970675500 tcpserver: status: 0/100 >>> >>> The smtp session rapidly terminates, out of the blue. >>> >>> I can telnet from the web server to the toaster just fine. >>> >>> tcp.smtp: >>> 127.:allow,RELAYCLIENT="" >>> 10.0.1.:allow,RELAYCLIENT="" >>> :allow,BADMIMETYPE="",BADLOADERTYPE="M",CHKUSER_RCPTLIMIT="50",CHKUSER_WRONGRCPTLIMIT="10",QMAILQUEUE="/var/qmail/bin/simscan",DKSIGN="/var/qmail/control/domainkeys/%/private" >>> >>> >>> qmail-dk has been taken out (qmail-queue -> qmail-queue.orig) >>> >>> timeoutsmtpd: >>> 60 >>> >>> Any thoughts/ideas? >>> >>> -- >>> -Eric 'shubes' >>> > > -- -Eric 'shubes' --------------------------------------------------------------------- QmailToaster hosted by: VR Hosted <http://www.vr.org> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- QmailToaster hosted by: VR Hosted <http://www.vr.org> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
