Update mail2.pl

Extract mailID, status and error from postfix log, and build queries to PostgreSQL.


use:

perl mail2.pl | psql -U user