Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: axessit on November 08, 2010, 12:01:04 AM
-
I am trying to restrict some users form emailing to the internet. I have set their individual accounts to only receive internal email as per the FAQ, but they can still send email.
Similarly I need some users to be able to send internet email, so this is not a blanket rule.
-
axessit
Firstly without any intent of being rude or offensive, is it that hard for you to do a search on the topic ? I found this quite quickly by using the search link at top of forum and typing in Block outgoing mail.
http://forums.contribs.org/index.php/topic,45679.msg222433.html#msg222433
-
Well it's not quite what I want. I want them to be able to send email to local domain only, not stop them from sending emails completely, which is what this would do.
-
axessit
Check for the functionality in qpsmtpd plug-ins.
You could also possibly achieve something by templating badmailfromto, see /var/qmail/control although tedious I'd expect.
-
Check for the functionality in qpsmtpd plug-ins.
I think you would need to write a special one.
I would first try an administrative solution rather than a technical one. Tell people it is forbidden, and then audit the logs and punish any offenders.