Hello. I'm running Opensmtpd-7.6.0p1_1 from Voidlinux. When I try to
send emails, mutt 2.2.14_1 pushes emails to Opensmtpd, which tries to
relay to my isp (smarthost). The isp mail server receives the from and
to addresses, but the result is "PermFail" stat="554 5.7.1 <to-address>:
Relay access denied. It also gives another result, 550 Invalid
recipient <sender address>. This happens using different to-addresses.
It seems the isp mail server is not receiving the account password. If
I configure mutt to send directly to the isp server, the email goes
through. So it seems my configuration is off. Here is my smtpd.conf:
# /etc/smtpd/smtpd.conf
#
table aliases file:/etc/smtpd/aliases
table ratable file:/etc/smtpd/ratable
table sendertan { email address at isp }
table senderaxreios { other email address at same isp }
listen on localhost
action "local" mbox alias <aliases>
action "tanoutbound" relay host smtp://mail.airstreamcomm.net auth <ratable>
action "axreiosoutbound" relay host smtp://mail.airstreamcomm.net auth <ratable>
match for local action "local"
match for any from mail-from <sendertan> action "tanoutbound"
match for any from mail-from <senderaxreios> action "axreiosoutbound"
The ratable has only two lines:
tan <email address:password>
axreios <different email address:different password>
The sendertan and sender axreios tables each lists just the appropriate
email address.
Perhaps someone will see the error of my ways and tell me, that I may
learn and get this working. Thanks for reading thus far.
axreios