Here is the problem I am having, and I would appreciate any help that
ya'll might could give me:

The domains that needed aliasing equivalent to sendmail's virtusertable
I setup in /etc/aliases using the fastforward package.  Fastforward is
setup under ~alias/qmail-default.. Obviously as you know, if the domain
is in locals, it will send to the local user before it looks at
/etc/aliases for a possible alias (sendmail didn't do this).

Now, I can setup all these [EMAIL PROTECTED]:        chris .. in
/etc/aliases but, if something.com is in locals, it will send directly
to the local user something unless it doesn't exist.  If it doesn't
exist it then sends to chris.  Well here is the problem.  We have a
bunch of virtual domains.  I need to initiate quite a few aliases like
so:

[EMAIL PROTECTED]:        cgalanos
[EMAIL PROTECTED]:    cgalanos

etc, etc.  The problem is that if the local user exists it won't send to
cgalanos unless I put a .qmail file in that dir.  Therefore /etc/aliases
is not acting like sendmail's.  Now, here's the dilemma.  I can put the
.qmail files in the home dir's if I have to BUT if I have those 2
addresses above in /etc/aliases I need the rest of whatever
@something.com to go to the local users.

In other words, if I have something.com:alias in virtualdomains, and
then use the fastforward program, everything else besides chris and
something doesn't go anywhere.

I need each domain to have like its own info@ user... well if I put
[EMAIL PROTECTED]:        someusername,
it will dump [EMAIL PROTECTED] to the local user info instead of the
other username.  You can see how I'm getting mixed around here.

Does anyone know how to cure this?  If so please let me know.  For now I
think I will have to add something.com also to locals, then make sure
the user doesn't exist locally so that it will then call the aliases
file and send to where it needs to be.  Any help with this woudl be
appreciated.

Last time I did this, I did it like this.

In virtualdomains, each domain would have a user account that managed
it.  Now this would be great, and I coudl put .qmail-username file's in
that user's home dir.  But then, is there a way to make .qmail-default
to send to local users.

In other words.. say I had comp.org.

in virtualdomains:

comp.org:filtercomp

in ~filtercomp..

.qmail-chris  (which has cgalanos in it)

well [EMAIL PROTECTED] will now go to cgalanos, but say someone sends to
[EMAIL PROTECTED], I want that .qmail-default to check for a something
local user, and send to it if it exists.. can I do this?

Thanks for listening,

Chris

Reply via email to