Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Outbound SMTP alerts when WAN1 is down - HOWTO

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 2 Posters 1.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • luckman212L
      luckman212 LAYER 8
      last edited by

      Hi,
      I'm running 2.01 on embedded hardware at one site, and there are frequent outages.  The problem is when WAN1 goes down, the email alert tries to go out but fails sometimes, apparently due to not attempting to route the connection over the WAN2 interface.

      My question is, how can I verify that my setup is correct (it obviously isn't) so that SMTP alerts will try to use any available WAN connection?  I have my outbound port for notifications set to 587 and I've confirmed that it's not blocked by either ISP.  thanks!

      *note: I found a similar thread and was originally going to reply there but it's been locked
      http://forum.pfsense.org/index.php/topic,37137.msg191546.html

      1 Reply Last reply Reply Quote 0
      • marcellocM
        marcelloc
        last edited by

        does dns applied to pfsense config works when wan1 is down?

        Treinamentos de Elite: http://sys-squad.com

        Help a community developer! ;D

        1 Reply Last reply Reply Quote 0
        • luckman212L
          luckman212 LAYER 8
          last edited by

          I am not sure I understand your question – how can I test the scenario you are asking about?

          1 Reply Last reply Reply Quote 0
          • marcellocM
            marcelloc
            last edited by

            If dns name resolution does not work when wan1 is off, you will get no smtp working.

            Treinamentos de Elite: http://sys-squad.com

            Help a community developer! ;D

            1 Reply Last reply Reply Quote 0
            • luckman212L
              luckman212 LAYER 8
              last edited by

              Thank you, yes I do have 2 nameservers defined for each WAN connection in System - General.  So 4 DNS servers total.  It should work when WAN1 is down but I am not at the location to test by yanking a cable etc.  Is there a way to temporarily "down" an interface via SSH or GUI to test this?

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.