MySQmail MTA to MySQL traffic logger
Why would only web servers have usage stats ?
Dedicated servers

Find out how to get one of the best dedicated server hosting services available on the market. Have a 160GBytes transfer per month server for only $90 a month !
Get one and start reselling.
CALL NOW ! +1.(302)-213-1611
Shared hosting
Shared hosting service with certified bandwidth, your own IP addresses + SSL + CERT for the same site hosted on both sides of the ocean : YES ! GPL.Host makes it possible for less than $5.5/month !
2005-05-12 : MySQMail-courier-logger was crashing in some cases when syslog sent small lines to the courier FIFO. It was due to a lack of input checking. This has been corrected and tested on production servers with high traffic.
2005-03-07 : NEW! Debian binary packages are now available in the FTP.

3. MySQmail 5 package
MySQMail is made of 5 packages :
  • mysqmail : This is a meta package that will take only care of the /etc/mysqmail.conf file thrue debconf.
  • mysqmail-postfix-logger : A mysql logger for Postfix. It's a small daemon doing a tail on mail logs. All successful delivery (either remote or local) will generate a tiny mysql record containing remote and local user and domain name.
  • mysqmail-courier-logger : A MySQL logger for Courier. This small daemon logs all the pop3 AND imap4 traffic into SQL for traffic analisys.
  • mysqmail-qmail-logger : A mysql logger for qmail-send. This tiny daemon watch over the syslog and all successful delivery (either remote or local) will generate a tiny mysql record containing remote and local user and domain name.
  • mysqmail-qmail-pop3d : A mysql alternative checkpassword for qmail-pop3d. Reads the passwords and mailbox account info for pop3 from a MySQL db, and sets env variable DOMAINNAME and USER to be used for putting traffic info in the DB. It also contains a qmail-pop3d.c patched version of the original one from DJB that logs the traffic of all pop3 sessions users into the password table.