Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: newbie on May 23, 2003, 04:45:33 PM
-
Is there any way i can disable smtp for certain users, they may receive mail but not send.
is there a possible how-to for this or a rpm i can download somewhere?
-
/sbin/ipchains -A input -p tcp --source [IP addr] --dport 25 -j DENY
Where [IP addr] is the ip address of the client you want to deny access to use SMTP, on TCP 25. If you want these rules to be persistent on reboot, add them to the bottom of /etc/rc.d/rc.local
[IP addr] can be a subnet in CIDR notation, or a single IP address.
Hope this helped,
Nathan
-
Note:
This command will only work for SME V5.5 or earlier. SME V5.6 uses iptables.
Jon
-
alright i will try that out im currently running ver 5.1.2
thanks guys