On Monday 12 May 2008 10.09.19 you wrote: > hi, > > I have an imap server (dovecot) that can auhenticate using BSD > authentication. however, when imap server requests authenitcation for > user xyzzy, I'd like the bsd authentication layer to authenticate > user 'xyzzy/mail' (which has a separate password in kerberos). I can > see multiple solutions to this: > > 1) have dovecot rewrite the username before sending it to bsdauth > > 2) have bsdauth add /main to the username before authentication. this > might be more generic and will make it easier for other apps to use > separate password for some apps (using an option to login.conf). > > > comments and/or ideas?
Just simply out of curiosity; why don't you use dovecot with virtual users in plain text passwd-file style, or even sql/ldap? Daniel -- LEVAI Daniel GPG key ID = 0x4AC0A4B1 Key fingerprint = D037 03B9 C12D D338 4412 2D83 1373 917A 4AC0 A4B1