postgrey rejects all emails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
postgrey (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Ubuntu 12.04.4 LTS, 64-bit
postgrey 1.34-1
postgrey regulary starts to reject all emails with action "greylisted". I checked log files and I see these strange messages there:
Mar 6 02:11:39 mda postgrey[1086]: cleaning up old logs...
Mar 6 02:11:40 mda postgrey[1086]: cleaning up old entries...
Mar 6 02:11:40 mda postgrey[1086]: WARNING: Argument "1391011722M-
...
...
Mar 6 03:11:39 mda postgrey[1086]: cleaning up old logs...
Mar 6 03:11:39 mda postgrey[1086]: WARNING: can't checkpoint !? PANIC: fatal region error detected; run recovery at /usr/sbin/postgrey line 237.#012
This is critical bug from my point of view, it is kind of DoS attack because once this problem is triggered, all emails are rejected.
summary: |
- postgrey rejects all email + postgrey rejects all emails |
description: | updated |
description: | updated |
I found that one of DBs is corrupted:
# db_verify /var/lib/ postgrey/ postgrey_ clients. db postgrey/ postgrey_ clients. db succeeded.
Verification of /var/lib/
# db_verify /var/lib/ postgrey/ postgrey. db postgrey/ postgrey. db: DB_VERIFY_BAD: Database verification failed postgrey/ postgrey. db failed.
db_verify: Page 17: unaligned offset 3917 at page index 1
db_verify: Page 17: gap between items at offset 3916
db_verify: Page 17: item order check unsafe: skipping
db_verify: /var/lib/
Verification of /var/lib/
I am not sure why DB is corrupted, maybe that postgrey crashed in the past...