configuration email

I have setting dns zone but once I want to email settings, in create email account option select website does not exist. if there is my setting wrong, please help cyber team

First you need to create it as website: 2 - Creating Website - 04 - Websites - CyberPanel Community

It will then allow you to create email accounts for this website.

I created the website and it’s normal. But I opened the email that doesn’t work. I wiped the server twice, but it didn’t. I created the MX records. But I can’t connect to the e-mail server.

email logs

Jan 25 06:55:26 server dovecot: auth-worker(903): Error: mysql(127.0.0.1): Connect failed to database (cyberpanel): Can’t connect to MySQL server on ‘127.0.0.1’ (13 “Permission denied”) - waiting for 1 seconds before retry
Jan 25 06:55:27 server dovecot: auth-worker(903): Error: mysql(127.0.0.1): Connect failed to database (cyberpanel): Can’t connect to MySQL server on ‘127.0.0.1’ (13 “Permission denied”) - waiting for 5 seconds before retry
Jan 25 06:55:27 server dovecot: auth-worker(903): Error: mysql(127.0.0.1): Connect failed to database (cyberpanel): Can’t connect to MySQL server on ‘127.0.0.1’ (13 “Permission denied”) - waiting for 5 seconds before retry
Jan 25 06:55:32 server dovecot: auth-worker(903): Error: mysql(127.0.0.1): Connect failed to database (cyberpanel): Can’t connect to MySQL server on ‘127.0.0.1’ (13 “Permission denied”) - waiting for 25 seconds before retry
Jan 25 06:55:32 server dovecot: auth-worker(903): Error: mysql(127.0.0.1): Connect failed to database (cyberpanel): Can’t connect to MySQL server on ‘127.0.0.1’ (13 “Permission denied”) - waiting for 25 seconds before retry
Jan 25 06:55:57 server dovecot: auth-worker(903): Error: mysql(127.0.0.1): Connect failed to database (cyberpanel): Can’t connect to MySQL server on ‘127.0.0.1’ (13 “Permission denied”) - waiting for 125 seconds before retry
Jan 25 06:55:57 server dovecot: auth-worker(903): Error: mysql(127.0.0.1): Connect failed to database (cyberpanel): Can’t connect to MySQL server on ‘127.0.0.1’ (13 “Permission denied”) - waiting for 125 seconds before retry
Jan 25 06:56:26 server dovecot: auth-worker(903): Error: mysql: Query timed out (no free connections for 60 secs): SELECT email as user, password FROM e_users WHERE email=‘[email protected]’;
Jan 25 06:56:26 server dovecot: auth-worker(903): Error: sql([email protected],::1): Password query failed: Not connected to database
Jan 25 06:56:26 server dovecot: auth: Error: auth worker: Aborted request: Lookup timed out
Jan 25 06:56:26 server dovecot: auth-worker(989): Error: mysql(127.0.0.1): Connect failed to database (cyberpanel): Can’t connect to MySQL server on ‘127.0.0.1’ (13 “Permission denied”) - waiting for 1 seconds before retry
Jan 25 06:56:27 server dovecot: auth-worker(989): Error: mysql(127.0.0.1): Connect failed to database (cyberpanel): Can’t connect to MySQL server on ‘127.0.0.1’ (13 “Permission denied”) - waiting for 5 seconds before retry
Jan 25 06:56:28 server dovecot: imap-login: Disconnected (auth failed, 1 attempts in 62 secs): user=[email protected], method=PLAIN, rip=::1, lip=::1, TLS, session=<i6S+Q5Rj5gAAAAAAAAAAAAAAAAAAAAAB>
Jan 25 06:56:32 server dovecot: auth-worker(989): Error: mysql(127.0.0.1): Connect failed to database (cyberpanel): Can’t connect to MySQL server on ‘127.0.0.1’ (13 “Permission denied”) - waiting for 25 seconds before retry
Jan 25 06:56:57 server dovecot: auth-worker(989): Error: mysql(127.0.0.1): Connect failed to database (cyberpanel): Can’t connect to MySQL server on ‘127.0.0.1’ (13 “Permission denied”) - waiting for 125 seconds before retry

You need to disable selinux before installation, it should work then.

Esselamu Aleykum
Everything is working, thanks. Another problem is that the system is giving error in itself. The script we run also prevents us from sending mail in SMTP settings.
Jan 26 11:28:13 server postfix/submission/smtpd[14758]: warning: hostname server.clayi.com does not resolve to address 46.101.203.180
Jan 26 11:28:13 server postfix/submission/smtpd[14758]: connect from unknown[46.101.203.180]
Jan 26 11:28:13 server postfix/submission/smtpd[14758]: lost connection after UNKNOWN from unknown[46.101.203.180]
Jan 26 11:28:13 server postfix/submission/smtpd[14758]: disconnect from unknown[46.101.203.180]

Can you please provide steps to reproduce the problem or send your server logins to support [a] cyberpanel.net

Do mention steps to reproduce problem.

Thanks for sending the server logins.


not rekomended for smtp

@fianbiasa

See if this can help you: How to Manually Set up SPF, DKIM and DMARC Inside CyberPanel - #2 by MAFG - Blog Posts - CyberPanel Community

okey thank’s i’ll read