SMTP Tweak - VPS Servers

vlee

Well-Known Member
Oct 13, 2005
373
26
178
Spokane, Washington
cPanel Access Level
Root Administrator
I know that in Version 11.30 SMTP Tweak was not possible on VPS Servers.


I would like to know if the SMTP Tweak can be enabled on VPS Servers on the new version of cpanel 11.32.2 Build 15?
 

Archmactrix

Well-Known Member
Jan 20, 2012
138
2
68
cPanel Access Level
Root Administrator
If I understand correctly, SMTP Tweak will not function when running csf, at least on my VPS server. It says that one has to disable SMTP Tweak and use the csf configuration option SMTP_BLOCK instead.
 

vlee

Well-Known Member
Oct 13, 2005
373
26
178
Spokane, Washington
cPanel Access Level
Root Administrator
If I understand correctly, SMTP Tweak will not function when running csf, at least on my VPS server. It says that one has to disable SMTP Tweak and use the csf configuration option SMTP_BLOCK instead.
I have mine set to default this way I let cPanel version SMTP Tweak and Exim run it. Unless someone out there says to use the CSF instead.

Code:
# Block outgoing SMTP except for root, exim and mailman (forces scripts/users
# to use the exim/sendmail binary instead of sockets access). This replaces the
# protection as WHM > Tweak Settings > SMTP Tweaks
#
# This option uses the iptables ipt_owner/xt_owner module and must be loaded
# for it to work. It may not be available on some VPS platforms
#
# Note: Run /etc/csf/csftest.pl to check whether this option will function on
# this server
SMTP_BLOCK = Default: 0 [0-1]
 

vlee

Well-Known Member
Oct 13, 2005
373
26
178
Spokane, Washington
cPanel Access Level
Root Administrator
Ok.... I followed this below in shell

# Note: Run /etc/csf/csftest.pl to check whether this option will function on
# this server

Results returned the following

[email protected] [~]# /etc/csf/csftest.pl
Testing ip_tables/iptable_filter...OK
Testing ipt_LOG...OK
Testing ipt_multiport/xt_multiport...OK
Testing ipt_REJECT...OK
Testing ipt_state/xt_state...OK
Testing ipt_limit/xt_limit...OK
Testing ipt_recent...OK
Testing xt_connlimit...OK
Testing ipt_owner/xt_owner...OK
Testing iptable_nat/ipt_REDIRECT...OK
Testing iptable_nat/ipt_DNAT...OK

RESULT: csf should function on this server

So I disabled the SMTP Tweak in cPanel and enabled the one in CSF.

I do not know which SMTP Tweak would preform better CSF or cPanel?

Can someone who has experience with this explain the differences please.
 

cPanelNick

Administrator
Staff member
Mar 9, 2015
3,481
35
208
cPanel Access Level
DataCenter Provider
Archmactrix said:
If I understand correctly, SMTP Tweak will not function when running csf, at least on my VPS server. It says that one has to disable SMTP Tweak and use the csf configuration option SMTP_BLOCK instead.
There was a problem with an compatibility older version of 11.32. However that should now be resolved.