berthubert / simplomon

Very simple monitoring system with a single configuration file
MIT License
119 stars 16 forks source link

Unexpected response from SMTP server #46

Open Derkades opened 6 months ago

Derkades commented 6 months ago

Simplomon reports the following exception when it attempts to connect to my Postfix mail server:

Got an exception during check: Unexpected response from SMTP server: '503 5.5.1 Error: send HELO/EHLO first

I am willing to provide credentials to a test account if needed for troubleshooting.

berthubert commented 6 months ago

thanks for this - investigating, and I wonder what is going on since I had to change the order to be like this to get it to work with my postfix.

berthubert commented 6 months ago

hi Derkades, I can't reproduce this - simplomon sends out an EHLO as the first thing it does. Can you check using latest version of simplomon?

Derkades commented 6 months ago

Thanks for taking a look. I am using the docker image, could you push an updated image to docker hub?

bjo81 commented 3 months ago

I'm also getting this issue with the docker image.

berthubert commented 3 months ago

I'm also getting this issue with the docker image.

@bjo81 - which SMTP server are you talking to (if you know)?

bjo81 commented 3 months ago

@berthubert to a postfix

berthubert commented 3 months ago

ok thanks - I can't understand how this happens, one of the explanations might be that your docker image is very old. I don't know a lot about docker, can you perhaps check where you got the image from and how old it is?

Derkades commented 3 months ago

I am using the berthubert/simplomon imge from Docker Hub, which was last updated 3 months ago

bjo81 commented 3 months ago

Same here:

docker.io/berthubert/simplomon  latest      3101d04424e9  3 months ago  11 MB
berthubert commented 3 months ago

hi everyone - I just pushed a new docker image. I can't reproduce your issue so far using the current code. Could you check this new docker image? I am not hopeful that this will help, but we need to try.