Ok, Im not seeing anything writen to /var/log/qmail/current or
/var/log/qmail/smtpd/current.  From what I see in /var/log/maillog the
mail is getting delivered.  So I was thinking it isnt getting delivered to
the right place.  Here is what is in my incoming file:

from-file /var/vpopmail/domains/techropolis.com/tmda/lists/whitelist ok

And this is the .qmail-tmda:

| preline /var/vpopmail/tmda-0.68/bin/tmda-filter -c
/var/vpopmail/domains/techropolis.com/.tmdarc-tmda
/var/vpopmail/domains/techropolis.com/tmda/Maildir/

To be sure about the logs, I stoped qmail, movec the
/var/log/qmail/current to current.old did a touch current and owned it to
qmaill.wheel (same as the one I just moved) did the same thing with
/var/log/qmail/smtpd/current

Started qmail back up, and sent another message.  absolutly nothing was in
either of those files after the message and this is waht was in Maillog:

Jan 27 08:50:06 ww3 mail: 1043657406.044570 status: local 0/10 remote 0/20
Jan 27 08:51:02 ww3 mail: 1043657462.869365 new msg 1309
Jan 27 08:51:02 ww3 mail: 1043657462.871745 info msg 1309: bytes 616 from
<[EMAIL PROTECTED]> qp 47415 uid 89
Jan 27 08:51:02 ww3 mail: 1043657462.876317 starting delivery 1: msg 1309
to local [EMAIL PROTECTED]
Jan 27 08:51:02 ww3 mail: 1043657462.878108 status: local 1/10 remote 0/20
Jan 27 08:51:06 ww3 mail: 1043657466.726804 new msg 1375
Jan 27 08:51:06 ww3 mail: 1043657466.730076 info msg 1375: bytes 2285 from
<[EMAIL PROTECTED]> qp 47421 uid 89
Jan 27 08:51:06 ww3 mail: 1043657466.733494 starting delivery 2: msg 1375
to remote [EMAIL PROTECTED]
Jan 27 08:51:06 ww3 mail: 1043657466.734478 status: local 1/10 remote 1/20
Jan 27 08:51:06 ww3 mail: 1043657466.776298 delivery 1: success: did_0+0+1/
Jan 27 08:51:06 ww3 mail: 1043657466.777674 status: local 0/10 remote 1/20
Jan 27 08:51:06 ww3 mail: 1043657466.778007 end msg 1309
Jan 27 08:51:07 ww3 mail: 1043657467.366176 delivery 2: success:
208.223.124.36_accepted_message./Remote_host_said:_250_Mail_accepted/
Jan 27 08:51:07 ww3 mail: 1043657467.367491 status: local 0/10 remote 0/20
Jan 27 08:51:07 ww3 mail: 1043657467.367605 end msg 1375
Jan 27 08:51:22 ww3 mail: 1043657482.225351 new msg 1323
Jan 27 08:51:22 ww3 mail: 1043657482.227768 info msg 1323: bytes 2120 from
<[EMAIL PROTECTED]> qp 47429 uid 89
Jan 27 08:51:22 ww3 mail: 1043657482.231507 starting delivery 4: msg 1323
to local
[EMAIL PROTECTED]
Jan 27 08:51:22 ww3 mail: 1043657482.232916 status: local 1/10 remote 0/20
Jan 27 08:51:23 ww3 mail: 1043657483.235161 new msg 1377
Jan 27 08:51:23 ww3 mail: 1043657483.239666 info msg 1377: bytes 3545 from
<[EMAIL PROTECTED]> qp 47435 uid 89
Jan 27 08:51:23 ww3 mail: 1043657483.248065 starting delivery 5: msg 1377
to remote [EMAIL PROTECTED]
Jan 27 08:51:23 ww3 mail: 1043657483.248843 status: local 1/10 remote 1/20
Jan 27 08:51:23 ww3 mail: 1043657483.320437 new msg 1439
Jan 27 08:51:23 ww3 mail: 1043657483.323338 info msg 1439: bytes 948 from
<[EMAIL PROTECTED]> qp 47438 uid 89
Jan 27 08:51:23 ww3 mail: 1043657483.327773 starting delivery 6: msg 1439
to local [EMAIL PROTECTED]
Jan 27 08:51:23 ww3 mail: 1043657483.329183 status: local 2/10 remote 1/20
Jan 27 08:51:23 ww3 mail: 1043657483.337220 delivery 4: success: did_0+0+1/
Jan 27 08:51:23 ww3 mail: 1043657483.341330 status: local 1/10 remote 1/20
Jan 27 08:51:23 ww3 mail: 1043657483.348386 end msg 1323
Jan 27 08:51:23 ww3 mail: 1043657483.576103 delivery 5: success:
208.223.124.36_accepted_message./Remote_host_said:_250_Mail_accepted/
Jan 27 08:51:23 ww3 mail: 1043657483.577408 status: local 1/10 remote 0/20
Jan 27 08:51:23 ww3 mail: 1043657483.577751 end msg 1377
Jan 27 08:51:24 ww3 mail: 1043657484.130545 delivery 6: success: did_0+0+1/
Jan 27 08:51:24 ww3 mail: 1043657484.131941 status: local 0/10 remote 0/20
Jan 27 08:51:24 ww3 mail: 1043657484.132285 end msg 1439

At this point other than the fact that the mail is nowere to be found in
tmda's mailbox everything looks like it is working perfectly.

Qmail is working fine for all users except the ones Im running TMDA on.








>> message came from a user that has already been added to the whitelist
>> automaticaly by tmda.
>
> If this is the case, could we see your incoming filter?
>
>> ww3# cat tmdalog.2003-01
>> Date: Sat Jan 25 12:37:11 GMT 2003
>> From: "Bryan McWhirt" <[EMAIL PROTECTED]>
>>   To: [EMAIL PROTECTED]
>> Subj: testing 42
>> Actn: CONFIRM action_incoming
>>   (704)
>
> Here, TMDA *can't* find '[EMAIL PROTECTED]' in your filter rules, so it
> uses the default rule, which is stored in ACTION_INCOMING.  You
> haven't changed it (and you probably shouldn't), so it is 'confirm'.
>
>> Date: Sat Jan 25 12:37:11 GMT 2003
>> From: "Bryan McWhirt" <[EMAIL PROTECTED]>
>>   To: [EMAIL PROTECTED]
>> Subj: testing 42
>> Actn: CONFIRM pending 1043498231.41094.msg
>>   (704)
>
> Here, TMDA saves the message in pending.
>
>> Date: Sat Jan 25 12:37:39 GMT 2003
>> From: "Bryan McWhirt" <[EMAIL PROTECTED]>
>>   To: [EMAIL PROTECTED]
>> Subj: Re: Please confirm your message
>> Actn: CONFIRM accept 1043498231.41094.msg
>>  (2241)
>
> Here, you replied to the confirmation request and TMDA decided that the
> cryptographic cookie was correct, so it accepted the message.  It then
> resent the original message to you, at the original recipient address
> ([EMAIL PROTECTED]).
>
>> Date: Sat Jan 25 12:37:40 GMT 2003
>> From: "Bryan McWhirt" <[EMAIL PROTECTED]>
>>   To: [EMAIL PROTECTED]
>> Subj: testing 42
>> Actn: OK good_confirm_done_cookie
>>  (1036)
>
> Here's the original message coming through the second time.  This time
> is has been marked in the header that it has been successfully
> confirmed.
>
> At this point, TMDA quits.  The next thing that happens is that
> qmail-local reads the next line in your .qmail-tmda and delivers the
> message to the maildir.  There's really nothing that happens in TMDA
> after it writes the 'good_confirm_done_cookie' log entry.
>
> If the message is not ending up in the maildir, that means qmail is
> unable to write it.  I'm not sure why that would be, at this point.
>
>> So I check the pending directory and here the message is:
>>
>> 2 -rw-------  1 vpopmail  vchkpw   743 Jan 25 12:37
>> 1043498231.41094.msg:3,C
>
> Unless you understand in detail how the pending directory is used, you
> should not assume anything from the presence or absence of any file in
> pending.  Specifically relevant to this case is that the only way
> files get deleted from pending is if you explicitly delete them.  The
> best way to do this is with a tmda-pending cron job.
>
> A messages presence in pending has nothing to do with whether it has
> been delivered.
>
> Please see FAQ 4.3 and 4.14:
>
> http://tmda.net/faq.cgi?req=show&file=faq04.003.htp
> http://tmda.net/faq.cgi?req=show&file=faq04.014.htp
>
>
> Tim
>
> P.S.  In an earlier message you showed us your .tmdarc-tmda.  I
> noticed you have an entry for DELIVERED_CACHE.  That variable is no
> longer used, so you can delete it.  It's not the cause of your
> problem, though. :(
> _____________________________________________
> tmda-users mailing list ([EMAIL PROTECTED])
> http://tmda.net/lists/listinfo/tmda-users



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

Reply via email to