On Saturday, February 15, 2003 9:10 PM, Jim <[EMAIL PROTECTED]> wrote:

> On Saturday, February 15, 2003 8:40 PM, Bill Shupp wrote:
>
>> This is exactly how it _should_ behave.  Your .qmail-default is setup
>> so that all _unmatching_ addresses will be put in the "jim" Maildir.
>> But you have a real account for "spam", so vdelivermail sees that and
>> puts it in the "spam" Maildir.  Where did you expect mail for "spam"
>> to be delivered?
>
> I think I may have confused you.  If you re-read my message, you may
> understand.
>
> I have a .qmail-default and a .qmail-jim, which both have
>  | /usr/local/bin/spamc | /home/vpopmail/bin/vdelivermail ''
> /home/vpopmail/domains/jimtest.com/jim
>  &[EMAIL PROTECTED]

Jim, are you saying that .qmail-default and .qmail-jim are *identical*
files, and have the same three lines?

Or is the lines wrapping and it's two lines, with
/home/vpopmail/domains/jimtest.com/jim being the catchall delivery?

If the answer is yes to either line, then Bill's explaination is correct.
Like Bill said, the .qmail-default will be used for the delivery
instructions unless it's overridden by a more specific .qmail file, like
.qmail-jim.  I suggest you read the dot-qmail man page for more information.

So, because there's no .qmail-spam, qmail uses the delivery instructions in
.qmail-default, which pipe the mail through spamc and the output from spamc
is piped to vdelivermail, which finds the user "spam" and delivers it.

> .. messages to spam _should_ just be placed in
> /home/vpopmail/domains/jimtest.com/spam (because there is no
> .qmail-spam (or Maildir/.qmail))

That is mostly correct.  User .qmail files should go in their directory
under the domain, not in the Maildir.  But because there is no .qmail-spam
file, then like Bill and I have said, your *DEFAULT* delivery instructions
(from .qmail-default) is to pipe the message to spamc, then pipe the out to
vdelivermail which then puts in
~vpopmail/domains/jimtest.com/spam/Maildir/new.  If you do not want mail
sent to [EMAIL PROTECTED] to be processed by spamc, you either need to change
your .qmail-default or add a .qmail-spam that will write the message
directly into the spam/Maildir

>
> instead, messages to the spam account are piped through spamc before
> being delivered to the spam mailbox

Because that's what you've told qmail to do with your .qmail-default -- the
**DEFAULT** delivery instruction if a more specific .qmail file is not
found.

>
> Thanks for your reply,
>
> jim
>

Dave


Reply via email to