I believe that I was probably a little too loquacious in the earlier message.  Let me get down to the core of the problem here.
 
I'm going to have a file full of virtualdomains in the format:
 
domain1.com:filtdomain1
domain2.com:filtdomain2
 
so on and so forth.  The user filtdomain1 and 2 will both have .qmail-usernames for the username's of people that should receive mail under this domain.  In other words, if I have .qmail-chris, [EMAIL PROTECTED] will get messages.  This is very simple obviously.  Here is my problem:
 
I want to be able to setup a .qmail-default for each domain that will search my local machine for that particular username, and if it exists send the message to them.  Why I want to do this?  The class of all of our users is not recorded, so I have some that I know of that need a [EMAIL PROTECTED] and some that have just been added to the system but also receive at domain1.com under our old sendmail system.  Therefore, if someone email's [EMAIL PROTECTED], and there is no .qmail-john under the filtdomain1 user directory, I would like to create a a qmail-default file that will pick these up and dish them to the local users.  Therefore, since john doesn't exist, it will see if he is on the local system, and if so send to that user.  If not it will obviously bounce a message back.  I hope this make sense.  Any help would be appreciated.  The problem arose because on my sendmail server everything was treated as a local.  So any user on my system @anydomainwehost.com could be accessed.
 
Chris

Reply via email to