On Thu, 5 Jun 2003 04:39:56 -0400
Jasper Metselaar <[EMAIL PROTECTED]> wrote:

> Hi,
> I have a real [EMAIL PROTECTED] which is tagged for spam checking. The 
> .qmail-default contains
> | /usr/local/bin/maildrop <mailfilter file>
> which calls maildrop and in mailfilter, runs through spamd to check for spam then 
> pass it back to vdelivermail to deliver to the proper mailbox. Then I created a 
> [EMAIL PROTECTED], which is an alias to [EMAIL PROTECTED] A .qmail-test is created 
> which points to mydomain.com/user/Maildir. When an email
> is sent to [EMAIL PROTECTED], qmail just dumps it directly into user's 
> mailbox,completely out of the spam checking task.
> Shouldn't the .qmail-test file's content be the same as the .qmail-default file?
> How do you enable alias to behave the same as the account that it's aliased to? Of 
> course I can use a forwarder to [EMAIL PROTECTED] instead, but I don't think this is 
> the best way....or?
> Thanks in advance for your suggestions!
> Jasper
> _______________________________________________________
it is actually very simple, /mydomain/user/Maildir/ is a delivery statement, you are 
telling it to deliver to that mailbox, that's what is says. if you don't want the mail 
to be delivered to that box, don't put a delivery statement in the .qmail.

if you put "| /path/to/maildrop ..." you'd be telling it to run maildrop
if you put "&[EMAIL PROTECTED]" you'd be telling it to redeliver the message as though 
it was for user, at which point it would go through the process of reading .qmail 
files for user

read http://www.qmail.org/man/man5/dot-qmail.html, it explains it all.

Reply via email to