Let me make sure I understand correctly.  If I use the assign method, do I
still need to create an .qmail-user file in jdoe's directory?  Do I only
have to do this if he wants it to forward to another local or remote
address?

With the assign method, how does it handle multiple John@domain accounts?
In other words I have a John@domain1 and a John@domain2.  I assume it can
differentiate based on the fact that the virtualdomains file has the
john@domain1:jdoe so it converts this to jdoe-john, treats the domain as
local, and will deliver to jdoe's Maildir directory.  If I have a
John@domain2 :jjones it would deliver to the jjones Maildir.  Right? :|

Is using the assign file the only way to accomplish my goal or is there
another solution?

Eric

 -----Original Message-----
From:   Joost van Baal [mailto:[EMAIL PROTECTED]]
Sent:   Thursday, November 02, 2000 7:21 AM
To:     Eric Walters; [EMAIL PROTECTED]
Subject:        Re: Help with username is different from email address.

On Wed, Nov 01, 2000 at 03:47:41PM -0600, Eric Walters wrote:
> I am using the maildir format with qmail.  I am also using virtualdomains
to
> host different domains.  All users are remote.  I am using the freebsd
UNIX
> local usernames and passwords for authentication.  I am attempting to use
> the virtualdomains file for storing email addresses in the format
> [EMAIL PROTECTED]:jdoe.  I cannot get mail delivered to the local
> /home/jdoe/Maildir.

This let's jdoe control the local email adress john:

in /var/qmail/users/assign:

  +john-:jdoe:uid:gid:/home/jdoe:-:john:

(make sure to run qmail-newu after editing this file.)

jdoe can do:

  jdoe $ echo '&jdoe' > .qmail-john

to get the john mail delivered using his default delivery instruction. (jdoe
could also choose to get the john mail delivered to a specific mailbox, or
whatever.)

--
Joost


Reply via email to