LukeSmithxyz / emailwiz

Script that installs/configures a Dovecot, Postfix, Spam Assassin, OpenDKIM Debian web server
GNU General Public License v3.0
1.82k stars 301 forks source link

Fail to deliver mail to Mail Services #331

Open haley-yung opened 2 months ago

haley-yung commented 2 months ago

Was able to setup the script and successfully receiving messages. Thanks Luke for the ease of use!

However, I am having trouble sending out messages. I could only send messages to my local users within my email server, while failing to send messages to Gmail / Outlook.

Domain: Godaddy VPS: Vultr

Have set SMTP/ IMAP port settings according to the guide (Port 465 and 993)

Was aware that Vultr blocks Port 25 and tried to allow it via the Firewall option. I checked with Ports Checker and even tho the port is open I am not able to send messages still.

Any feedback is appreciated :>

whyrstack commented 3 weeks ago

having the same problem on aws where i raised a request to allow port 25; gave them all the reasons; using dkim, ptr records but they recommended me to use their mailing service SES instead. try logging a request with vultr as others suggest with a good justification and maybe they open it up?

the error in my /var/log/mail.log: Oct 29 00:50:00 mail postfix/smtp[4074]: connect to alt2.gmail-smtp-in.l.google.com[2a00:1450:4025:c03::1b]:25: Network is unreachable Oct 29 00:50:00 mail postfix/smtp[4074]: 8AS6A990CCC: to=xxxx@gmail.com, relay=none, delay=137285, delays=137225/0.01/60/0, dsn=4.4.1, status=deferred (connect to alt2.gmail-smtp-in.l.google.com[2a00:1450:4025:c03::1b]:25: Network is unreachable)