Mark Rogers wrote:
Troy Ayers wrote:
To check build parameters: dspam --version.
On the stock debian builds (well at least on the Ubuntu ones) that
doesn't give any output. Never really understood why.
run dspam with the --debug switch ( my man page is a few years old,
please double check that --debug is the right switch to issue and
also check to see if it's compatible with daemon mode)
I'll see what I can find out, but I think dspam needs building with
--enable-debug for that to do anything useful, and I think (based on
the advice in dspam.conf) that is not how it was built.
Where would any root alias be set?
Whatever your postfix specifies it to be set as. My default location
is /etc/aliases. The postconf utility will tell you.
OK, postmaster is aliased to root, and root to user1 (the main user I
log into the server with, which isn't really user1 in case anyone
wants to try and hack my server :-)
I have no idea where that mail actually goes to, however. If I try:
$mail user1
. to send an email to user1, then:
mail user1
. I get "No mail for user1". There is nothing in Postfix's mail.log
which refers to user1.
I have modified the alias to go to a full email address that should work.
Would postfix have logged any failure to find a suitable
root/postmaster mailbox, and if so what should I look for in the logs?
Yes.
You would be better served looking up postfix questions yourself, to
be sure you're getting accurate information. Something like egrep
"error|fatal|panic|warning" /var/log/maillog.
Thanks, and yes I understand that this is not a Postfix list and will
check out any advice I get here separately. (Aside from the log file
being mail.log it looks pretty sound though.)
The only dspam related errors seem to be lots of:
process_message returned error -5. dropping message.
. although I have no easy way to know if they're related to my
problem. Any idea what this means?
I think process_message only has to do with (re)training, so this would
indicate a training failure only? There should be more logging just
before that, which may be helpful in that determination.
-Troy
!DSPAM:1011,4874fb29150923415841507!