emailwiz icon indicating copy to clipboard operation
emailwiz copied to clipboard

Error: Connection to SMTP Server failed

Open marlonivo opened this issue 1 year ago • 7 comments

Error:

Failed to send the message.
The message could not be sent because the connection to the SMTP server mail.marlonivo.xyz failed. The server is either unavailable or rejecting SMTP connections. Please check the SMTP server settings and try again.

I did anything jus like in the Video Explanation of luke, its still showing up. How can i fix this?

mailhealth

marlonivo avatar Jan 21 '24 13:01 marlonivo

I had this issue after an update on my mail server. It looks like emailwiz is not compatible with postfix > 3.5.18-0+deb11u1

Try downgrading to version 3.5.18-0+deb11u1 using this:

sudo apt install postfix=3.5.18-0+deb11u1 postfix-pcre=3.5.18-0+deb11u1

rogsme avatar Jan 22 '24 14:01 rogsme

E: Version '3.5.18-0+deb11u1' for 'postfix' was not found
E: Version '3.5.18-0+deb11u1' for 'postfix-pcre' was not found

marlonivo avatar Jan 23 '24 09:01 marlonivo

Did you ran a sudo apt update before? What version of Debian are you using?

rogsme avatar Jan 23 '24 11:01 rogsme

I did, im using Debian: 6.1.0-15-arm64 #1 SMP Debian 6.1.66-1 aarch64

marlonivo avatar Jan 24 '24 09:01 marlonivo

I did, im using Debian: 6.1.0-15-arm64 #1 SMP Debian 6.1.66-1 aarch64

Oh, you are using ARM, you should have started with that... Sorry, but I can help you there! Use apt to look for a lower version for postfix and postfix-pcre and install it.

rogsme avatar Jan 24 '24 11:01 rogsme

E: Version '3.5.18-0+deb11u1' for 'postfix' was not found                                             
E: Version '3.5.18-0+deb11u1' for 'postfix-pcre' was not found 

I cant find the right Version, I either need to add another source to the sources.list or install and compile it manually, which I'd like to avoid. Do you have an other idea?

marlonivo avatar Jan 25 '24 06:01 marlonivo

E: Version '3.5.18-0+deb11u1' for 'postfix' was not found                                             
E: Version '3.5.18-0+deb11u1' for 'postfix-pcre' was not found 

I cant find the right Version, I either need to add another source to the sources.list or install and compile it manually, which I'd like to avoid. Do you have an other idea?

I already told you:

Use apt to look for a lower version for postfix and postfix-pcre and install it.

rogsme avatar Jan 25 '24 10:01 rogsme

Hey, i have tried it several times and failed, do you have a referral link to a guide or can you give me one yourself?

marlonivo avatar Jan 31 '24 07:01 marlonivo

A quick internet search yielded the following solutions:

apt-cache madison postfix # Gets the available postfix packages 
apt-cache madison postfix-pcre # Gets the available postfix-pcre packages

If you need to know more about how apt-cache works, read the manpage man apt-cache.

You can also run lsb_release -a, get your Debian version and search manually on the Debian packages website: https://packages.debian.org/bookworm/postfix

rogsme avatar Jan 31 '24 11:01 rogsme

I had the same issue.

jptrzy avatar Feb 28 '24 11:02 jptrzy

I had the same issue.

It was actually not the Postfix Version, what led to the error were the Ports that were Blocked (im at Hetzner). After i requested to open them, it worked literally immediatly. Even the test mails i sent from 3 Weeks ago, came in. Luke mentioned this not in the Video but on the README.md. Maybe he mentioned it on his Video but i couldn't remember.

Unblock your ports
While the script enables your mail ports on your server, it is common practice for all VPS providers to block mail ports on their end by default. Open a help ticket with your VPS provider asking them to open your mail ports and they will do it in short order.

Solution: Ask to open port 465 and 993 for your mail-server.

marlonivo avatar Feb 29 '24 02:02 marlonivo