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
  1. Unpack the package: tar zxvf postfilter-report-mysql.tar.gz
  2. Create the MySQL Xamime DB: mysqladmin -u root -p create xamime
  3. Create the Xamime table: mysql -u root -p xamime < generate-xamime-table.sql
  4. Change the 'username' and 'password' texts in the report.php file to suit your database setup
  5. Copy report.php and postfilter.sh to your Xamime directory
  6. 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



For corrections and suggestions - WWW administrator