SquirrelMail  
Donations
News
About
Support
Screen shots
Download
Plugins
Documentation
Sponsors
Bounties













Security Notice
Phishing campain
Version 1.4.15
Security Upgrade
Plugins - Restrict Senders
Category: Filters & Spam

This plugin allows you to place restrictions on the destination addresses of all outgoing email and/or the amount of mail sent by any one user with a certain time period (ONLY email that is sent using SquirrelMail is monitored).

Destination addresses can be restricted such that you may limit the total number of recipients for all outgoing emails (an anti-spam tactic) or you may limit the addresses/domains to which your users are allowed or disallowed to send mail to. Recipient address restrictions may be defined on a per-user or per-domain basis, or for all of your users.

Email alerts can also be sent to the system administrator when a user has attempted to send too many emails in a day or one email with too many recipients, and users who continue to send out too many "mass emails" in a short period of time may be banned from sending any more messages whatsoever. Each of these restrictions may be defined on a per-user or per-domain basis by using the Login Manager (vlogin) plugin to override the corresponding settings.

Please note that this plugin is a poor replacement for real SMTP filtering, which provides the same functionality no matter what email client your users are using (it will also be much faster). This plugin will work ONLY for email sent using SquirrelMail.


Version 1.5.1
by Paul Lesniewski on Jul 4, 2011
Please support this plugin's development: Donate to this author
[ restrict_senders-1.5.1-1.4.1.tar.gz tarball (2913 d/l) Help ]
Requires: SquirrelMail 1.4.1+, Compatibility plugin 2.0.10+

Description:
  • No longer count saved drafts as sent emails

Older versions

Version 1.5
by Paul Lesniewski on Dec 28, 2009
[ restrict_senders-1.5-1.4.1.tar.gz tarball (2741 d/l) Help ]
Requires: SquirrelMail 1.4.1+, Compatibility plugin 2.0.10+

Description:
  • It is possible for attackers to log in via multiple browsers or machines in order to subvert the daily email limit; added $rs_clear_prefs_cache_on_send to the config file - see explanation in the example config file
  • Don't let Reset User Preferences plugin give control over sensitive user prefs - requires version 1.1 of the Reset User Preferences; not applicable unless you are using that plugin in the first place
  • Allow alert messages to include the From and Reply-to headers; also allow configuration of the message details that appear in alerts when accounts are locked down
  • Allow configuration files to be kept in the main SquirrelMail config directory


Version 1.4
by Paul Lesniewski on Apr 12, 2008
[ restrict_senders-1.4-1.4.1.tar.gz tarball (3411 d/l) Help ]
Requires: SquirrelMail 1.4.1+, Compatibility plugin 2.0.10+

Description:
  • Allow overrides of SquirrelMail SMTP/Sendmail settings when sending administrative alert emails


Version 1.3
by Paul Lesniewski on Feb 13, 2008
[ restrict_senders-1.3-1.4.1.tar.gz tarball (2349 d/l) Help ]
Requires: SquirrelMail 1.4.1+, Compatibility plugin 2.0.10+

Description:
  • Minor code updates and fixes
  • Use sq_send_mail() to send messages
  • Add ability to log blocked messages using Squirrel Logger


Version 1.2
by Paul Lesniewski on Aug 6, 2007
[ restrict_senders-1.2-1.4.1.tar.gz tarball (2608 d/l) Help ]
Requires: SquirrelMail 1.4.1+, Compatibility plugin 2.0.7+

Description:
  • Added ability to send email alerts to system administrator
  • Added ability to effectively turn off accounts of users who send out too many "mass emails" in a fixed time period.
  • Added compatibility with mass_mailing plugin
  • Added configuration check (for use with src/configtest.php)
  • Allow destination addresses to be restricted by mailbox as well as domain
  • Updated for use with SquirrelMail 1.5.2+
  • Miscellaneous updates for new plugin specifications
  • Added ability to override rules file per user/group/domain by using Login Manager (vlogin)


Version 1.1
by Paul Lesniewski on Apr 17, 2005
[ restrict_senders-1.1-1.4.1.tar.gz tarball (4493 d/l) Help ]
Requires: SquirrelMail 1.4.1 (1.4.0?), Compatibility plugin

Description:
  • Added ability to use vlogin to override $restrictNumberOfRecipients setting (use "vlogin_restrictNumberOfRecipients" in vlogin). This may only work if vlogin is listed before restrict_senders in your plugin order.
  • Added ability to restrict number of emails sent per day (also can be overridden by vlogin with "vlogin_restrictNumberOfEmailsPerDay")
  • Internationalization updates (correct bind calls; locale is in SquirrelMail locale directory)


Version 1.0
by Paul Lesniewski on Oct 27, 2003
[ restrict_senders-1.0-1.4.1.tar.gz tarball (4280 d/l) Help ]
Requires: SquirrelMail 1.4.1 (1.4.0?), Compatibility plugin

Description: Initial release.

If you have problems with the download or decompressing...
Internet Explorer
Right-click on the file, then select "Save Target As"
Firefox, Mozilla, Netscape
Right-click on the file, then select "Save Link As"
Opera
Right-click on the file, then select "Save Link Document As"
Lynx and Links
Press "d" on the link to download the file directly.
  • Untarring problems: Your browser might have un-gzipped it for you automatically. Try just "tar xvf" instead of "tar xvfz". Also, the plugins archive isn't gzipped (it is a tarball of .tar.gz files)
  • Macintosh users: Just hold down your mouse button to get the menu instead of right-clicking.
  • If all else fails, seek our help
© 1999-2010 by The SquirrelMail Project Team