> The filter docs need some revision, for sure (I assume you're 
> using version 
> 1.21).
> 

Yes 1.21

>
> What you report seems to be the first line of the spool files 
> stored in the 
> queue. The docs say that the format of the @@FILE passed to 
> SMTP filters is 
> different. Are you sure you got the right spool file?
> 

You are right, I used only my super (the best filter in the world :-) )
copyfilter only in filters.in and filters.out not in filters.pre-data and
filters.post-data ...

After testing my 'super' copyfilter in filters.pre-data and
filters.post-data I got the GOOD lines !!!

So my request have to be changed a bit (sorry ...) :

1 - Doc states incorrectly the format of first line in @@FILE (or @@TMPFILE)
in various places :
For filters.pre-data and filters.post-data, format description in doc is
good
But for filters.in, filters.out, mailproc/custom domain/cmdaliases
'external' and 'filter' commands, format is :
  [client-ip]:client-port;[server-ip]:server-port;date

2 - Enhancement request in xmail code (very low priority) :
All the stages in xmail can use the same 'first' line format actually used
in filter.pre/post-data ..
As the complete line is allready written at pre-data/post-data stage in the
file, it can be left as is in the spool file, so xmail haven't to rewrite it
completly, just move data to spool after post-data stage, and others stages
have same info as pre/post filters (sure, not important as these data can be
found in the mail-data part, but this need to analyse data part to correctly
retrieve some of them if needed, more complex to write and time wast in
filters/external commands)
And the most important ;-) : doc doesn't need any change ... 

Thanks

Francis



-
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