Sorry, but this is an extremely weird case that I can't implement directly into incoming.pl as it may break other people's installations. For future reference, all you need to change in incoming.pl is on line ~625:
# Depending on how your mail server is setup, you might want to change this.
$pop_user =~ s/^\Q$domain\E-//i;You need to change that regular expression to reflect your server's format. If you look at your 2.1.0's incoming.pl, it's probably already done for you. Just copy it. It's not quite as simple as the default regex, since you have to strip off your server's domain name, and replace that with the domain name at the beginning, but without the 'mail.'
Adrian
Code:
# qmail setup with vpopmail may put domain.com-user@domain.com into the Delivered-To field - strip the domain out. # Depending on how your mail server is setup, you might want to change this.
$pop_user =~ s/^\Q$domain\E-//i;
Adrian