Here are quick links to the scripts.
Configuration to link squid proxy authentication to the postfix/dovecot system
squid_dbpg_auth
Perl script to create postfix maps.
postfix_create_pgsql_files-pl
Shell script to remove Thunderbird folder indexes and global message file.