i need a php script to analyze postfix maillog, to count incoming-outgoing and pop3 mailtraffic for virtual domains.
i have installed debian testing/postfix 2.1.5/MailScanner4.41.3/qpopper4.0.5
step one get all the infos for counting out of [login to view URL] must have the possibility to get later the needed info out of mysql-database.
must have the possibilty to tell the script from date and to date.
must have a text file csv or excel format with the following statistics.
pop3 traffic 1.1.2005 - 31.1.2005 for
11111 bytes
22222 bytes
total pop3 traffic for [login to view URL] 33333 bytes
smtp in 1.1.2005 - 31.1.2005 total bytes for [login to view URL]
smtp out 1.1.2005 - 31.1.2005 total bytes for [login to view URL]
complete mailtraffic for: [login to view URL] - 2389081098190490 bytes
and this for every virtual domain. ( /etc/postfix/virtual)
thanks
tango2000