Hi,

Le 06/09/2023 à 22:40, Sagar Acharya a écrit :
I checked all network settings. They are perfect. Here is my conf below 
exactly. There's some issue with it.

========== smtpd.conf ==========
table aliases file:/etc/smtpd/aliases
table whitelist file:/etc/smtpd/whitelist

pki humaaraartha.in cert "path_to_fullchain"
pki humaaraartha.in key "path_to_privkey"

listen on 0.0.0.0 tls pki humaaraartha.in
listen on 0.0.0.0 smtps pki humaaraartha.in

action "local" maildir alias <aliases>
action "relay" relay host "smtps://humaaraartha.in" mail-from "@humaaraartha.in"

This line cannot work. You are asking to relay outgoing emails to your own server (host is the destination host — Jarod just linked the doc while I was writing). They won’t go anywhere. You cannot workaround port 25 being blocked by using another port, else port 25 would not be blocked anywhere. You have to use an external relay that will accept submission from you on port 465 (smtps) or 587 (submission) and then relay on port 25 to the world. That will likely have to be one you have an account on (gmail or tutatnota).

Regards.


Reply via email to