RewriteRule ^/([0-9]{6})/mailbox /cgi-bin/mailbox?ID=$1 [E=SESSION:$1,PT]