-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 7/25/07 1:32 PM, Ralf Hildebrandt wrote:
> * David Newman <[EMAIL PROTECTED]>:
>> SA 3.2.1 with Postfix
>>
>> What tools are available to measure how many messages SA classifies as
>> spam per hour/day/week?
> 
> mailgraph?

Perfect, thanks. It tracks mail and spam usage (and apparently Ralf
wrote a related program for postfix queue stats).

If this would help any other FreeBSD users: As installed from ports,
mailgraph has permissions issues with /var/log/maillog. The shell script
/usr/local/etc/rc.d/mailgraph won't run unless you do one of two things:

1. add user www to wheel group by editing /etc/group

or

2. make maillog world-readable

a. chmod 644 /var/log/maillog

b. edit /etc/newsyslog.conf to make new instances of maillog mode 644

c. (re)start mailgraph

In my case, (1) is preferable since www's default shell is /sbin/nologin
so the chance of remote wheel group exploits is small. I also don't like
(2) because this server houses multiple domains and users with shell
accounts in one domain shouldn't be able to see logs from another domain.

Thanks again, Ralf.

dn










-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFGqN/fyPxGVjntI4IRAnPpAKChfITnNfDsOGrUOnt4dI2nz4hxyQCffaih
dYZDVvhWK9WrOEbeAH2Cw2k=
=p11L
-----END PGP SIGNATURE-----

Reply via email to