|
Xamime's Postfilter system can be used to send data about each processed email up to a SQL server. Here, we will demonstrate how to integrate with MySQL using PHP.
Requirements
- PHP with CLI interface and MySQL support ( ./compile --with-mysql --disable-cgi )
- MySQL
- Xamime Postfilter-MySQL package .
Setup
- Unpack the package: tar zxvf postfilter-report-mysql.tar.gz
- Create the MySQL Xamime DB: mysqladmin -u root -p create xamime
- Create the Xamime table: mysql -u root -p xamime < generate-xamime-table.sql
- Change the 'username' and 'password' texts in the report.php file to suit your database setup
- Copy report.php and postfilter.sh to your Xamime directory
- Configure your Postfilter to use the postfilter.sh file and select 'active'.
Your postfilter should now be uploading the required data to your database.
For further queries, please email xamime-support@pldaniels.com
|