You really should have stated that up front. You need to provide the relevant logs that show the error. Maybe describe what you did to configure opendkim?
This might be a question for the opendkim folks though.
Thanks for your answer. I have fixed the opendkim problem, but I still cannot send email from my account using roundcube.
Here what I find in mail.log hen I try to send an email and get the authentication problem:
Jan 16 21:57:42 xxxxxxx postfix/submission/smtpd[1028180]: connect from localhost[127.0.0.1]
Jan 16 21:57:42 xxxxxxx postfix/submission/smtpd[1028180]: disconnect from localhost[127.0.0.1] ehlo=1 quit=1 commands=2
Jan 16 21:57:42 xxxxxxx postfix/smtpd[1028094]: warning: SASL authentication failure: cannot connect to saslauthd server: Permission denied
Jan 16 21:57:42 xxxxxxx postfix/smtpd[1028094]: warning: unknown[154.216.18.50]: SASL LOGIN authentication failed: generic failure
And in the syslog:
> Jan 16 22:12:08 xxxxxxx postfix/submission/smtpd[1032441]: connect from localhost[127.0.0.1]
> Jan 16 22:12:08 xxxxxxx postfix/submission/smtpd[1032441]: disconnect from localhost[127.0.0.1] ehlo=1 quit=1 commands=2
After restart saslauthd command journalctl -xeu saslauthd.service gives:
-- A start job for unit saslauthd.service has begun execution.
--
-- The job identifier is 3217174.
ene 17 08:02:02 ns522248 saslauthd[1194801]: * Starting SASL Authentication Daemon saslauthd
ene 17 08:02:02 ns522248 saslauthd[1194834]: : master pid is: 1194834
ene 17 08:02:02 ns522248 saslauthd[1194834]: : listening on socket: /var/spool/postfix/var/run/saslauthd/mux
ene 17 08:02:02 xxxxxxx saslauthd[1194801]: ...done.
ene 17 08:02:02 xxxxxxx systemd[1]: Started LSB: saslauthd startup script.
-- Subject: A start job for unit saslauthd.service has finished successfully
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- A start job for unit saslauthd.service has finished successfully.
--
-- The job identifier is 3217174.
~
````Preformatted text`
and in the mail/log I have :
Jan 17 08:02:21 xxxxxx postfix/smtps/smtpd[1182971]: warning: SASL authentication failure: cannot connect to saslauthd server: Permission denied
And when I try to send an email from Thunderbird , in the mail.log I have:
Jan 17 08:15:45 xxxxxx postfix/submission/smtpd[1198648]: connect from unknown[191.156.237.50]
Jan 17 08:15:46 xxxxxx postfix/submission/smtpd[1198648]: TLS SNI mail.eventic.biz from unknown[191.156.237.50] not matched, using default chain
Jan 17 08:15:46 xxxxxx postfix/submission/smtpd[1198648]: warning: SASL authentication failure: cannot connect to saslauthd server: Permission denied
Jan 17 08:15:46 xxxxxx postfix/submission/smtpd[1198648]: warning: SASL authentication failure: Password verification failed
Jan 17 08:15:46 xxxxxx postfix/submission/smtpd[1198648]: warning: unknown[191.156.237.50]: SASL PLAIN authentication failed: generic failure
Jan 17 08:15:47 xxxxxx postfix/submission/smtpd[1198648]: warning: SASL authentication failure: cannot connect to saslauthd server: Permission denied
Jan 17 08:15:47 xxxxxx postfix/submission/smtpd[1198648]: warning: unknown[191.156.237.50]: SASL LOGIN authentication failed: generic failure