I setup Opensmtp on 3 Raspiberry Pis for the sole purpose of sending system
messages to my email account.

 

All 3 were on the same LAN and it worked perfectly.

 

I recently moved one of the Pi's offsite, so it is on a completely different
net (public IP).

 

As I mentioned in the subject line, Port 25 is blocked by the ISP.

 

This was the smtpd.conf that was working: 

 

#OpenSMTPD

table relay_secrets file:/etc/smtpd/tables/relay_secrets

 

 

listen on lo \

    port 587 \

    hostname sbanetweb.com \

    mask-src

 

listen on socket \

    mask-src

 

action "local" relay

action "myserver" relay host smtp://mcq.sbanetweb.com

 

match mail-from "@NAS" for any action "myserver"

match for local action "myserver"

match for any action "myserver"

 

How do I tweak this so it goes out 587 or 465 and sends the email.

 

Thank you.

 

Wayne

Reply via email to