[Exim] razor-report in system alias file

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Dan Egli
Date:  
À: exim-users
Sujet: [Exim] razor-report in system alias file
I'm kind of puzzled here, and I tried posting to the razor list but it's
really messed up because I cann't post to the list even though I signed
up. Posts get ignored basically. Never show up. Sourceforge is having
isuses I guess.

Anyway. Since I get tons of spam I decided to setup a "bait" address,
where anything sent there would be reported as spam to the razor
database. So I create an alias in /etc/aliases like this:

junk:        |/usr/bin/razor-report



but whenever anything gets sent to this address, I get this in my log files:

2004-07-14 09:21:41 1BklZk-00085J-Ro ** |/usr/bin/razor-report -d
<ugly@???> R=system_aliases T=address_pipe: Child
process of address_pipe transport returned 2 from command:
/usr/bin/razor-report


I don't get it. I have return_output in the address_pipe but I see no
output at all. I really don't get it.

Has anyone else encountered this? It works FINE from the command line. I
su'd to the user exim runs as (no the exim user does not have a valid
password. I su'd from root. exim's password is gibberish in /etc/shadow
so it won't ever properly decrypt), took a message that I had copied to
/tmp that was spam, ran cat /tmp/<msg file> | razor-report ; echo $?

the result was 0. But the exim logs show 2. And even with the -d I get
no reports back anywhere.

Any help is appreciated!


--
-- Dan