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

    Smtp monitor not working Relayd load balancer. 2.0-RC3 and 2.0-Release (amd64)

    Scheduled Pinned Locked Moved General pfSense Questions
    10 Posts 2 Posters 3.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.
    • A
      Arjen
      last edited by

      Using the loadbalancer to direct mail to 2 smtp servers.

      Using a pool with "monitor: tcp" all working OK !
      but after switching "tcp" to "smtp" , apply: relayd[9411]: configuration reloading FAILED

      switching back to "tcp" all working fine again !

      the smtp monitor is still default:

      Name SMTP
      Description Generic SMTP
      Type Send/Expect
      Send string   EHLO nosuchhost.nl
      Expect string 250-

      know problem ?

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        I can't say I've tried that one in particular. What does your /var/etc/relayd.conf file look like with that monitor chosen?

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • A
          Arjen
          last edited by

          sorry  ;D

          the output: (a part of it)

          log updates
          timeout 1000
          table <smtppool>{ 172.25.1.4 retry 2, 172.25.1.5 retry 2 }
          redirect "clustername" {
            listen on 46.xxx.xx.xx port 25
            forward to <smtppool>port 25 check send EHLO nosuchhost.nl expect 250- 
          }

          (when using tcp the line is:  forward to <smtppool>port 25 check tcp )</smtppool></smtppool></smtppool>

          1 Reply Last reply Reply Quote 0
          • A
            Arjen
            last edited by

            nobody ?

            1 Reply Last reply Reply Quote 0
            • jimpJ
              jimp Rebel Alliance Developer Netgate
              last edited by

              It's still on my to-do list to try, but I haven't had any time to look at it.

              Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

              Need help fast? Netgate Global Support!

              Do not Chat/PM for help!

              1 Reply Last reply Reply Quote 0
              • A
                Arjen
                last edited by

                going to test it this week on Pfsense2.0 Full release.. after upgrading from RC3… i will report it here.

                1 Reply Last reply Reply Quote 0
                • jimpJ
                  jimp Rebel Alliance Developer Netgate
                  last edited by

                  You'll need to grab the commits here (or make changes manually), seems there is a bit of an issue with how things were laid out.

                  https://github.com/pfsense/pfsense/commit/54d1a165d500225547337ddba7aa10e7e5f79c98
                  https://github.com/pfsense/pfsense/commit/07c49a3698ab458ea7ad8c0501d394c09e48dc60

                  Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                  Need help fast? Netgate Global Support!

                  Do not Chat/PM for help!

                  1 Reply Last reply Reply Quote 0
                  • A
                    Arjen
                    last edited by

                    2.0-Release amd64 same problem:  :-[

                    Nov 2 01:00:34 relayd[41260]: configuration reloading FAILED
                    Nov 2 01:00:34 relayd[41260]: reloading configuration

                    1 Reply Last reply Reply Quote 0
                    • jimpJ
                      jimp Rebel Alliance Developer Netgate
                      last edited by

                      Did you apply the changes I just posted? It works for me with that code.

                      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                      Need help fast? Netgate Global Support!

                      Do not Chat/PM for help!

                      1 Reply Last reply Reply Quote 0
                      • A
                        Arjen
                        last edited by

                        @jimp:

                        You'll need to grab the commits here (or make changes manually), seems there is a bit of an issue with how things were laid out.

                        https://github.com/pfsense/pfsense/commit/54d1a165d500225547337ddba7aa10e7e5f79c98
                        https://github.com/pfsense/pfsense/commit/07c49a3698ab458ea7ad8c0501d394c09e48dc60

                        Works Perfect ! thanks

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