* Alex Le Fevre <[EMAIL PROTECTED]> [010402 17:24]:

> Since OBSD doesn't seem to want to let me have user
> names over 8 characters, I'd like to set up an alias
> to a user account to solve the problem. My impression
> was that I could just do the following:
> 
> 1) create /home/alias/.qmail-thealiasname, containing
> /home/username/Maildir
> 2) chown that file to alias:qmail
> 3) create the user's Maildir, making sure it's owned
> by the user
> 4) Go!
> 
> I don't have the domain in virtualdomains, as it's in
> locals (in fact, it's the primary domain for the
> machine). I didn't figure this to be a problem, as
> .qmail-postmaster, .qmail-root, etc., work with that
> domain just fine.
> 
> What happens, though, is that qmail tries to make the
> delivery, and gives me that nasty "unable to chdir to
> Maildir (4.2.1)" error. I assume it's trying to access
> the user Maildir as the user specified by
> .qmail-thealiasname, which obviously isn't right. 
> 
> How can I tell it to go in as the user? Alternately,
> is there another way to implement this? All I really
> care about is getting a 9+ character e-mail address
> set up, I'm not finnicky on how I do it.

As the file ~alias/.qmail-theuser is owned by alias (and should be) it
should contain &usr@me ie the "short" username and one of the local
domains so that qmail forwards and doesn't attempt to deliver as the alias
user.

-Johan
-- 
Johan Almqvist
http://www.almqvist.net/johan/qmail/

PGP signature

Reply via email to