Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

I don't receive emails when smtp smtps scan is activated

Hello everyone

 

I have a problem with my Sophos XG210.

I have a Exchange 2010 Server, before we had a self-signed certificate. We activated the email protection (because of spam), it worked perfectly.

Yesterday we have changed the certificate to an official one. This morning I can't receive any e-mail.

After some tests, I have disabled the SMTP and STMPS scanning on my business rule, and I receive my e-mail.

Now it works, but I receive spam again.

 

If you have any ideas ?

 

Thank you



This thread was automatically locked due to age.
Parents Reply Children
  • Legacy Mode works as a transparent proxy, so the internal mail server essentially sees an inbound SMTP connection from the sending mail server in the WAN zone.

    Legacy Mode also supports blacklisting and whitelisting of individual addresses.

    MTA Mode works like a mail server. It receives the message from the sending mail server in the WAN zone. It then stores it on the XG Firewall and delivers it to the internal mail server once it has finished processing the message. The internal mail server sees an inbound SMTP connection from the internal IP address of the XG Firewall.

    What appears to be happening is Legacy Mode is being held up trying to perform RBL blacklist checks, which prevents the XG Firewall from correctly finalising communication with the internal mail server, so the internal mail server finally gives up and times out the session, meaning the internal mail server won't show a completed successful or failed delivery and neither will the Log Viewer in the XG Firewall.

    In MTA Mode I suspect this RBL check is done once the message has been successfully received by the XG Firewall. The RBL blacklist check is then timing out, but as the message has been completely received, it is then able to successfully send the message to the internal mail server, just without a completed RBL blacklist check.

    The workaround for Bug ID NC-19829 apparently is to remove the Standard RBL check from the Policy list, although I think the better option is to note down all the RBLs you're using in both the Premium and Standard RBLs and to remove them one at a time to find the culprit.

    Another way to diagnose this would be to do a blacklist check on mxtoolbox.com, look at the response times and cull your RBL entries based on response times listed on mxtoolbox.com.

    I've noticed that bad.psky.me has gone AWOL, so if you have that in your RBL lists you'll want to temporarily or permanently remove it.

    In light of this, Sophos probably need to add some code to abort RBL checks so that SMTP sessions don't time out and somehow bubble up non-responsive RBL checks to a place where we can see them.

  • OK, I can confirm that switching from Legacy Mode to MTA Mode helps fix this problem in a two-fold manner.

    The first is you have two separate SMTP sessions - one from the sending mail server to the XG Firewall, followed by one from the XG Firewall to the internal mail server. This second connection to the internal mail server doesn't have any data flow issues, as all the scanning has been done by this point.

    The second subtle way in which the change to MTA Mode works is by resetting the Premium RBL and Standard RBL lists, reducing the time taken for RBL checks. Also nasty, because you've also lost important configuration information silently and not received any warning that this would happen. THIS IS REALLY SUCKY.

    If you want to use Legacy Mode reliably now, turn off the RBL checks and have the internal mail server perform these.

    At this point in time the only confidence I have in the mail protection feature of the XG Firewall is that it reliably dual-scan e-mail for malware. And that's about it :-(

  • I feel your pain Chris.  This is a new XG install for a client and not leaving them with much confidence in the device.

  • Apparently the problem is solved.

    I tried to switch to MTA, but it was very slow and my exchange server "paused" the delivery.

    So I switch back to legacy with my normal configuration. I reactivated smtp and smtps scan, I tried and it worked.

    I received an update for antivirus avira and Sophos, maybe it fixed the problem.

  • If your Exchange Server is "pausing" the delivery you may need to disable the Exchange Server backpressure features.

    More info here - technet.microsoft.com/.../bb201658(v=exchg.141).aspx