miim: > > > I agree. I customize the logging code quite a bit to my own > preferences for readability. What I need to know is where that > particular message is sent to syslog so I can change the call from > msg_info to msg_warn. Just the source module name will be sufficient; > I can hunt it down from there.
The code that generates the text for DNSBL rejects sits in file smtpd_check.c function rbl_reject_reply(). However, this function does not choose between info and warning, that happens in the smtpd_check_reject() function that logs all 'reject' actions. To make the severity configurable one could run the formatted text through a configurable PCRE lookup table that returns what severity to log with (info, warn, error, panic). One would use a NAME_CODE table to parse that result and decide whether to call msg_info(), msg_warn(), etc. Wietse