<[EMAIL PROTECTED]> writes:

> Ok, I have talked with several qmail and vpopmail people and they all
> insist the problem has to be with TMDA based on qmail/vpopmail not
> generating an error, and that qmazil/vpopmail work perfectly when TMDA is
> not in the mix.

[...]

> One suggestion was that perhapse TMDA is tampering with the header
> in a way that qmail just ignores the message

Well, no offense intended, but your qmail people clearly don't
understand qmail.  Let me try to explain.

First, the obvious.  There are a good number of people using qmail +
vpopmail + TMDA and having no troubles at all, so this issues appears
to be something unique to your setup.  It's quite obviously *not* a
general problem with TMDA in conjunction with qmail/vpopmail.

Each line in a .qmail file is processed separately.  A mail message
doesn't "travel" from one line to the next, like it does in procmail
(when you use the filter flag.  Instead, a fresh copy of the mail,
stored in qmail's queue, is used for each line.  So let's assume
there's a bug in TMDA where it eats the mail but still returns a
success status.  In fact, it does return a success status, or qmail
would log the error in its own logfile.

The next thing that happens is that qmail processes the ./Maildir/
line.  It does so by copying the original message from its queue into
the maildir.  Nothing that TMDA changed in the header could affect
that, since qmail is using the original mail and not the copy it
passed to TMDA.  This is why the "tampering with the header" idea is
completely bogus.  Any decent qmail people would know how qmail
processes .qmail files.

If TMDA returned an error, qmail would *not* continue processing the
.qmail file.  But this would show up in the qmail logs.  The fact that
TMDA returns a success code means that TMDA is absolutely no longer in
the picture and anything else in the .qmail file is qmail's problem.

I have a couple of ideas for you to try.

1) Can you show us the line from /var/qmail/users/assign that mentions
   the particular virtual domain you're having trouble with?

2) Can you show us the complete command that you use to start qmail.
   The program is called qmail-start and the first command line
   argument is the default delivery instructions.  If you've followed
   the Life with Qmail document, it may just be something like

   "`cat /var/qmail/control/defaultdelivery`"

   If that's the case, please show us the contents of the
   defaultdelivery file.

3) Can you show us the output of one of the following (whichever is
   correct for your system):

   ls -l /var/spool/mail
   ls -l /var/mail

4) Can you add the following line to your .qmail file and run another
   test?  Please put it at the top, before the tmda-filter line.

   | env > env.out

   and then post the contents of that file here?


Thanks for your patience, Bryan.


Tim
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to