CyberPanel Community

ClosedI Need help please?

lM
leader_Me #1

Has ssl stopped working in cyberpanel?
I need help please.

As the mail is received and not sent final?

33 replies
ay
ayobpro #2

Please provide some more info

lM
leader_Me #3

What information do you want?

lM
leader_Me #6

Email is received

But if you send to Gmail, it does not receive the message

If you send and receive another email, but from the same domain, it will be received, for example
info@dd.com
admin@dd.com
It is sent and received without problems

ay
ayobpro #7

Try check your gmail spam folder?

lM
leader_Me #8

I already did that I didnโ€™t find anything
The strange thing is, if I disable the firewall when installing a site, it sends me a message from the panel, and when it activates, it does not send

MK
Mirza Khadnezar S [sick] #9

how u know about it ?

you can received email but you cant sent ?
did you try this from webmail or mail client ?

lM
leader_Me #10

Hi, glad you are trying to help
Regarding ssl I disabled ModSecurity Status at the time of release and now it works

To send an email, use Access Webmail

lM
leader_Me #11

I found the problem
I have to turn off the firewall in order for the messages to be sent

Is there a solution to this problem?

Surely there are firewall settings

MK
Mirza Khadnezar S [sick] #12

check the firewall port
blocking SMTP port or not
unsecure port (usually 25)
SSL port
TLS port

lM
leader_Me #13

How do I add port 25 to the firewall?

ay
ayobpro #14

What firewall do you use?

lM
leader_Me #15

ConfigServer Security & Firewall - csf v14.16 firewall

ay
ayobpro #16
sudo nano /etc/csf/csf.conf

Find line like below and add your port:

TCP_IN = "20,21,22,25,53,80,110,143,443,465,587,993,995"

# Allow outgoing TCP ports
TCP_OUT = "20,21,22,25,53,80,110,113,443,587,993,995"

# Allow incoming UDP ports
UDP_IN = "20,21,53,80,443"

# Allow outgoing UDP ports
# To allow outgoing traceroute add 33434:33523 to this list
UDP_OUT = "20,21,53,113,123"

After done adding, save and close the file and restart csf using the following command:

sudo csf -r
lM
leader_Me #17

This ports already exists

ay
ayobpro #18

There should be no problem if port already open. Have any error on the logs?

MK
Mirza Khadnezar S [sick] #19

what is your VPS provider ? some provider doesnt allow smtp, some of them only block 25. etc

K๐Ÿ‘‘
King ๐Ÿ‘‘ #20

I have the same problem. But I want to clarify something very important when you turn off the firewall, messages are sent and received, so I rule out the problem of vps

tb
tbaldur #21

You mentioned the firewall.
Can you check if you have the firewall disabled for IPv6?
If so, can you enable it for IPv6 and check if it is now sent correctly?

By default, the mail server is set up to use down ipv4 and ipv6, so it may be trying to send by ipv6.

K๐Ÿ‘‘
King ๐Ÿ‘‘ #22

Ipv6 = on
Ipv6_icmp_strict = off
Ipv6_spi = on

These are the settings

tb
tbaldur #23

Check if you also have:

SMTP_BLOCK = OFF

at CSF configuration.

If yes, message me tomorrow between 12 and 00 UTC to take a look by anydesk

K๐Ÿ‘‘
King ๐Ÿ‘‘ #24

SMTP_BLOCK = OFF
Yes

Can we choose a later time?

tb
tbaldur #25

Message me when you can, i will be online for the next 8h

K๐Ÿ‘‘
King ๐Ÿ‘‘ #26

Until now
I didnโ€™t find any solutions

K๐Ÿ‘‘
King ๐Ÿ‘‘ #27

I did that and the problem is still there

Al
Alex #28

if you donโ€™t send logs, nobody can help you.

lM
leader_Me #29

What records do you want to send?

sh
shoaibkk #30

Share complete mail logs?

lM
leader_Me #31

Where do I find the file?

tb
tbaldur #32

leadership issue found

Issue: Email server trying to send by ipv6, but VPS didnโ€™t support ipv6.

Solution: Disable ipv6 by doing the following steps:

1 - Edit the file

/etc/postfix/main.cf

2 - Look for:

inet_protocols = all

3 - Change into:

inet_protocols = ipv4

4 - Restart postfix:

systemctl restart postfix
lM
leader_Me #33

so ipv6
Unable to send or must be specified in the file

lM
leader_Me #34

I want to thank you my friend

To solve the problem and please create a video explanation so that all subscribers can benefit

Sign in to reply