Hi, i have created a phpmail script that uses smtp auth, when the firewall is disabled the script works fine and the email arrives to the user, but when i enable the firewall the emails are blocked
This is what i found on the log file /var/log/messages
Jul 28 09:08:27 core kernel: Firewall: *TCP_OUT Blocked* IN= OUT=enp5s0 SRC=10.45.18.66 DST=127.0.0.1 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=50199 DF PROTO=TCP SPT=43869 DPT=465 WINDOW=29200 RES=0x00 SYN URGP=0 UID=1001 GID=1001
Blocking emails from script
Re: Blocking emails from script
Do you have port 465 open to send emails?
Have you tried to change that port in your script to be 25 or 587?
Have you tried to change that port in your script to be 25 or 587?