Fixing the Cyrus mailserver SQUAT failed error

Fixing the Cyrus mailserver SQUAT failed error

In my /var/log/mail.log I saw the following error:

Aug 6 17:12:58 Nephtys cyrus/imap[6411]: SQUAT failed to open index file
Aug 6 17:12:58 Nephtys cyrus/imap[6411]: SQUAT failed

In order to fix this execute the following commands:

 # sudo su cyrus

This will make you the cyrus user.

Now execute

 # squatter

This will index all your e-mails (more info by executing $ man squatter). This index is not incremental so you need to run this task once in a while. It might be usefull to create a cronjob for this command.

2 thoughts on “Fixing the Cyrus mailserver SQUAT failed error

  1. Like that:

    EVENTS {
    […]
    squatter cmd=”squatter -r *” period=30
    }

    Or like that:

    EVENTS {
    […]
    squatterUpdate cmd=”ionice -c 3 nice -n 19 squatter -s -r *” period=120
    squatterFull cmd=”squatter -r” at=0144
    }

Leave a Reply

Your email address will not be published. Required fields are marked *