Problem with send and receive email

SYSTEM INFORMATION
OS type and version Ubuntu Linux 20.04.5
Webmin version 2.001
Virtualmin version 7.2-1 Pro
Related packages SUGGESTED

Hi i have a big problem with email, i cant send and receive.

  1. When i try to send an email from GMAIL (or another) to an email address of my server come back a message with >unknown user: “info@blablabla”>
  2. When i try to send from Roundcube using an email address of my server appear this message <smtp error (454) authentication failed>
  3. When i try to send from a Client using and email of my server appear this message

Please Help me!!!

Best Regards

Emiliano

Is saslauthd running?

how do i see if it is running ?

sudo systemctl status saslauthd

root@creativia ~ # sudo systemctl status saslauthd
● saslauthd.service - LSB: saslauthd startup script
Loaded: loaded (/etc/init.d/saslauthd; generated)
Active: active (running) since Thu 2022-10-06 01:03:22 CEST; 4min 27s ago
Docs: man:systemd-sysv-generator(8)
Process: 319562 ExecStart=/etc/init.d/saslauthd start (code=exited, status=0/SUCCESS)
Tasks: 10 (limit: 76986)
Memory: 14.6M
CGroup: /system.slice/saslauthd.service
├─ 740 /usr/sbin/saslauthd -a pam -c -m /var/spool/postfix/var/run/saslauthd -r -n 5
├─ 741 /usr/sbin/saslauthd -a pam -c -m /var/spool/postfix/var/run/saslauthd -r -n 5
├─ 742 /usr/sbin/saslauthd -a pam -c -m /var/spool/postfix/var/run/saslauthd -r -n 5
├─ 743 /usr/sbin/saslauthd -a pam -c -m /var/spool/postfix/var/run/saslauthd -r -n 5
├─ 744 /usr/sbin/saslauthd -a pam -c -m /var/spool/postfix/var/run/saslauthd -r -n 5
├─319581 /usr/sbin/saslauthd -a pam -c -m /var/spool/postfix/var/run/saslauthd -n 5
├─319582 /usr/sbin/saslauthd -a pam -c -m /var/spool/postfix/var/run/saslauthd -n 5
├─319583 /usr/sbin/saslauthd -a pam -c -m /var/spool/postfix/var/run/saslauthd -n 5
├─319584 /usr/sbin/saslauthd -a pam -c -m /var/spool/postfix/var/run/saslauthd -n 5
└─319585 /usr/sbin/saslauthd -a pam -c -m /var/spool/postfix/var/run/saslauthd -n 5

Oct 06 01:03:22 creativia.it systemd[1]: Started LSB: saslauthd startup script.
Oct 06 01:03:22 creativia.it saslauthd[319562]: …done.
Oct 06 01:03:32 creativia.it saslauthd[319582]: pam_unix(smtp:auth): check pass; user unknown
Oct 06 01:03:32 creativia.it saslauthd[319582]: pam_unix(smtp:auth): authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=
Oct 06 01:03:34 creativia.it saslauthd[319582]: DEBUG: auth_pam: pam_authenticate failed: Authentication failure
Oct 06 01:03:34 creativia.it saslauthd[319582]: : auth failure: [user=info] [service=smtp] [realm=creativia.it] [mech=pam] [reason=PAM auth error]
Oct 06 01:04:33 creativia.it saslauthd[319583]: pam_unix(smtp:auth): check pass; user unknown
Oct 06 01:04:33 creativia.it saslauthd[319583]: pam_unix(smtp:auth): authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=
Oct 06 01:04:34 creativia.it saslauthd[319583]: DEBUG: auth_pam: pam_authenticate failed: Authentication failure
Oct 06 01:04:34 creativia.it saslauthd[319583]: : auth failure: [user=info] [service=smtp] [realm=albergo-ariston.it] [mech=pam] [reason=PAM auth er>
lines 1-29/29 (END)

Are you absolutely certain that the email user exists? It looks like the service is working fine and doing its job.

Perhaps create a new throwaway email address for testing.

I created two more new email addresses and tried to send emials via round cube.

Now the mistake is <smtp error (535) authentication failed>

Hi i can modify this files in file etc/default/saslauthd

OPTIONS="-c -m /var/spool/postfix/var/run/saslauthd -r"
PARAMS="-m /var/spool/postfix/var/run/saslauthd -r"

Now RoundCube and Thunderbir send but the the emails do not reach the recipient.

If, on the other hand, I send an email from gmail (or other) to an email address on my server, I receive a return email with the message

What message? The 454?

No. Now if i send a message to an email address of my server the message on return email is

We need to see the relevant mail log entries. The client has no idea what went wrong, but the server almost certainly has some clues.

Hi Joe where i can find the email log ?

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.