TOUZEAU DAVID wrote:
Dear

I have a problem with postfix understanding and "virtual_mailbox_maps" parameter :

in my example i would like to send email to a local mailbox created has "dtouzeau" from email [EMAIL PROTECTED]
currently,  postfix want to send email to user.david^t instead dtouzeau

prove it ;-p just because cyrus says so isn't enough. postfx says "to=<[EMAIL PROTECTED]>".

If i undertsand the virtual_mailbox_maps is in charge to specify postfix where is the right mailbox name.
But in my case, it's not working.

the mailbox in virtual_mailbox_maps is only used when delivery is done by virtual. you use cyrus for delivery, so the value is irrelevant.


the "virtual_mailbox_maps" LDAP filter is correct for me "(&(objectClass=userAccount)(mail=%s))" it return the "uid" attribute has the real cyrus-imap mailbox name.
so for my example : [EMAIL PROTECTED] ldap query return dtouzeau not david^t

what i missing ???

best regards

here is the error:
Sep 6 00:22:20 pc-touzeau postfix/smtpd[19859]: disconnect from localhost[127.0.0.1] Sep 6 00:22:20 pc-touzeau cyrus/master[20011]: about to exec /usr/lib/cyrus/bin/lmtpd
Sep  6 00:22:20 pc-touzeau cyrus/lmtpunix[20011]: executed
Sep  6 00:22:20 pc-touzeau cyrus/lmtpunix[20011]: accepted connection
Sep 6 00:22:20 pc-touzeau cyrus/lmtpunix[20011]: lmtp connection preauth'd as postman Sep 6 00:22:20 pc-touzeau cyrus/lmtpunix[20011]: verify_user(user.david^t) failed: Mailbox does not exist Sep 6 00:22:20 pc-touzeau postfix/lmtp[20010]: 10E4C9009CC: to=<[EMAIL PROTECTED]>, relay=pc-touzeau.klf.fr[/var/run/cyrus/socket/lmtp], delay=6.5, delays=6.5/0.01/0.01/0.02, dsn=5.1.1, status=bounced (host pc-touzeau.klf.fr[/var/run/cyrus/socket/lmtp] said: 550-Mailbox unknown. Either there is no mailbox associated with this 550-name or you do not have authorization to see it. 550 5.1.1 User unknown (in reply to RCPT TO command))

here it is my settings.


Reply via email to