Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

currently in my setup i have postfix, dspam and clamav configured. Everything works perfectly. The only thing is when dspam detected an email as SPAM mail, in postfix mail.log there is no such message/warn/notification about it, the only thing that shows is (delivered via dspam service).

and i need to tail/open dspam system.log in order to know that the email actually been classfied/tagged as spam by dspam.

is there any way that i can automatically add this infomation in postfix mail.log?

share|improve this question

2 Answers 2

Get dspam to write a message to the syslog mail facility; that'll drop it into mail.log.

share|improve this answer

the dspam system.log file contains information for the web UI - the closest you can get with syslog information AFAIK is to use the TrackSources parameter in dspam.conf:

TrackSources spam nonspam

(spam|nonspam|virus) are supported in newer versions I believe.

...

Feb 26 03:47:00 dspam[]: spam detected from Feb 26 03:47:22 dspam[]: innocent message from

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.