-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I'm writing a script to report anything put into a spam folder. The script so
far is
#!/bin/sh
cd ~/spam
for x in `find . -mmin +1 -type f`
do
if razor-report -d -f $x
then
sendmail a@b <$x
rm $x
fi
done
where a@b is a part of my spamtrap that checks any IP addresses for open
relayhood. (I am reporting these as myself because I have looked at them and
seen that they are spam, as distinguished from messages that my procmail
script decides are spam, which are reported by the spamtrap.) Unfortunately
razor-report -f does not work. It reports the spam, but returns a failure,
and outputs this in debug mode:
Nov 04 15:40:15.668902 report[21828]: [ 0] [bootup] Logging initiated
LogDebugLevel=5 to stdout
Nov 04 15:40:15.701000 report[21828]: [ 5] Razor-Agents v2.08 starting
razor-report
Nov 04 15:40:16.158682 report[21828]: [ 5] 149885 seconds before closest
server discovery
Nov 04 15:40:16.658846 report[21828]: [ 5] preproc: mail 1 body 0 went from
6655 bytes to 2289
Nov 04 15:40:16.718422 report[21828]: [ 5] Connecting to hubris.cloudmark.com
...
Nov 04 15:40:17.146657 report[21828]: [ 4] hubris.cloudmark.com >> 29 server
greeting: sn=N&srl=71&ep4=7542-10&a=l
Nov 04 15:40:17.154157 report[21828]: [ 4] hubris.cloudmark.com << 38
Nov 04 15:40:17.435919 report[21828]: [ 4] hubris.cloudmark.com >> 36
Nov 04 15:40:17.447160 report[21828]: [ 4] hubris.cloudmark.com << 43
Nov 04 15:40:17.729989 report[21828]: [ 4] hubris.cloudmark.com >> 7
Nov 04 15:40:17.732822 report[21828]: [ 5] Authenticated
[EMAIL PROTECTED]
Nov 04 15:40:17.742854 report[21828]: [ 4] hubris.cloudmark.com << 52
Nov 04 15:40:18.067056 report[21828]: [ 4] hubris.cloudmark.com >> 7
Nov 04 15:40:18.070917 report[21828]: [ 5] mail 1, part 0, eng 4: Server
accepted report.
Nov 04 15:40:18.073726 report[21828]: [ 5] disconnecting from server
hubris.cloudmark.com
Nov 04 15:40:18.077014 report[21828]: [ 4] hubris.cloudmark.com << 5
Nov 04 15:40:18.080215 report[21828]: [ 1] razor-report error: Can't read
file /home/cmeclax/.razor/servers.discovery.lst: No such file or directory
Can't read file /home/cmeclax/.razor/servers.discovery.lst: No such file or
directory
If I just say "razor-report spam.eml", it reports the spam without
complaining. What's the problem?
cmeclax
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE9xt3duC68zGjlkbYRArQiAJkBQmwHHncg0EwTjv/4OwnxgzIJkQCffAWf
UlKYDFvfOYfJAkDmAYe+Bfo=
=OsG5
-----END PGP SIGNATURE-----
-------------------------------------------------------
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
_______________________________________________
Razor-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/razor-users