can't send email, but can receive email

i new install cyber panel…
but i have problem about send email… i can’t send email… but can receive email.

what wrong ??
i set form How to Manually Set up SPF, DKIM and DMARC Inside CyberPanel - #2 by MAFG - Blog Posts - CyberPanel Community

please help me… thanks.

check email log and type it…

and check ur domain through this and give error results to check mxtool.com

Apr 21 20:17:44 localhost postfix/pickup[10883]: C12ABCD62D3: uid=5001 from=
Apr 21 20:17:44 localhost postfix/cleanup[24252]: C12ABCD62D3: message-id=[email protected]
Apr 21 20:17:44 localhost opendkim[10768]: C12ABCD62D3: DKIM-Signature field added (s=default, d=aoret.cf)
Apr 21 20:17:44 localhost postfix/qmgr[10884]: C12ABCD62D3: from=[email protected], size=380, nrcpt=1 (queue active)
Apr 21 20:17:44 localhost postfix/smtp[24287]: connect to gmail-smtp-in.l.google.com[2404:6800:4003:c02::1a]:25: Network is unreachable
Apr 21 20:17:58 localhost postfix/smtp[24271]: connect to gmail-smtp-in.l.google.com[74.125.200.26]:25: Connection timed out
Apr 21 20:17:58 localhost postfix/smtp[24271]: connect to gmail-smtp-in.l.google.com[2404:6800:4003:c03::1b]:25: Network is unreachable
Apr 21 20:17:58 localhost postfix/smtp[24271]: connect to alt1.gmail-smtp-in.l.google.com[2607:f8b0:400e:c05::1a]:25: Network is unreachable
Apr 21 20:18:01 localhost postfix/smtp[24206]: connect to alt1.gmail-smtp-in.l.google.com[173.194.203.26]:25: Connection timed out
Apr 21 20:18:01 localhost postfix/smtp[24206]: connect to alt1.gmail-smtp-in.l.google.com[2607:f8b0:400e:c05::1b]:25: Network is unreachable
Apr 21 20:18:14 localhost postfix/smtp[24287]: connect to gmail-smtp-in.l.google.com[74.125.68.26]:25: Connection timed out
Apr 21 20:18:14 localhost postfix/smtp[24287]: connect to alt1.gmail-smtp-in.l.google.com[2607:f8b0:400e:c05::1a]:25: Network is unreachable
Apr 21 20:18:19 localhost postfix/pickup[10883]: C9DD9CD62D4: uid=5001 from=
Apr 21 20:18:19 localhost postfix/cleanup[24252]: C9DD9CD62D4: message-id=[email protected]
Apr 21 20:18:19 localhost opendkim[10768]: C9DD9CD62D4: DKIM-Signature field added (s=default, d=aoret.cf)
Apr 21 20:18:19 localhost postfix/qmgr[10884]: C9DD9CD62D4: from=[email protected], size=380, nrcpt=1 (queue active)
Apr 21 20:18:28 localhost postfix/smtp[24271]: connect to alt1.gmail-smtp-in.l.google.com[173.194.203.27]:25: Connection timed out
Apr 21 20:18:31 localhost postfix/smtp[24206]: connect to alt2.gmail-smtp-in.l.google.com[64.233.178.26]:25: Connection timed out
Apr 21 20:18:31 localhost postfix/smtp[24206]: 9A1ABCD62D1: to=[email protected], relay=none, delay=90, delays=0.11/0.01/90/0, dsn=4.4.1, status=deferred (connect to alt2.gmail-smtp-in.l.google.com[64.233.178.26]:25: Connection timed out)
Apr 21 20:18:42 localhost dovecot: imap-login: Login: user=[email protected], method=PLAIN, rip=::1, lip=::1, mpid=24314, TLS, session=
Apr 21 20:18:42 localhost dovecot: imap([email protected]): Disconnected: Logged out in=89 out=860
Apr 21 20:18:44 localhost postfix/smtp[24287]: connect to alt1.gmail-smtp-in.l.google.com[173.194.203.27]:25: Connection timed out
Apr 21 20:18:49 localhost postfix/smtp[24304]: connect to gmail-smtp-in.l.google.com[74.125.68.26]:25: Connection timed out
Apr 21 20:18:49 localhost postfix/smtp[24304]: connect to gmail-smtp-in.l.google.com[2404:6800:4003:c03::1a]:25: Network is unreachable

i done check my domain… is not error sir… help me please.

Apr 21 20:18:58 localhost postfix/smtp[24271]: 59EB3CD62CD: to=[email protected], relay=none, delay=90, delays=0.06/0.02/90/0, dsn=4.4.1, status=deferred (connect to alt2.gmail-smtp-in.l.google.com[64.233.178.26]:25: Connection timed out)
Apr 21 20:19:14 localhost postfix/smtp[24287]: connect to alt2.gmail-smtp-in.l.google.com[64.233.178.26]:25: Connection timed out
Apr 21 20:19:14 localhost postfix/smtp[24287]: C12ABCD62D3: to=[email protected], relay=none, delay=90, delays=0.06/0.02/90/0, dsn=4.4.1, status=deferred (connect to alt2.gmail-smtp-in.l.google.com[64.233.178.26]:25: Connection timed out)
Apr 21 20:19:19 localhost postfix/smtp[24304]: connect to alt1.gmail-smtp-in.l.google.com[173.194.203.27]:25: Connection timed out
Apr 21 20:19:19 localhost postfix/smtp[24304]: connect to alt1.gmail-smtp-in.l.google.com[2607:f8b0:400e:c05::1a]:25: Network is unreachable
Apr 21 20:19:49 localhost postfix/smtp[24304]: connect to alt2.gmail-smtp-in.l.google.com[64.233.178.26]:25: Connection timed out
Apr 21 20:19:49 localhost postfix/smtp[24304]: C9DD9CD62D4: to=[email protected], relay=none, delay=90, delays=0.06/0.02/90/0, dsn=4.4.1, status=deferred (connect to alt2.gmail-smtp-in.l.google.com[64.233.178.26]:25: Connection timed out)
Apr 21 20:20:21 localhost postfix/anvil[24249]: statistics: max connection rate 1/60s for (submission:::1) at Apr 21 20:17:01

i’m try send email but not done

i think u have issue with port 25 ,

try telnet ur host and check if port is open

if not , check master.conf and posfix.conf and give details

I also encountered an error, how to fix bro?

I also encountered an error, how to fix bro?

Are you also having connection timeout?

I also encountered an error, how to fix bro?

Are you also having connection timeout?

Yes bro!

I go to DKIM MANAGER to add DKIM key in My_IP:8090/email/dkimManager but can’t sent email

I go to DKIM MANAGER to add DKIM key in My_IP:8090/email/dkimManager but can't sent email

Who is your provider? Do you have port 25 open?

I go to DKIM MANAGER to add DKIM key in My_IP:8090/email/dkimManager but can't sent email

Who is your provider? Do you have port 25 open?

I used Vultr, Firewall have port 25

I go to DKIM MANAGER to add DKIM key in My_IP:8090/email/dkimManager but can't sent email

Who is your provider? Do you have port 25 open?

I used Vultr, Firewall have port 25

We had a ticket a few days ago saying that Vultr blocks port 25, so even if you open port 25 on your FIrewall you can’t send emails.

You need to request them and have port 25 opened.

I go to DKIM MANAGER to add DKIM key in My_IP:8090/email/dkimManager but can't sent email

Who is your provider? Do you have port 25 open?

I used Vultr, Firewall have port 25

We had a ticket a few days ago saying that Vultr blocks port 25, so even if you open port 25 on your FIrewall you can’t send emails.

You need to request them and have port 25 opened.

Okay, thanks, bro! @usmannasir

I have same problem on this, first time let’s assume I make some mistake with reinstalling postfix manually, then I try to clean install my CentOs from the beginning after backup all website database and files, but still no luck with this newly Cyberpanel without touch anything else.
This is my lsop process to find all pid and port…

[root@localhost ~]# sudo lsof -i -P -n
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
systemd 1 root 89u IPv4 16480 0t0 TCP 127.0.0.1:5003 (LISTEN)
rpcbind 648 rpc 6u IPv4 16502 0t0 UDP *:111
rpcbind 648 rpc 7u IPv4 16503 0t0 UDP *:822
rpcbind 648 rpc 8u IPv4 16504 0t0 TCP *:111 (LISTEN)
rpcbind 648 rpc 9u IPv6 16505 0t0 UDP *:111
rpcbind 648 rpc 10u IPv6 16506 0t0 UDP *:822
rpcbind 648 rpc 11u IPv6 16507 0t0 TCP *:111 (LISTEN)
sshd 1056 root 3u IPv4 20735 0t0 TCP *:22 (LISTEN)
sshd 1056 root 4u IPv6 20737 0t0 TCP *:22 (LISTEN)
pure-ftpd 1075 root 4u IPv4 21769 0t0 TCP *:21 (LISTEN)
pure-ftpd 1075 root 5u IPv6 21770 0t0 TCP *:21 (LISTEN)
dovecot 1098 root 23u IPv4 22005 0t0 TCP *:110 (LISTEN)
dovecot 1098 root 24u IPv6 22006 0t0 TCP *:110 (LISTEN)
dovecot 1098 root 25u IPv4 22007 0t0 TCP *:995 (LISTEN)
dovecot 1098 root 26u IPv6 22008 0t0 TCP *:995 (LISTEN)
dovecot 1098 root 36u IPv4 22027 0t0 TCP *:143 (LISTEN)
dovecot 1098 root 37u IPv6 22028 0t0 TCP *:143 (LISTEN)
dovecot 1098 root 38u IPv4 22029 0t0 TCP *:993 (LISTEN)
dovecot 1098 root 39u IPv6 22030 0t0 TCP *:993 (LISTEN)
mysqld 1148 mysql 26u IPv6 21217 0t0 TCP *:3306 (LISTEN)
pdns_serv 1454 pdns 6u IPv4 21328 0t0 UDP *:53
pdns_serv 1454 pdns 7u IPv6 21329 0t0 UDP *:53
pdns_serv 1454 pdns 8u IPv4 21332 0t0 TCP *:53 (LISTEN)
pdns_serv 1454 pdns 9u IPv6 21333 0t0 TCP *:53 (LISTEN)
gunicorn 1520 cyberpanel 7u IPv4 16480 0t0 TCP 127.0.0.1:5003 (LISTEN)
gunicorn 1922 cyberpanel 7u IPv4 16480 0t0 TCP 127.0.0.1:5003 (LISTEN)
opendkim 14423 opendkim 3u IPv4 85643 0t0 TCP 127.0.0.1:8891 (LISTEN)
/usr/bin/ 14829 root 5u IPv4 89023 0t0 TCP 127.0.0.1:783 (LISTEN)
/usr/bin/ 14829 root 6u IPv6 89025 0t0 TCP [::1]:783 (LISTEN)
spamd 14830 root 5u IPv4 89023 0t0 TCP 127.0.0.1:783 (LISTEN)
spamd 14830 root 6u IPv6 89025 0t0 TCP [::1]:783 (LISTEN)
spamd 14832 root 5u IPv4 89023 0t0 TCP 127.0.0.1:783 (LISTEN)
spamd 14832 root 6u IPv6 89025 0t0 TCP [::1]:783 (LISTEN)
master 14919 root 13u IPv4 90282 0t0 TCP *:25 (LISTEN)
master 14919 root 14u IPv6 90283 0t0 TCP *:25 (LISTEN)
master 14919 root 18u IPv4 90292 0t0 TCP *:587 (LISTEN)
master 14919 root 19u IPv6 90293 0t0 TCP *:587 (LISTEN)
master 14919 root 22u IPv4 90303 0t0 TCP *:465 (LISTEN)
master 14919 root 23u IPv6 90304 0t0 TCP *:465 (LISTEN)
sshd 15369 root 3u IPv4 92669 0t0 TCP 192.168.8.250:22->192.168.7.218:5624 (ESTABLISHED)
lscpd 15588 root 6u IPv4 94123 0t0 TCP *:8090 (LISTEN)
lscpd 15590 nobody 6u IPv4 94123 0t0 TCP *:8090 (LISTEN)
lscpd 15590 nobody 10u IPv4 94130 0t0 UDP *:48966
lscpd 15591 nobody 6u IPv4 94123 0t0 TCP *:8090 (LISTEN)
lscpd 15591 nobody 10u IPv4 94314 0t0 UDP *:55037
litespeed 15635 root 7u IPv4 93883 0t0 TCP *:80 (LISTEN)
litespeed 15635 root 8u IPv4 93882 0t0 TCP *:7080 (LISTEN)
litespeed 15697 nobody 7u IPv4 93883 0t0 TCP *:80 (LISTEN)
litespeed 15697 nobody 8u IPv4 93882 0t0 TCP *:7080 (LISTEN)
litespeed 15697 nobody 29u IPv4 95365 0t0 UDP *:43882

  • it seems port 25 has no problem.
  • check form browser via open port checker online, here the screenshot Screenshot by Lightshot
  • NAT from mikrotik router, IP>Firewall>NAT
    [chain=dstnat action=dst-nat to-addresses=192.168.8.250 to-ports=25 protocol=tcp
    dst-address=103.57.195.132 dst-port=25 log=no log-prefix=“”] and packets size not
    empty on there, its mean port 25 have a responds.
  • Cyberpanel email logs
    [
    Jul 22 09:31:20 localhost dovecot: imap-login: Login: user=[email protected], method=PLAIN, rip=::1, lip=::1, mpid=16213, TLS, session=<1tYDU41xYAAAAAAAAAAAAAAAAAAAAAAB>
    Jul 22 09:31:20 localhost postfix/submission/smtpd[16214]: connect from localhost[::1]
    Jul 22 09:31:20 localhost postfix/submission/smtpd[16214]: C66F061608D1: client=localhost[::1], sasl_method=PLAIN, [email protected]
    Jul 22 09:31:20 localhost postfix/cleanup[16219]: C66F061608D1: message-id=[email protected]
    Jul 22 09:31:20 localhost opendkim[14423]: C66F061608D1: DKIM-Signature field added (s=default, d=goadventure.co.id)
    Jul 22 09:31:21 localhost postfix/qmgr[14921]: C66F061608D1: from=[email protected], size=187604, nrcpt=1 (queue active)
    Jul 22 09:31:21 localhost postfix/submission/smtpd[16214]: disconnect from localhost[::1]
    Jul 22 09:31:21 localhost dovecot: imap([email protected]): Disconnected: Logged out in=187388 out=459
    Jul 22 09:31:21 localhost dovecot: imap-login: Login: user=[email protected], method=PLAIN, rip=::1, lip=::1, mpid=16225, TLS, session=
    Jul 22 09:31:21 localhost dovecot: imap([email protected]): Disconnected: Logged out in=96 out=867
    ]
    ============================================
    That’s all… Please if any clue on this, maybe we can all save time for a few hours or days in front of the computer… XD
    Thanks for Admin and Cyberpanel Team :smile: