Re: [CentOS] Sendmail problem - baffled

2012-05-15 Thread Jussi Hirvi
On 16.5.2012 2.42, Jussi Hirvi wrote: > Now I just have to fix the sendmail ("rx" instance) config so that it > really sends the email to localhost (where amavis is listening), instead > of trying to send directly to the final destination. Ok, I found it, and it is *so* obvious. Still it took me h

Re: [CentOS] Sendmail problem - baffled

2012-05-15 Thread Jussi Hirvi
On 16.5.2012 1.03, Alexander Dalloz wrote: >> define(`ESMTP_MAILER_ARGS',`TCP $h 10024')dnl > Right, here you modify the target port of that Sendmail instance. And I > bet $1.000 that if you tcpdump on the main mail server you will see the > sending attempt to come in there at port 10024 and thus

Re: [CentOS] Sendmail problem - baffled

2012-05-15 Thread Alexander Dalloz
Am 15.05.2012 23:39, schrieb Jussi Hirvi: > On 15.5.2012 23.54, Alexander Dalloz wrote: >> So there must be "sm-mta-rx" be defined somewhere. > > Just in case, here is my conf for the rx instance. To repeat, this > sendmail instance sends everything to amavisd at port 10024. > - Jussi Ah, here i

Re: [CentOS] Sendmail problem - baffled

2012-05-15 Thread Jussi Hirvi
On 16.5.2012 0.37, Frank Cox wrote: > What's the point of that? (Genuine question.) > > One server here, one across town, or even two separate boxes in a single room > -- sure. But in the same box? If the the box is on fire, now you're out both > your main and your backup server. > > I must be

Re: [CentOS] Sendmail problem - baffled

2012-05-15 Thread Scott Silva
on 5/15/2012 2:39 PM Jussi Hirvi spake the following: > On 15.5.2012 23.54, Alexander Dalloz wrote: >> So there must be "sm-mta-rx" be defined somewhere. > > Just in case, here is my conf for the rx instance. To repeat, this > sendmail instance sends everything to amavisd at port 10024. > - Jussi

Re: [CentOS] Sendmail problem - baffled

2012-05-15 Thread Alexander Dalloz
Am 15.05.2012 23:42, schrieb Larry Martell: > On Tue, May 15, 2012 at 3:37 PM, Frank Cox > wrote: >> On Wed, 16 May 2012 00:31:22 +0300 >> Jussi Hirvi wrote: >> >>> BTW, the two servers are virtual machines in one and the same physical box. >> >> What's the point of that? (Genuine question.) >>

Re: [CentOS] Sendmail problem - baffled

2012-05-15 Thread Alexander Dalloz
Am 15.05.2012 23:37, schrieb Frank Cox: > On Wed, 16 May 2012 00:31:22 +0300 > Jussi Hirvi wrote: > >> BTW, the two servers are virtual machines in one and the same physical box. > > What's the point of that? (Genuine question.) > > One server here, one across town, or even two separate boxes

Re: [CentOS] Sendmail problem - baffled

2012-05-15 Thread Larry Martell
On Tue, May 15, 2012 at 3:37 PM, Frank Cox wrote: > On Wed, 16 May 2012 00:31:22 +0300 > Jussi Hirvi wrote: > >> BTW, the two servers are virtual machines in one and the same physical box. > > What's the point of that?  (Genuine question.) > > One server here, one across town,  or even two separat

Re: [CentOS] Sendmail problem - baffled

2012-05-15 Thread Alexander Dalloz
Am 15.05.2012 23:19, schrieb Jussi Hirvi: > On 15.5.2012 23.54, Alexander Dalloz wrote: >> What is the content of the submit.mc? Your previous log snipplet showed >> May 15 22:21:41 mx2 sm-mta-rx[8674]: q4FIhPij007483: makeconnection > >> So there must be "sm-mta-rx" be defined somewhere. >

Re: [CentOS] Sendmail problem - baffled

2012-05-15 Thread Jussi Hirvi
On 15.5.2012 23.54, Alexander Dalloz wrote: > So there must be "sm-mta-rx" be defined somewhere. Just in case, here is my conf for the rx instance. To repeat, this sendmail instance sends everything to amavisd at port 10024. - Jussi divert(-1)dnl include(`/usr/share/sendmail-cf/m4/cf.m4')dnl VER

Re: [CentOS] Sendmail problem - baffled

2012-05-15 Thread Frank Cox
On Wed, 16 May 2012 00:31:22 +0300 Jussi Hirvi wrote: > BTW, the two servers are virtual machines in one and the same physical box. What's the point of that? (Genuine question.) One server here, one across town, or even two separate boxes in a single room -- sure. But in the same box? If the

Re: [CentOS] Sendmail problem - baffled

2012-05-15 Thread Jussi Hirvi
On 16.5.2012 0.24, m.r...@5-cent.us wrote: > Hmmm... dumb question: is anything out of disk space? There are no dumb questions here. :-) The culprit has to be something simple like that. However, df shows that there is still room. - Jussi ___ CentOS ma

Re: [CentOS] Sendmail problem - baffled

2012-05-15 Thread Jussi Hirvi
On 16.5.2012 0.18, John Hinton wrote: > A couple of things to check. I don't know if these servers are in the > same location or not but it is possible if not, that your provider > blocks port 25. Here are two configs to check. Thanks for input. I can make the contact from the backup-mailserver to

Re: [CentOS] Sendmail problem - baffled

2012-05-15 Thread m . roth
Jussi Hirvi wrote: > On 15.5.2012 23.54, Alexander Dalloz wrote: >> What is the content of the submit.mc? Your previous log snipplet showed >> >>> > May 15 22:21:41 mx2 sm-mta-rx[8674]: q4FIhPij007483: makeconnection > >> So there must be "sm-mta-rx" be defined somewhere. > > Yes. In a dual sendma

Re: [CentOS] Sendmail problem - baffled

2012-05-15 Thread Jussi Hirvi
On 15.5.2012 23.54, Alexander Dalloz wrote: > What is the content of the submit.mc? Your previous log snipplet showed > >> > May 15 22:21:41 mx2 sm-mta-rx[8674]: q4FIhPij007483: makeconnection > So there must be "sm-mta-rx" be defined somewhere. Yes. In a dual sendmail setup there are two instan

Re: [CentOS] Sendmail problem - baffled

2012-05-15 Thread John Hinton
On 5/15/2012 4:57 PM, Bowie Bailey wrote: > On 5/15/2012 4:48 PM, Jussi Hirvi wrote: >> On 15.5.2012 23.22, Alexander Dalloz wrote: >>> It is technically impossible that the telnet to target port 25 succeeds >>> from the same system on which the Sendmail gets a connection refused, >>> unless Sendma

Re: [CentOS] Sendmail problem - baffled

2012-05-15 Thread Bowie Bailey
On 5/15/2012 4:48 PM, Jussi Hirvi wrote: > On 15.5.2012 23.22, Alexander Dalloz wrote: >> It is technically impossible that the telnet to target port 25 succeeds >> from the same system on which the Sendmail gets a connection refused, >> unless Sendmail is configured to use a non-standard target po

Re: [CentOS] Sendmail problem - baffled

2012-05-15 Thread Alexander Dalloz
Am 15.05.2012 22:48, schrieb Jussi Hirvi: > Below is my thishost-tx.mc. It looks totally ok to me, but maybe > somebody else spots something there. This is a dual-sendmail setup, and > this is the conf for the transmitting sendmail instance. > > - Jussi > > divert(-1)dnl > include(`/usr/share/s

Re: [CentOS] Sendmail problem - baffled

2012-05-15 Thread Jussi Hirvi
On 15.5.2012 23.33, m.r...@5-cent.us wrote: > Is there any chance that your sendmail is sending an invalid id? Uh, what do you mean by id? Domain name? I assume that comes from /etc/sysconfig/network. which correctly says > HOSTNAME=mx2.greenspot.fi - Jussi __

Re: [CentOS] Sendmail problem - baffled

2012-05-15 Thread Jussi Hirvi
On 15.5.2012 23.22, Alexander Dalloz wrote: > It is technically impossible that the telnet to target port 25 succeeds > from the same system on which the Sendmail gets a connection refused, > unless Sendmail is configured to use a non-standard target port. That is why I am baffled. :-/ I could us

Re: [CentOS] Sendmail problem - baffled

2012-05-15 Thread m . roth
Jussi Hirvi wrote: > Some more info. Below is a more complete telnet session from backup mail > server (mx2.greenspot.fi) to primary mail server (mail.greenspot.fi). > > It only proves that sending mail works fine from command-line. But my > sendmail setup cannot do the same. Is there any chance t

Re: [CentOS] Sendmail problem - baffled

2012-05-15 Thread Jussi Hirvi
Some more info. Below is a more complete telnet session from backup mail server (mx2.greenspot.fi) to primary mail server (mail.greenspot.fi). It only proves that sending mail works fine from command-line. But my sendmail setup cannot do the same. I wrote that MAILER-DAEMON can get mail through

Re: [CentOS] Sendmail problem - baffled

2012-05-15 Thread Alexander Dalloz
Am 15.05.2012 21:44, schrieb Jussi Hirvi: > Our backup mail server (which I have just re-configured) tries to > contact the primary mail server, and fails. My log shows repeatedly > "connection refused": > > May 15 22:21:41 mx2 sm-mta-rx[8674]: q4FIhPij007483: makeconnection > (mail.greenspot.f

[CentOS] Sendmail problem - baffled

2012-05-15 Thread Jussi Hirvi
Our backup mail server (which I have just re-configured) tries to contact the primary mail server, and fails. My log shows repeatedly "connection refused": May 15 22:21:41 mx2 sm-mta-rx[8674]: q4FIhPij007483: makeconnection (mail.greenspot.fi. [83.143.217.182]) failed: Connection refused by ma