I used 587 since a telnet to port 587 worked.

On MCQ I got this
Feb 20 14:48:41 NAS smtpd[4965]: 0000000000000000 mta delivery 
evpid=d9b453fdf397d24e from=<w...@nas.sbanetweb.com> 
to=<t...@nas.sbanetweb.com> rcpt=<-> source="-" relay="mcq.sbanetweb.com" 
delay=11s result="TempFail" stat="Network error on destination MXs"


>From my Pi journal:

Feb 20 14:50:21 NAS smtpd[4965]: d4c46b248023c950 smtp connected address=local 
host=NAS.sbanetweb.com
Feb 20 14:50:21 NAS smtpd[4965]: d4c46b248023c950 smtp message msgid=fea9c0db 
size=276 nrcpt=1 proto=ESMTP
Feb 20 14:50:21 NAS smtpd[4965]: d4c46b248023c950 smtp envelope 
evpid=fea9c0dbe83f0d8d from=<r...@nas.sbanetweb.com> to=<t...@sbanetweb.com>
Feb 20 14:50:21 NAS smtpd[4965]: d4c46b248023c950 smtp disconnected reason=quit
Feb 20 14:50:21 NAS smtpd[4965]: d4c46b28c2848cb0 mta connecting 
address=smtps://96.224.250.24:587 host=mcq.sbanetweb.com
Feb 20 14:50:22 NAS smtpd[4965]: d4c46b28c2848cb0 mta connected
Feb 20 14:50:22 NAS smtpd[4965]: d4c46b28c2848cb0 mta error reason=IO Error: 
error:0A00010B:SSL routines::wrong version number
Feb 20 14:50:22 NAS smtpd[4965]: smtp-out: Disabling route [] <-> 96.224.250.24 
(mcq.sbanetweb.com) for 15s
Feb 20 14:50:23 NAS tailscaled[903]: portmapper: saw UPnP type WANIPConnection1 
at http://192.168.1.1:1900/igd.xml; eero (eero inc.), method=single
Feb 20 14:50:23 NAS tailscaled[903]: portmapper: saw UPnP type WANIPConnection1 
at http://192.168.1.1:1900/igd.xml; eero (eero inc.), method=single
Feb 20 14:50:23 NAS smtpd[4965]: smtp-out: No valid route for 
[connector:[]->[relay:mcq.sbanetweb.com,port=587,smtps,mx],0x0]
Feb 20 14:50:32 NAS systemd[1]: systemd-timedated.service: Deactivated 
successfully.
Feb 20 14:50:32 NAS smtpd[4965]: 0000000000000000 mta delivery 
evpid=fea9c0dbe83f0d8d from=<r...@nas.sbanetweb.com> to=<t...@sbanetweb.com> 
rcpt=<-> source="-" relay="mcq.sbanetweb.com" delay=11s result="TempFail" 
stat="Network error on destination MXs"
Feb 20 14:50:37 NAS smtpd[4965]: smtp-out: Enabling route [] <-> 96.224.250.24 
(mcq.sbanetweb.com)
Feb 20 14:50:32 NAS smtpd[4965]: 0000000000000000 mta delivery 
evpid=fea9c0dbe83f0d8d from=<r...@nas.sbanetweb.com> to=<t...@sbanetweb.com> 
rcpt=<-> source="-" relay="mcq.sbanetweb.com" delay=11s result="TempFail" 
stat="Network error on destination MXs"
Feb 20 14:50:37 NAS smtpd[4965]: smtp-out: Enabling route [] <-> 96.224.250.24 
(mcq.sbanetweb.com)




-----Original Message-----
From: Ziqin Wang <zi...@wangziqin.net> 
Sent: Thursday, February 20, 2025 2:29 PM
To: Wayne Spivak <wspi...@sbanetweb.com>
Cc: misc@opensmtpd.org
Subject: Re: Unable to relay, port 25 blocked

> On 21 Feb 2025, at 03:14, Wayne Spivak <wspi...@sbanetweb.com> wrote:
> 
> How do I tweak this so it goes out 587 or 465 and sends the email

You can specify a port number in an "action", for example:

action “myserver1" relay host "smtps://mcq.sbanetweb.com:465"

action "myserver2" relay host "smtp+tls://mcq.sbanetweb.com:587"


Reply via email to