This will probably be a FAQ, but I can't find it in the FAQ.. :-)
Lets say I only have 1 domain on my machine.
Is it possible to tranfer all incoming mail to a user account and then setup
.qmail files
there to distribute certain aliases to different boxes..?
In other words just like you can configure virtual domains to send
*@domain2.com to
a user john and then use aliases to do further distribution, so also do this
with the 'primary/first'
domain on the machine ...
Now first the mailer looks if there are any accounts that match the name
(mailto:help@heaven...)
is send to user account 'help' if it exists..
To illustrate here is PIC.local2alias file:
qmail-inject Fill in the complete envelope and header:
| (envelope) from [EMAIL PROTECTED] to [EMAIL PROTECTED]
| From: [EMAIL PROTECTED]
| To: [EMAIL PROTECTED]
|
| Hi.
V
qmail-queue Store message safely on disk.
Trigger qmail-send.
|
V
!!!!! This step I want to remove so that the mailer doesn't look if the user
exists and just
send it to the '.qmail-default box...
qmail-send Look at envelope recipient, [EMAIL PROTECTED]
| Is heaven.af.mil in locals? Yes.
| Deliver locally to [EMAIL PROTECTED]
V
qmail-lspawn ./Mailbox
| Look at mailbox name, help.
| Is help listed in qmail-users? No.
| Is there a help account? No.
| Give control of the message to alias.
| Run qmail-local.
V
qmail-local alias ~alias help - help heaven.af.mil [EMAIL PROTECTED]
./Mailbox
Does ~alias/.qmail-help exist? Yes: "john".
Forward message to john.
Thanks..
I am new to Qmail, so the questions may be stupid..
I tried to empy the locals file and put the primary domain in the
virtualdomain table..
But this doesn't seem to work..
Bye Bye
David