[Mimedefang] Re: MIMEDefang Digest, Vol 33, Issue 35

John Nemeth jnemeth at victoria.tc.ca
Fri Jun 30 05:29:36 EDT 2006


On Nov 20,  3:47pm, "Kitione Lalakomacoi" wrote:
} > > 1) E.g.: use md_syslog() in all your filter_* functions to log the information you care
} > > about in your filter.
} >
} > pardon my ignorance, but i really don't know how to use md_syslog()
} > very well.  What parameters should i use with md_syslog()?
} >
} > should i fiddle with the line that says
} > "md_graphdefang_log_enable('mail', 1);" at all?

     No need.

} well my problem is solved, thanks everyone for all your help.
} 
} the problem was not with mimedefang at all, purely a sendmail issue.
} 
} still would appreciate anyone who can point me to a good guide on
} md_syslog(), as i am sure this will come in handy later.

     Here's a couple of examples from my filter:

md_syslog("debug", $QueueID . ", Number of recipients is: " . @Recipients);

md_syslog("debug", $QueueID . ", DEBUG: exiting filter_end");

The "debug" part is the priority.  I use $QueueID to be able to associate
the log entry with a particular message.  Here is a sample log entry:

Jun 30 02:27:37 vtn1 mimedefang.pl[26736]: k5U9RbEN023764, DEBUG: exiting filter_end

}-- End of excerpt from "Kitione Lalakomacoi"



More information about the MIMEDefang mailing list