> I am using spamd and spamc in my set up and I find following somewhat
> strange: I get lots of syslog messages with following content:
>
> Feb  6 13:53:58 server spamd[16597]: connection from localhost [ 127.0.0.1
> ] at port 20506
> Feb  6 13:54:00 server spamd[17335]: clean message for (unknown):87 in   2
> seconds.
> Feb  6 13:56:57 server spamd[16597]: connection from localhost [ 127.0.0.1
> ] at port 20512
> Feb  6 13:57:01 server spamd[17354]: identified spam for (unknown):87 in
> 4 seconds.
>
> SpamAssassin does it's job, however, as you can see that all mail seems to
> be for "unknown". Is there a way to
>
> a) either turn of logging completely or
> b) (preferred) get the "To" address logged
>
> FYI: Following is how I launch spamc and spamd respectively:
>
> spamc
> /usr/local/bin/spamc -d 127.0.0.1 -p 783 -u spamd -f
> spamd
> /usr/local/bin/spamd -c -d -i 127.0.0.1 -p 783 -u spamd -x -A 127.0.0.1 -P
> -F0

First of all, I run SA2.1..  here is my log output.

Feb  6 16:07:59 blackhat spamd[1147]: connection from localhost.localdomain
[ 127.0.0.1 ] at port 1968
Feb  6 16:08:00 blackhat spamd[5196]: clean message for [EMAIL PROTECTED]:99
in  2 seconds.

I launch spamd like this.
# spamd -d -F 0

I launch spamc from .qmail-default (|maildrop mailfilter), like this
spamc -f -u $EXT@$HOST

vpopmail actually delivers the $EXT and $HOST env vars when it passes input
into maildrop.

If you do not use vpopmail, I would recommend calling spamc with -c $USER.
This way, at least you get the username in your maillog (unless you are
running sitewide as a single user).

If you are running spamc/spamd sitewide (like through qmail-scanner), then
you'll see this kind of output in your logs..

Feb  3 04:51:38 whitehat spamd[28483]: connection from localhost.localdomain
[ 127.0.0.1 ] at port 34227
Feb  3 04:51:39 whitehat spamd[28989]: identified spam for qmailq:75 in   1
seconds.

That doesnt provide much info, but I have to run it like this on one of my
servers because it just provides smtproutes and does no local delivery.

Hopefully this helps some...

----------------------------------------
#  Dallas Engelken
#  Mail Administrator
#  Network Management Group, Inc.
#  http://www.nmgi.com
#  https://mail.hutchnet.com
#
#  Sigs are for chicks....





_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to