Samar Vijay writes:
> Is there any way to increase the username length to more that 8
> characters that freeBSD imposes? I have moved to Qmail recently
> and I have a few users who would like to use their previous mail
> address.
I think, Samar, that you're failing to make a distinction between a
username and an email address. Unix doesn't help you make that
distinction, since both concepts are merged into one. However, there
is no reason why that should be so.
The Unix machine expects a username for authorization and
authentication. qmail as shipped will make a perfect match between
username and email address, because that is traditional. You can,
though, create your own mapping from username to email address and
email address to username.
qmail delivers mail using multiple algorithms. Basically, though,
users/assign gets a chance and if it doesn't find a match, it falls
back to qmail-getpw. If that doesn't match, there is no such local
address. So, if you don't use users/assign, then the standard
qmail-getpw runs, and it looks in /etc/passwd.
Now, in your case, you have a simpler problem than remapping all of
your usernames. You just have to create some aliases. Like this:
echo '&[EMAIL PROTECTED]' >~alias/.qmail-samarvijay
Forward the mail to their current username. Configure their email
client so it generates email using the long version of their name.
--
-russ nelson <[EMAIL PROTECTED]> http://russnelson.com
Crynwr sells support for free software | PGPok | Government schools are so
521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur
Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | can outdo them. Homeschool!