Hi,
Le 15/04/2015 09:47, Nicolas Stienmetz a écrit :
> The raw man page is there (just realised it) :
https://github.com/OpenSMTPD/OpenSMTPD-extras/blob/master/extras/tables/table-passwd/table_passwd.5
but it refers to user and not emails :-/
>
> Seems I have no way to manage emails and will have to fall back on
user/login and add some extra files.
Ok, so I moved to a login only file as follow :
pki mail.cerenit.fr certificate "/etc/ssl/certs/mail.cerenit.fr.crt"
pki mail.cerenit.fr key "/etc/ssl/private/mail.cerenit.fr.key"
listen on eth0 port 25 hostname mail.cerenit.fr tls pki mail.cerenit.fr
listen on eth0 port 587 hostname mail.cerenit.fr tls-require pki
mail.cerenit.fr auth mask-source
table crn_user_list passwd:/srv/mail/cerenit.fr/users.db
accept from any for domain "cerenit.fr" userbase <crn_user_list> deliver
to lmtp "/var/run/dovecot/lmtp"
accept from local for any relay
with /srv/mail/cerenit.fr/users.db :
nicolas:$6$JQoatfLRdYyVxTIe$ovKQjXopmVh8Iyh6emgMD0SLj1YtQupE9iF9c6mCQvaJRxVrJKmasonjVXh6Ledak1rii8hP349yHGNXQr1pZ.:5000:5000::/srv/mail/cerenit.fr/nicolas:/bin/nologin
contact:$6$9Y69NhmSF93udEg1$9JS5J.5.TzGbHio2ptFoqafDIgjL25XvJHarZfXgMNIQUV/hi1pzn4S5skK/9sS/LCDGEsdSlXfJ.3Ivne3Mw1:5000:5000::/srv/mail/cerenit.fr/contact:/bin/nologin
However, when I try to authenticate :
smtp-in: Authentication failed for user [email protected] on session
c86ed75e2d86fc28
smtp-in: Failed command on session c86ed75e2d86fc28: "AUTH [...]" => 535
Authentication failed
smtp-in: Authentication failed for user contact on session c86ed75e2d86fc28
smtp-in: Failed command on session c86ed75e2d86fc28: "AUTH [...]" => 535
Authentication failed
Seems close to this issue :
https://github.com/OpenSMTPD/OpenSMTPD/issues/497
--
Nicolas Steinmetz - <https://nicolas.steinmetz.fr/>
8 Place Boileau - 78330 Fontenay le Fleury
+33 (0)1.30.45.22.14 - +33 (0)6.28.20.31.58
--
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]