Page 1 of 1

cant send or receive email

Posted: Wed 21. Aug 2024, 14:30
by aardappel
Hi,

Got the log here. Some things aren't configured correctly. Someone can guide me in the right direction? coming from directadmin and centos.

Its a fresh install, migrated a few domains and now just need to fix the email. I'm sure i'm not the first one encountering this.

Log:

2024-08-21 14:18:59 postfix/anvil statistics: max connection rate 1/60s for (smtp:178.215.236.137) at Aug 21 14:14:44
2024-08-21 14:15:39 postfix/smtpd disconnect from pro-mail-smtp-004-vip2.bol.com[185.14.169.130] ehlo=2 starttls=1 mail=1 rcpt=0/1 data=0/1 rset=1 quit=1 commands=6/8
2024-08-21 14:15:39 postfix/smtpd NOQUEUE: reject: RCPT from pro-mail-smtp-004-vip2.bol.com[185.14.169.130]: 451 4.3.0 <myemail@mydomain.com>: Temporary lookup failure; from=<56c184fa-7dde-4afa-907d-8e5ddd90c7a6@bounces.bol.com> to=<myemail@mydomain.com> proto=ESMTP helo=
2024-08-21 14:15:39 postfix/trivial-rewrite warning: virtual_alias_domains lookup failure
2024-08-21 14:15:39 postfix/trivial-rewrite warning: virtual_alias_domains: mysql:/etc/postfix/mysql-virtual-alias-maps.cf: table lookup problem
2024-08-21 14:15:39 postfix/trivial-rewrite warning: virtual_alias_domains lookup failure
2024-08-21 14:15:39 postfix/trivial-rewrite warning: virtual_alias_domains: mysql:/etc/postfix/mysql-virtual-alias-maps.cf: table lookup problem
2024-08-21 14:15:39 postfix/trivial-rewrite warning: connect to mysql server 127.0.0.1: Host '127.0.0.1' is not allowed to connect to this MariaDB server
2024-08-21 14:15:38 postfix/smtpd connect from pro-mail-smtp-004-vip2.bol.com[185.14.169.130]
2024-08-21 14:14:44 postfix/smtpd disconnect from unknown[178.215.236.137] ehlo=1 auth=0/1 quit=1 commands=2/3
2024-08-21 14:14:44 postfix/smtpd connect from unknown[178.215.236.137]
2024-08-21 14:14:24 postfix/anvil statistics: max cache size 3 at Aug 21 14:10:05
2024-08-21 14:14:24 postfix/anvil statistics: max connection count 1 for (smtp:178.215.236.126) at Aug 21 14:09:19
2024-08-21 14:14:24 postfix/anvil statistics: max connection rate 1/60s for (smtp:178.215.236.126) at Aug 21 14:09:19

Re: cant send or receive email

Posted: Wed 21. Aug 2024, 14:32
by Florian
Hello,
postfix/trivial-rewrite warning: connect to mysql server 127.0.0.1: Host '127.0.0.1' is not allowed to connect to this MariaDB server
There is something wrong with your MariaDB configuration.

e.g: Do not use the option "skip_name_resolve" in the configuration. Comment it if it is active.

Re: cant send or receive email

Posted: Wed 21. Aug 2024, 14:38
by aardappel
Hey Florian,

Thanks for the quick reply.

skip_name_resolve > also came on that topic.

But trying to find it in the config. all the config files inside /etc/mysql/ don't have this line.

Any idea?

EDIT:
50-server.cnf inside /etc/mysql/mariadb.conf.d has this line, but already commented.

Re: cant send or receive email

Posted: Wed 21. Aug 2024, 14:53
by aardappel
When i send email from webmail roundcube i get:
SMTP-failure (451): Receiver "receiver@gmail.com" can't be added (4.3.0 <receiver@gmail.com>: Temporary lookup failure).

Re: cant send or receive email

Posted: Wed 21. Aug 2024, 14:55
by Florian
Hello,

you can send me the root login via PM. I can have a look at it

Re: cant send or receive email  [SOLVED]

Posted: Wed 21. Aug 2024, 15:22
by Florian
Hello,

Code: Select all

root@server:/etc/mysql/mariadb.conf.d# cat 90-tuning.cnf
#
# KeyHelp Tuning Settings
# System Memory: < 2 GB
#

[mysqld]

skip-name-resolve
skip-external-locking
There it is. Corrected. Should work now.

Re: cant send or receive email

Posted: Wed 21. Aug 2024, 17:55
by aardappel
Perfecto, solved.

Thank you very much!