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

Email Notification not working

I am setting my xg to send email notification for link down, wan failover, etc

I am using the Gmail server to send a notification to my personal account. 

I navigated to administration>email notification and chose the external server did all the configuration. The test mail was successful but I haven't received any mails.

I checked everything on Gmail setting everything is fine and xg also says "test email successful". but no email received on my personal account.



This thread was automatically locked due to age.
Parents
  • Email notifications use to work both with the built-in Sophos XG mail server and using an external mail server. It was several release ago it stopped working for me. There’s a few threads about it on these forums but there was never a solution. The conclusion I came to is it’s broken. I’ve tried setting it up using iCloud and Gmail, but have the same issues as you. When trying to send a test mail, it looks like its successful but gets queued within Sophos XG but never actually makes it out.

  • I asked in nearly all threads, if the problem is caused by the MASQ, but never got a dump or a conformation.

    If you can reproduce this and can take a look at the XG tcpdump, can you see, that the XG tries to send a mail with 0.0.0.0 outbound? 

  • What is the recommended tcpdump parameters to use to capture XG trying to send an email outbound? I'm not too familiar with using tcpdump.

    This is what I'm seeing in the XG logs:

    2019-11-14 19:51:07Emailmessageid="18035" log_type="Anti-Spam" log_component="SMTP" log_subtype="Allowed" status="" fw_rule_id="0" user="" policy_name="None" sender="redacted@icloud.com" recipient="redacted@icloud.com" subject="Test Mail" message_id="1iVSdW-0002GL-Qa-1573789867" email_size="933" action="QUEUED" reason="Email has been accepted by Device and queued for scanning." host="icloud.com" domain="" src_ip="127.0.0.1" src_country="R1" dst_ip="" dst_country="" protocol="TCP" src_port="54579" dst_port="0" bytes_sent="0" bytes_received="0" quarantine_reason="Other"

  • Seems like this issue. 

    Can you actually reproduce it? 

    (PS would be fixed anyways in V18, because you could easily setup a WAN MASQ on Interface level, which would pick up this mail).

     

    If you run a tcpdump -ni any host 0.0.0.0  

    You should see this mail on WAN Interface, which can of course not be answered. 

  • Just tried sending a test message while using tcpdump, specifically: tcpdump -ni any host 0.0.0.0 

    I'm not seeing any activity at all. I'm still seeing the same message in the Sophos XG logs, however.

  • Have a look at packet length being processed.

    Ian

Reply Children
No Data