From: "Jason R. Mastaler" <[EMAIL PROTECTED]>
> > So only confirming a message will get it renamed?  It doesn't appear
> > that Pending.py calls any code to rename the files upon release, but
> > calls Util.sendmail().
>
> No, tmda-cgi uses TMDA.release() to reinject the message, just the
> same as tmda-rfilter does.  When tmda-rfilter sees this message, it
> recognizes that it has been confirmed/released, and renames the file
> accordingly.

Ok, but the last line of release() is Util.sendmail.  And for tmda-rfilter
release_pending() is called, which also uses Util.sendmail.

> > Now, I guess my question is this... It appears that the :3,R and
> > :3,C behavior happens when the reinjected message is again picked up
> > by TMDA.
>
> Yup.  See above.

So during a release, the message goes TMDA->sendmail->TMDA before the file
renames, right?

> > But in my case, the message hits postfix and is SMTP forwarded to
> > another server at this point.  Is that why I'm not getting message
> > files renamed?
>
> You'll have to elaborate, I'm not sure what you mean.

I have TMDA running as part of an input filter for postfix.  The filter only
runs on the incoming SMTP connections, so if the message is handed back off
to sendmail during a release, it will never see TMDA again because it's not
coming through the SMTP channel.  Instead, it's forwared to another host for
delivery.

I think this is where my problem is happening... TMDA behavior expects

TMDA->sendmail->TMDA->delivery

but my path is

TMDA->sendmail->delivery

Does this make any sense?

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

Reply via email to