cant send or receive email  [SOLVED]

Discussions about the usage of KeyHelp.
Post Reply
aardappel
Posts: 6
Joined: Mon 1. Jul 2024, 11:38

cant send or receive email

Post 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
Last edited by aardappel on Wed 21. Aug 2024, 14:33, edited 1 time in total.
User avatar
Florian
Keyweb AG
Posts: 1402
Joined: Wed 20. Jan 2016, 02:28

Re: cant send or receive email

Post 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.
Mit freundlichen Grüßen / Best regards
Florian Cheno

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
aardappel
Posts: 6
Joined: Mon 1. Jul 2024, 11:38

Re: cant send or receive email

Post 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.
aardappel
Posts: 6
Joined: Mon 1. Jul 2024, 11:38

Re: cant send or receive email

Post 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).
User avatar
Florian
Keyweb AG
Posts: 1402
Joined: Wed 20. Jan 2016, 02:28

Re: cant send or receive email

Post by Florian »

Hello,

you can send me the root login via PM. I can have a look at it
Mit freundlichen Grüßen / Best regards
Florian Cheno

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
User avatar
Florian
Keyweb AG
Posts: 1402
Joined: Wed 20. Jan 2016, 02:28

Re: cant send or receive email  [SOLVED]

Post 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.
Mit freundlichen Grüßen / Best regards
Florian Cheno

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
aardappel
Posts: 6
Joined: Mon 1. Jul 2024, 11:38

Re: cant send or receive email

Post by aardappel »

Perfecto, solved.

Thank you very much!
Post Reply