Thanks, that one solved the issue.


Catalin

-----Original Message-----
From: Daryl C. W. O'Shea [mailto:spamassassin@dostech.ca]=20
Sent: Saturday, July 28, 2007 9:55 AM
To: Catalin Miclaus
Cc: Spamassassin Users List
Subject: Re: sa-compile failes from cron job

Catalin Miclaus wrote:

> I have SA 3.2.1 and FreeBSD 6.2.
>=20
> I'm trying to run sa-compile by using a weekly cron job but I have

this=20
> error:


> Can't exec "re2c": No such file or directory at=20
> /usr/local/bin/sa-compile line 278, <$fh> line 2944.
>=20
> command failed! at /usr/local/bin/sa-compile line 279, <$fh> line

2944.

> If I run same script from CLI is working fine.


Add the path to re2c to your cron environment's PATH variable.

Daryl