On 7.2.2011, at 15.01, ckubu wrote:
Sorry, but now i went into another problem: for _normal_ mailboxes of type name1-name2@domain.tld, no mail will be delivered. lmtp said "User doesn't exist" - lmtp is looking of user "name1@domain.tld".
Is it possible, that for mails, whose local-part contains the recipient_delimeter, lmtp first checks existence of a user with full local part address and afterward, if no user was found, checks local part without extension?
Possible? Yes. Do I want to add such code? Not really. It'll just slow down deliveries for most other people.
All my problems concerning the recipient parameter are the result of changing mailsystem from qmail+vpopmail (with default mail extension settings) to postfix+dovecot+lmtp (with non standard recipient_delimeter). Maybe you think, thats a very special situation and theres no sense in implementing that to dovecot. that would be ok too.
I wonder if you could do that address rewriting in SMTP server before handing the mail over to Dovecot. So that Dovecot only sees user+detail@domain.