You can use this custom log parser code for poprelayd to make it work with dovecot (which comes with Red Hat Enterprise Linux 4).

http://sourceforge.net/forum/forum.php?thr...&forum_id=21494