On 2025-04-29, at 18:27 +0200, axreios a wrote:
On Tue, Apr 29, 2025 at 04:00:04PM +0200, BetaRays wrote:
Hi, according to man smtpd.conf, what goes before the @ character is
a label, so you can use anything here, as long as it matches with a
line such as
tan n...@localisp.net:myverysecurepassword
…from your ratable file, which is where the user used for login will
be used, while still connecting to mail.airstreamcomm.net if used
after the @ character in the relay host […] part.
additionally, you can use any of these protocols, but the manual
seems to indicate that authentication will only work when setting
smtps or smtp+tls:
smtp Normal SMTP session with opportunistic STARTTLS (the
default).
smtp+tls Normal SMTP session with mandatory STARTTLS.
smtp+notls Plain text SMTP session without TLS.
lmtp LMTP session. port is required.
smtps SMTP session with forced TLS on connection. The default
port is 465.
I think simply using smtp+tls://t...@mail.airstreamcomm.net (and same
with axreios) with the right port (usually 587) should work with your
current configuration.
(At least I *hope* that you aren’t sending your password without
encryption on the internet because your ISP doesn’t support STARTTLS.)
I hope this helps.
Thank you for your reply and suggestion. I am narrowing down my
problem. I configure mutt to use smtp and port 587, which works; I see
the brief notice of use of tls. But this does not work from opensmtpd
and I suspect the authentication problem results from the extended
username. Mutt seems able to deal with this by putting into a string
variable my username at the local isp. But the local isp merely passes
my login attempt to the regional isp. So the login name is concantated
to the form
u...@amerytel.net@mail.airstreamcomm.net
The result is the authenication error numbers in the subject line of
this thread. The second '@' seems to throw a monkey-wrench into the
process. Or else I don't know how to properly list it in my ratable
(secrets) file. Unless someone here can further enlighten me, it looks
like it will be necessary for me to configure mutt as its own smtp
server, which will leave me with little use for opensmtpd. That is not
my preference, but I don't see how to proceed otherwise. Thanks for
reading.
axreios
I don’t think you can use two @ characters in the host definition.
Did you try using smtp+tls://t...@mail.airstreamcomm.net:587 as a host,
and having this line in your ratable file, as suggested above?
tann...@localisp.net:password