On Sunday, March 20, 2005 6:40 PM [GMT+1=CET], Tracy <[EMAIL PROTECTED]> wrote:
> At 12:20 3/20/2005, decker wrote: >> So, I guess the question is, is it normal that filters.in.tab does >> not allow the rcpt to be changed while the filters.post-data.tab >> does ? Am I perhaps doing something incorrectly ? > > Logically, that is what I would expect to happen. filters.in.tab is > run after the SMTP session is complete and the message has been > received - hence, changing the RCPT TO would be pointless, the SMTP > session is already over. > > filters.post-data.tab, on the other hand, runs during the SMTP > session, so changing data there could still affect the user that it > is delivered to. (Note that the same applies to filters.pre-data.tab, > except that you wouldn't be able to use pre-data as you don't have > the message body to check for viruses). > > Of course, I haven't looked at the code to see if this is "expected" > behavior - but it seems consistent with when the filters are run. Yes. Changing the RCPT in SMAIL filters is not possible IMHO. What you can do is stripping the headers and copy the mail "by hand" (in your filter) into the mailbox. Then you return exit code 5 and XMail deletes the mail from spool. -- soenke - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to [EMAIL PROTECTED] For general help: send the line "help" in the body of a message to [EMAIL PROTECTED]
