Hello,
Recently cpanel has added a feature called SMTP Restrictions:
" You may want to prevent users from bypassing your mail server to send mail. This is common practice for spammers.
This feature allows you to configure your server so that the mail transport agent (MTA), Mailman mailing list software, and root user are the only accounts able to connect to remote SMTP servers. "
Please add this good feature to virtualmin too.
Thanks
Status:
Active
Comments
Submitted by Locutus on Thu, 04/10/2014 - 13:10 Comment #1
Sounds very interesting! Do you know how cPanel implements this?
I found that csf has that feature, called SMTP_BLOCK
Submitted by JamieCameron on Thu, 04/10/2014 - 19:29 Comment #3
Ok, so do they setup a firewall rule to block outgoing port 25 connections?
You could do this in Virtualmin already, at Webmin -> Network -> Linux Firewall.
Submitted by JamieCameron on Thu, 04/10/2014 - 19:30 Comment #4
Submitted by sgrayban on Fri, 04/11/2014 - 05:56 Comment #5
Hmm that's a interesting feature....
Submitted by sgrayban on Fri, 04/11/2014 - 06:00 Comment #6
Looks like this is part of a software called ConfigServer -- http://www.configserver.com/
See http://www.configserver.com/cp/csf.html
If you don't want to install csf, you can use 'iptables ipt_owner/xt_owner module'. Using this feature beside Mail limit feature and mail.log feature of php 5.3, you can more easily deal with spam...
Submitted by sgrayban on Fri, 04/11/2014 - 06:17 Comment #8
Yup you can do that -- see http://www.cyberciti.biz/tips/block-outgoing-network-access-for-a-single... for help