This software tool encapsulates the sendmail call from web pages and performs pre-send checks on emails before sending.
Unfortunately, some clients may use old scripts or simply not have the skills to program in a secure manner. As a result, their sites may be vulnerable to hacking, which can result in spam being sent out. This is where mail-wrapper comes in - it's designed to prevent this from happening.
So how does mail-wrapper work exactly? Essentially, it gets the mail-content, counts all recipients, and writes this count in a database. If too many mails are sent during a specific period of time or too many recipients are in a single mail, an administrator will be informed immediately. In short, mail-wrapper enables you to stay on top of your email communication and ensure that only legitimate messages are being sent out.
But the benefits of mail-wrapper don't end there. Configuration and running the software is incredibly easy. All you need to do is create a database, grant select and insert permissions to the mails and events table, select on clients table, and add the following code:
php_admin_value sendmail_path "/usr/local/sbin/mail-wrapper.php domain.name [email protected] -t -i"
Once this is done, you simply need to add some entries to your clients-table and you're good to go. All in all, mail-wrapper is a highly effective and user-friendly tool that can help you keep your email communication secure and professional.
Version 1.9: N/A