The syncmail script in CVSROOT is a modified version of the script taken from the sourceforge snippets page, at: http://sourceforge.net/snippet/detail.php?type=snippet&id=100414