up vote 2 down vote favorite
share [g+] share [fb]

"cleanup: fatal: didn't find priority 'LOG_IF00', exiting" - such a message (usually in doubles - twice a time) pops up in my Debian console from time to time. What can that mean and how do I fix this? Google says this is something related to postfix-policyd and syslog.

Steps to reproduce:

  1. Install Debian 5.0.5.
  2. Install and configure iRedMail 0.6.0 with OpenLDAP.
  3. Add unstable and experimental repositories to apt sources list.
  4. Upgrade and dist-upgrade until there is nothing more to upgrade.
  5. Fix errors in dovecot config (there are some parameters changed in the new version).
  6. Then everything runs, but does not work actually an the above message pops up from time to time.
link|improve this question

37% accept rate
Could you post the link to your Google search. The only thing I find points to this question. – Dennis Williamson Jul 14 '10 at 5:20
Thank you for interest in helping, Dennis. I've updated this in the question now (click on 'Google says' and look at the bottom of the results page). – Ivan Jul 14 '10 at 7:37
Are you using postfix-policyd? If so, what version? – earl Jul 18 '10 at 19:27
feedback

3 Answers

Look at your log_mail variable in the postfix-policyd configuration. Does go something like this?

log_mail=ifoo@syslog...

If my guess is right, just change that "ifoo" to "info" and you'll be set.

link|improve this answer
feedback

My guess is that you have a syntax error in your greylist perl script for postfix. Make sure the syslog line in that script looks like this:

syslog $syslog_priority, "request age %d", $now - $time_stamp if $verbose;

You should be able to locate your greylist per script from an entry in /etc/postfix/master.cf file.

link|improve this answer
feedback

The line in question appears to come from an old version of policyd:

logmessage("fatal: didn't find priority '%s', exiting\n", token);

IFOO doesn't match any of the known log levels, so it terminates; it probably meant INFO. My suggestion is to install ack-grep and look in /etc for a config file containing IFOO. Then you can determine whether it came from Debian directly, iRedMail directly, or was munged in a script. Given the sorry state of the iRedMail installer, I'd probably look there first.

Once you find the file, change it to INFO and you could be fine.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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