After installation mail can't be sent to some domains

Address problems with the installation and initial configuration
SageIsland
Student Sheep
Posts: 19
Joined: Wed Jul 16, 2014 3:00 am

After installation mail can't be sent to some domains

Wed Jul 16, 2014 3:13 am

We have MailWasher Enterprise installed and running with all of our domains and domain alias' added. On some of the domains when we send an email we get an immediate Postmaster return with the following error:

"DATA command generated response:
250 ok its for <wendy@MWESserver.com>"

This message does not show up anywhere in the MWES system by search but when I check the log files I do see the following:

2014-07-15 09:41:21 [7260] Debug: SMTPChannel::PutClientLine: Email ID(308) From Relay(simail3.DOMAIN.com) To Client IP(66.235.108.12) 220 SIMAIL3.DOMAIN.COM (IMail 12.2.0.235 300-1) NT-ESMTP Server X1 (MP)
2014-07-15 09:41:21 [7260] Debug: SMTPChannel::GetClientLine: Email ID(308) MAIL FROM:<brandon@DOMAIN.com>
2014-07-15 09:41:21 [7260] Debug: SMTPChannel::PutClientLine: Email ID(308) From Relay(simail3.DOMAIN.com) To Client IP(66.235.108.12) 250 ok
2014-07-15 09:41:21 [7260] Debug: SMTPChannel::GetClientLine: Email ID(308) RCPT To:<wendy@MWESserver.com>
2014-07-15 09:41:21 [7260] Debug: SMTPChannel::PutClientLine: Email ID(308) From Relay(simail3.DOMAIN.com) To Client IP(66.235.108.12) 250 ok its for <wendy@MWESserver.com>
2014-07-15 09:41:21 [7260] Debug: SMTPChannel::GetClientLine: Email ID(308) DATA
2014-07-15 09:41:21 [7260] Debug: SMTPChannel::PutClientLine: Email ID(308) From Relay(simail3.DOMAIN.com) To Client IP(66.235.108.12) 354 Enter mail, end with "." on a line by itself
2014-07-15 09:41:21 [7260] Debug: SMTPChannel::ObjectThreadMethod - SocketClosedException - Socket Closed

The email hits the server but it never delivered to the recipient and it can't be found from within the MWES Admin panel.
Last edited by SageIsland on Wed Jul 23, 2014 8:12 am, edited 1 time in total.
SageIsland
Student Sheep
Posts: 19
Joined: Wed Jul 16, 2014 3:00 am

Re: After installation mail can't be sent to some domains

Wed Jul 16, 2014 6:26 am

Does anyone have any ideas on this issue? We would like to implement this on 3 servers total but I need to be able to send email to all users and all domains on the server.
User avatar
nick.bolton
The Big Cheese
Posts: 2468
Joined: Thu Aug 28, 2008 4:02 pm

Re: After installation mail can't be sent to some domains

Wed Jul 16, 2014 6:31 am

Have sent the logs to some colleagues, so will come back to you. It's 6:30am here in New Zealand, so we'll get back to you when people are in the office.
SageIsland
Student Sheep
Posts: 19
Joined: Wed Jul 16, 2014 3:00 am

Re: After installation mail can't be sent to some domains

Wed Jul 16, 2014 6:36 am

If you want me to attach a the full log (about 5 minutes) I can just let me know.
User avatar
nick.bolton
The Big Cheese
Posts: 2468
Joined: Thu Aug 28, 2008 4:02 pm

Re: After installation mail can't be sent to some domains

Wed Jul 16, 2014 6:41 am

I think you already sent it to us, so I've sent that to some colleagues for their input.
User avatar
nick.bolton
The Big Cheese
Posts: 2468
Joined: Thu Aug 28, 2008 4:02 pm

Re: After installation mail can't be sent to some domains

Wed Jul 16, 2014 11:35 am

The last line shows the client disconnects from MWES after MWES/MTA sends back the "."
Basically there is not a-lot we can do if the client closes the socket when MWES requests the DATA from them.
SageIsland
Student Sheep
Posts: 19
Joined: Wed Jul 16, 2014 3:00 am

Re: After installation mail can't be sent to some domains

Thu Jul 17, 2014 12:23 am

I just don't understand how this can happen only on a few domains on the server. 287 domains on the server and I can email most of them fine but just a hand full have this issue.
SageIsland
Student Sheep
Posts: 19
Joined: Wed Jul 16, 2014 3:00 am

Re: After installation mail can't be sent to some domains

Thu Jul 17, 2014 1:34 am

I did a little more testing today and have found that I am unable to send mail to these domains only from my other email servers that reside on the same /20.

So if I email from my account which resides on IP 66.235.108.12 (Another server in the same datacenter as the server with MWES) to a domain on the MWES server that resides on 66.235.109.56 I get this error. I tried on another server (we have 3 mailservers in this DC) and I get the same error, but outside the datacenter like Gmail the messages make it just fine.

I went into the MWES admin and added the internal IP, external IP, mail domain IP all to the whitelist but we still can't get mail from one server to the MWES server.
User avatar
nick.bolton
The Big Cheese
Posts: 2468
Joined: Thu Aug 28, 2008 4:02 pm

Re: After installation mail can't be sent to some domains

Thu Jul 17, 2014 4:53 am

Ok, I'm not quite following this, but do you think MWES is at fault here?
SageIsland
Student Sheep
Posts: 19
Joined: Wed Jul 16, 2014 3:00 am

Re: After installation mail can't be sent to some domains

Thu Jul 17, 2014 5:07 am

Well without MWES running I can email from the other servers without any issues. I am wondering if MWES is having a problem since the emails coming from the other servers are on the same subnet and IP range.
User avatar
nick.bolton
The Big Cheese
Posts: 2468
Joined: Thu Aug 28, 2008 4:02 pm

Re: After installation mail can't be sent to some domains

Thu Jul 17, 2014 6:16 am

I know there's an issue when sending to/from mail servers when both are running Exchange 2013 (hence we don't support Exchange 2013 yet), but this doesn't appear to be the case for you since you mentioned you're running 2003. Let me get some feedback from other colleagues.
SageIsland
Student Sheep
Posts: 19
Joined: Wed Jul 16, 2014 3:00 am

Re: After installation mail can't be sent to some domains

Thu Jul 17, 2014 7:29 am

Hi Nick, we are not running Exchange Server. All 3 of our servers run Imail.
User avatar
nick.bolton
The Big Cheese
Posts: 2468
Joined: Thu Aug 28, 2008 4:02 pm

Re: After installation mail can't be sent to some domains

Thu Jul 17, 2014 3:14 pm

As there is no mail transported/accepted, MWES won’t keep a record of it.

The SMTP channel disconnects abruptly before the message can be accepted/transferred.

Can you check the logs of iMail for further information as to why it disconnected?
SageIsland
Student Sheep
Posts: 19
Joined: Wed Jul 16, 2014 3:00 am

Re: After installation mail can't be sent to some domains

Fri Jul 18, 2014 2:20 am

Here are the logs from the sending server:

07:16 09:00 SMTPD(9264000d58e18820) <<< RCPT TO:<super@domainname.com>
07:16 09:00 SMTPD(9264000d58e18820) [174.141.12.138] RCPT TO:<super@domainname.com>
07:16 09:00 SMTPD(9264000d58e18820) [x] looking up domainname.com in HOSTS
07:16 09:00 SMTPD(9264000d58e18820) >>> 250 ok its for <super@domainname.com>
07:16 09:00 SMTPD(9264000d58e18820) <<< DATA
07:16 09:00 SMTPD(9264000d58e18820) >>> 354 ok, send it; end with <CRLF>.<CRL
07:16 09:00 SMTPD(9264000d58e18820) >>> 250 Message queued
07:16 09:00 SMTPD(9264000d58e18820) [174.141.12.138] E:\Imail\Spool\D9264000d58e18820.SMD 5527

This is normal and means the message left this server.

This is the receiving side:
Last edited by SageIsland on Wed Jul 23, 2014 8:13 am, edited 1 time in total.
SageIsland
Student Sheep
Posts: 19
Joined: Wed Jul 16, 2014 3:00 am

Re: After installation mail can't be sent to some domains

Fri Jul 18, 2014 6:09 am

I installed MWES one of my other mail servers as well and it then presents the same problem where I can't send mail to that server from my server (Imail not running MWES).

I was also unable to send email between 2 servers that were both running Imail and MWES.

Starting to look like MWES is not compatible with Imail.

Return to “Installation”