> Hugo Monteiro escreveu: >> Luiz Morte wrote: >>> >>> Hi list, >>> >>> How can I set a default domain for authentication/pop3 in qmail-ldap? >>> >>> For example, send a email with authentication, where I put only the >>> login (without domain) for SMTP_AUTH. >>> >>> and >>> >>> #telnet localhost 110 (using qmail-pop3d) >>> user login_only_without_domain >>> pass password >>> >>> is this possible? >>> >>> Thanks, >>> Luiz >>> >> >> Hello Luiz, >> >> Qmail-LDAP is suposed to do just that. Did you change the definition for >> LDAP_UID in qmail-ldap.h? >> The default ldap attribute used is "uid". So either have your user >> entries with uid=userlogin, or if you want to use another one, you'll >> have to change qmail-ldap.h and recompile. > > Hello Hugo, Thanks for the answer. > > in my servers, I always do that and that is the problem :) > > In the file qmail-ldap.h, I always put uid=mail, because I have more then > one domain. > The problem: One user has a "main domain" and he would like to put only > the login without > the domain for autentication. For the others domain, he will put the > email. I don't know > if I have been clear. > > The pop3, I installed courier-imap, because I have this parameter > (DEFDOMAIN), but for > auth-smtp, I couldn't do the save solution. > > Has qmail-ldap a parameter like this? I couldn't find this. > > Thanks any way. > Luiz Morte.
Luiz, Change that users uid to be the login without the domain. That will solve it for that user. All but my own account use the domain in the login. Russ
