Smtp monitor not working Relayd load balancer. 2.0-RC3 and 2.0-Release (amd64)
-
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 FAILEDswitching 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 ?
-
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?
-
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>
-
nobody ?
-
It's still on my to-do list to try, but I haven't had any time to look at it.
-
going to test it this week on Pfsense2.0 Full release.. after upgrading from RC3… i will report it here.
-
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 -
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 -
Did you apply the changes I just posted? It works for me with that code.
-
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/07c49a3698ab458ea7ad8c0501d394c09e48dc60Works Perfect ! thanks