Davide Libenzi a �crit :

> - Implemented SMTP filters to allow users to reject the SMTP session 
>   before and after the remote client data has been received. 

Been using 1.19.pre-03 and probably missed something about 
pre-data filtering.

What I did (after I read the doc the best I could but I'm 
very bad at that) :

- In file /var/MailRoot/filters.pre-data.tab (on one line) :
"/var/MailRoot/filters/filip-supera-filters/Predata.log.sh" 
<real-tab>"@@FILE"<real-newline>

- In file 
/var/MailRoot/filters/filip-supera-filters/Predata.log.sh  :
#!/bin/sh
echo $1>>/var/MailRoot/logs/Predata.log

Then, I started XMail in debug mode and sent a message.
I don't see anything about pre-data filter. Here is what I get :

***start debug output***
SMTP client connection from [130.244.199.130]
SMAIL local SMTP = "libre-essai.net" From = 
<[EMAIL PROTECTED]> To = <[EMAIL PROTECTED]>
SMTP client exit [130.244.199.130]
Filter run: Sender = "[EMAIL PROTECTED]" Recipient = 
"[EMAIL PROTECTED]" Filter = 
"/var/MailRoot/filters/lindeman-av-filter/checkvirus.pl" 
Retcode = 7
Filter run: Sender = "[EMAIL PROTECTED]" Recipient = 
"[EMAIL PROTECTED]" Filter = 
"/var/MailRoot/filters/drake-consult/sa_filter.pl" Retcode = 7
***end debug output***

/var/MailRoot/logs/Predata.log remains empty.

Any suggestion ?

Thanks.
-
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]

Reply via email to