View Single Post
  #10  
Old 19th March 2012, 23:47
3DPeruna 3DPeruna is offline
Member
 
Join Date: Jan 2007
Posts: 50
Thanks: 8
Thanked 0 Times in 0 Posts
Default

Ok... so this is what I've got.

A & B won't talk to each other, but I can send from out side (for instance Gmail) to A and B.

Here's the setup:

Cisco Router has a static IP of XXX.XXX.XXX.123
Server A is behind the Cisco router with a static IP XXX.XXX.XXX.122
Server B is behind the Cisco Router with a static IP 192.168.1.252, but NATed to XXX.XXX.XXX.124.

Web services work great on A & B. Email is just fine on A. Email is fine on B. Except B won't talk to A and vice versa.

I can't send mail to A or B. If I try to send from B to A, on server B I get:

Code:
Mar 19 17:31:39 serverB postfix/smtp[23088]: 340211C01594: to=<email@serverA.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.69, delays=0.14/0/0.01/0.54, dsn=2.0.0, status=sent (250 2.0.0 from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as B80CE1C0159E)
Also, nothing shows in the logs on Server A when sending from B to A.

When I send from A to B, on server A I get:

Code:
Mar 19 15:24:41 serverA postfix/smtpd[3997]: warning: XXX.XXX.XXX.123: hostname XXX-XXX-XXX-123.myisp.net verification failed: Name or service not known
Mar 19 15:24:41 serverA postfix/smtpd[3997]: connect from unknown[XXX.XXX.XXX.123]
Mar 19 15:24:41 serverA postfix/smtpd[3997]: BBAC71EA0047: client=unknown[XXX.XXX.XXX.123], sasl_method=PLAIN, sasl_username=email@serverA.com
Mar 19 15:24:41 serverA postfix/cleanup[4000]: BBAC71EA0047: message-id=<4F679609.9000706@serverA.com>
Mar 19 15:24:41 serverA postfix/qmgr[9943]: BBAC71EA0047: from=<email@serverA.com>, size=52240, nrcpt=1 (queue active)
Mar 19 15:24:41 serverA postfix/smtpd[3997]: disconnect from unknown[XXX.XXX.XXX.123]
Mar 19 15:24:42 serverA postfix/smtpd[4004]: connect from localhost.localdomain[127.0.0.1]
Mar 19 15:24:42 serverA postfix/smtpd[4004]: 35B071EA0AB7: client=localhost.localdomain[127.0.0.1]
Mar 19 15:24:42 serverA postfix/cleanup[4000]: 35B071EA0AB7: message-id=<4F679609.9000706@serverA.com>
Mar 19 15:24:42 serverA postfix/smtpd[4004]: disconnect from localhost.localdomain[127.0.0.1]
Mar 19 15:24:42 serverA postfix/qmgr[9943]: 35B071EA0AB7: from=<email@serverA.com>, size=52750, nrcpt=1 (queue active)
Mar 19 15:24:42 serverA amavis[5714]: (05714-11) Passed CLEAN, [XXX.XXX.XXX.123] [XXX.XXX.XXX.123] <email@serverA.com> -> <email@serverB.com>, Message-ID: <4F679609.9000706@serverA.com>, mail_id: QDiV7azwhtUI, Hits: -1.205, size: 52240, queued_as: 35B071EA0AB7, 429 ms
Mar 19 15:24:42 serverA postfix/smtp[4001]: BBAC71EA0047: to=<email@serverB.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.55, delays=0.12/0/0/0.43, dsn=2.0.0, status=sent (250 2.0.0 from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 35B071EA0AB7)
Mar 19 15:24:42 serverA postfix/qmgr[9943]: BBAC71EA0047: removed
Mar 19 15:24:42 serverA postfix/smtp[4026]: 35B071EA0AB7: to=<email@serverB.com>, relay=none, delay=0.14, delays=0.04/0/0.09/0, dsn=5.4.6, status=bounced (mail for serverB.com loops back to myself)
Mar 19 15:24:42 serverA postfix/cleanup[4000]: 60C611EA0C3B: message-id=<20120319202442.60C611EA0C3B@serverA.com>
Mar 19 15:24:42 serverA postfix/bounce[4027]: 35B071EA0AB7: sender non-delivery notification: 60C611EA0C3B
Mar 19 15:24:42 serverA postfix/qmgr[9943]: 60C611EA0C3B: from=<>, size=3247, nrcpt=1 (queue active)
Mar 19 15:24:42 serverA postfix/qmgr[9943]: 35B071EA0AB7: removed
Mar 19 15:24:42 serverA postfix/pipe[4007]: 60C611EA0C3B: to=<email@serverA.com>, relay=maildrop, delay=0.1, delays=0.03/0/0/0.07, dsn=2.0.0, status=sent (delivered via maildrop service)
Mar 19 15:24:42 serverA postfix/qmgr[9943]: 60C611EA0C3B: removed
and on Server B:

Code:
Mar 19 17:40:35 serverB postfix/smtp[24568]: B80CE1C0159E: to=<email@serverA.com>, relay=none, delay=535, delays=505/0.08/30/0, dsn=4.4.1, status=deferred (connect to serverA.com[XXX.XXX.XXX.122]:25: Connection timed out)
Mar 19 17:40:35 serverB postfix/smtp[24572]: connect to serverA.com[XXX.XXX.XXX.122]:25: Connection timed out
Originally, I was trying to get a web site on Server B to use SMTP to connect to Server A to send emails, but nothing was working. As an alternative, I created some accounts on Server B to send to the Server A accounts, but those weren't working, either.

There is something with how things are configured that keeps A and B from talking to each other on Port 25 (or 587)... but both can talk to the rest of the world.

Last edited by 3DPeruna; 20th March 2012 at 01:21.
Reply With Quote