Where are the spamd logs stored?
It shows this every time it processes mail:
Mar 19 11:56:08 bacon spamd[22447]: connection from localhost [ 127.0.0.1 ] at
port 45093
Mar 19 11:56:08 bacon spamd[23808]: Creating default_prefs
[/root/.spamassassin/user_prefs]
Mar 19 11:56:08 bacon spamd[23808]:
It does access /usr/share/spamassassin stuff. The error messages about
it trying to do stuff in /root on startup occur when it tries to
precompile its regexes -- you can basically ignore them in the startup
stuff. If you see errors further on in spamd logs then you might have
an actual problem.
Why does the spamd have to access a dir on /root? Wouldn't it make more
sense (and be more secure) to have it access (for example)
/usr/share/spamassassin/default_prefs or something?
Ed Kasky wrote:
> Is the path navigable by the group "mail". ie: both /root and
> /root/.spamassassin/ as wel
ok, I tried setting /root/.spamassassin/* including subdirs as rw by ALL
and setting thier group membership to 'mail' (same as my mail user who
spamd is running as) still get:
Mar 19 11:56:08 bacon spamd[22447]: connection from localhost [
127.0.0.1 ] at port 45093
Mar 19 11:56:08 bacon spamd[
ok, so I added "-u mail" for spamd's startup and now have this in my
main log:
Mar 19 10:20:27 bacon spamd[22447]: connection from localhost [
127.0.0.1 ] at port 44544
Mar 19 10:20:27 bacon spamd[22490]: Creating default_prefs
[/root/.spamassassin/user_prefs]
Mar 19 10:20:27 bacon spamd[22490
(procmail is used for local delivery, sendmail for everything else)
ok, so I have a /etc/procmailrc file with only:
:0fw
| spamc
in it and spamd running as: "spamd -d -c -a -F 0" but still no
X-Spam-Status header is added to my mail.
Greg Ward wrote:
>On 18 March 2002, Jeff Bacon said:
>
>>I
(procmail is used for local delivery, sendmail for everything else)
ok, so I have a /etc/procmailrc file with only:
:0fw
| spamc
in it and spamd running as: "spamd -d -c -a -F 0" but still no
X-Spam-Status header is added to my mail.
Greg Ward wrote:
>On 18 March 2002, Jeff Bacon said:
>
>
On 18 March 2002, Jeff Bacon said:
> I have installed spamd/spamassassin/spamc but I don't think it's
> scanning my emails. If I perform the 'spamassassin -t' test on a
> message it will mark it as spam (or at least add the X-Spam-Status
> header) but that header is not added to all my email.
I have installed spamd/spamassassin/spamc but I don't think it's
scanning my emails. If I perform the 'spamassassin -t' test on a
message it will mark it as spam (or at least add the X-Spam-Status
header) but that header is not added to all my email. Is there any hook
I have to add to get it