On 2022-09-20, latincom@vcn.bc.ca <latincom@vcn.bc.ca> wrote:
>> On Sun, Sep 18, 2022 at 23:09:28 -0400, Jaskaran Veer Singh wrote:
>>> On Sun Sep 18, 2022 at 10:45 PM EDT, wrote:
>>> > Hello
>>> >
>>> > I am new with Opensmtpd + Dovecot and with the fallowed configuration
>>> i
>>> > can get the mail; but i am not able to send mail using Mutt and
>>> > Thunderbird i get this message: "SASL authentication failed"!
>>>
>>> IIRC, you have to open a ticket with vultr so they open port 25 for you.
>>> It is
>>> blocked by default.
>>
>> While it is true that port 25 shows as filtered in the nmap output
>> (meaning OP will not be able to receive mail), this does not address
>> their current problem. They are connecting on the submission port, 587.
>> The submission port is correct for users on residential / otherwise
>> dynamic connections to talk with their SMTP server (i.e. for submitting
>> mail for relaying to other servers). And, indeed, it does show as open
>> in the nmap output.
>
> Thanks to respond.
> We are using only imap pop and lmtp no submission.
submission is authenticated SMTP on port 587 which you have shown you
are using (or at least, are trying to).
>>> > set smtp_authenticators="login"
That shouldn't be needed.
> i think that i might explain:
> I have 3 mail server that were working correctly without Dovecot,
> different configs; but they need virtual users!
Dovecot isn't involved in authentication for SMTP in your configuration.
>>> > set smtp_pass="passwd"
>>> > set smtp_url="smtp://$user:$user@smtp.example.net:587/"
$user:$user seems wrong
> table passwd file:/etc/mail/passwd
> table virtuals file:/etc/mail/virtuals
> table hosts file:/etc/mail/hosts
> table users file:/etc/mail/users
..
> check = "pki agroena.org mask-src filter { check_rdns check_fcrdns }
> hostname agroena.org"
> authcheck = "pki agroena.org auth <passwd> mask-src senders <users> filter
> { check_rdns check_fcrdns dkimsign } hostname agroena.org"
..
> listen on $ipv4 port 25 tls $check
> listen on $ipv6 port 25 tls $check
> listen on $ipv4 port 465 smtps $authcheck
> listen on $ipv6 port 465 smtps $authcheck
> listen on $ipv4 port 587 tls-require $authcheck
> listen on $ipv6 port 587 tls-require $authcheck
> Sep 20 05:41:53 agroena dovecot: auth-worker(40712): conn unix:auth-worker
> (pid=10062,uid=518): auth-worker<1>:
> bsdauth(agro@agroena.org,24.80.5.31,<qiEQSRXpYL4YUAUf>): unknown user
Seems that the username you're trying to use does not match up with
an entry in the passwd table.
--
Please keep replies on the mailing list.
No comments:
Post a Comment