On Fri, Sep 09, 2022 at 08:15:36PM +0200, Mikhaël MYARA wrote:

It seems your message went unanwered, perhaps better late than never:

> Sep  9 18:06:04 wika postfix/smtp[6371]: E80BA80F6D: 
>   to=<[email protected]>, relay=ssl0.ovh.net[193.70.18.144]:587, 
>   delay=0.17, delays=0.01/0.01/0.13/0.01, dsn=5.7.1, status=bounced
>   (host ssl0.ovh.net[193.70.18.144] said:
>   530 5.7.1 Client was not authenticated
>   (in reply to MAIL FROM command))
> 
> To work with the sasl protocol, I have an email at OVH, which is 
> "[email protected]".  This email has been tested and works on the 
> "ovhcloud" (roundcube) interface. I use it in the Postfix 
> configuration. Here is the result for postconf -n :

> relayhost = [ssl0.ovh.net]:587
> smtp_sasl_password_maps = hash:/etc/postfix/sasl/passwd
> smtp_tls_CApath = /etc/ssl/certs
> smtp_tls_note_starttls_offer = yes
> smtp_tls_security_level = may

You should probably also set:

    smtp_tls_loglevel = 1
    smtpd_tls_loglevel = 1

> The /etc/postfix/sasl/password file contains the following :
> ---
> ssl0.ovh.net:587      [email protected]:myincrediblepassword

This doesn't match the "relayhost" you specified:

    relayhost = [ssl0.ovh.net]:587

The lookup key is either just the hostname, or the *verbatim*
nexthop, including "[]".

-- 
    Viktor.

Reply via email to