anomy-bugs

i'm not sure if this is a bug - perhaps i'm doing something wrong

From: David Camm (29948@xyz.molar.is)
Date: Thu 18 Mar 2004 - 03:38:58 GMT


we've just installed sanitizer on a vanilla rh 9 system, with the sole purpose
of scanning incoming emails for attachements and either trashing them
(potentially maliciouus ones) or storing wanted ones (.pdf and .doc) in a
specific directory.

in sanitize.cfg i have:

file_name_tpl = /home/ratesheets/$F

/home/ratesheets is world-writable.

when i sent the first email to the system, everything worked fine. there were
three attachements and some text, so i got via ls:

-rw-r--r-- 1 mail mail 42496 Mar 17 21:16
DRF-Camm_Agreement_2004_Final.doc
-rw-r--r-- 1 mail mail 39936 Mar 17 21:16 letter_to_customers.doc
-rw-r--r-- 1 mail mail 41485 Mar 17 21:16 lettertocustomers.pdf
-rw-r--r-- 1 mail mail 25 Mar 17 21:16 unnamed.txt

when i sent a second email, NOTHING happened, the attachment (with different
name) did not appear, nor was unnamed.txt (the text of the email changed).

i'm very confused about this.

also, where can i find a definition of the variables (like $F) that one can use
in a file_name_tpl?

reading the docs i would have thought that $T was a timestamp, but apparently
it's not. also, $ by itself appears to generate a random character. since i
will be receiving many emails into this same directory i'd like to have a
template that can add uniqueness to the name but still preserve the .doc or .pdf
at the end, or allows storage of many plain text files sent as the body of the
emails.

any help would be greatly appreciated.

thanks in advance

david camm
advanced web system
keller, tx
www.advwebsys.com



hosted by molar.is