Hi Victor,

always better late than never of course ;-)

Thanks for your answer. I solved my problem by restarting from a fresh install and following this tutorial :
<https://www.laintimes.com/configurer-postfix-en-relay-avec-ovh/>
(sorry it's in french, but it worked well for me)

Thanks again,
   Mike

Le mer., sept. 21 2022 at 11:34:11 -0400, Viktor Dukhovni <postfix-us...@dukhovni.org> a écrit :
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=<ubu...@wika.ovh <mailto:ubu...@wika.ovh>>, 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
"mai...@wika.ovh <mailto:mai...@wika.ovh>". 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 mai...@wika.ovh <mailto:mai...@wika.ovh>: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