Procmail And Dovecot

Home » CentOS » Procmail And Dovecot
CentOS 8 Comments

Does anyone know how to get procmail and dovecot to play happily together with mboxes? I’m on CentOS 6.5, fully patched.

I’m getting tons of lock timeouts which is killing performance.

I tried using dovecot’s lda from procmail, which prompted many adjustments to selinux, which I managed, but it still gives permission problems, and I haven’t succeeded in getting it to deliver mail.

Any guesses at all would be useful.

thanks,
-chuck

8 thoughts on - Procmail And Dovecot

  • That is 1 of 2 reasons why we switched to Maildir.

    I would recommend switching if that is an option, if it helps we did it incrementally on our userbase.

  • What was the second reason? Always looking for justification to take up the line with my recommendations…

    Are there any tools to convert procmailrc files to maildir compatible recipes?

    -chuck

  • That’s it. 15 users, with 20 2GB+ mbox files with a daily change of a 100k+ was killing our backup effort by having to backup .6TB every day.

    And the load on the imap server was through the roof, now it averages a 0.01

    And we did this in the global procmailrc file:

    root@mail ~
    # cat /etc/procmailrc DEFAULT=”$HOME/Maildir/”
    MAILDIR=”$HOME/Maildir/”

    User .procmailrc can (but shouldn’t) still put in mbox, but the inbox was the first to go to Maildir.

  • Amen.

    Even at home, where I own/control the whole shebang, I limit the inbox size to 250M. Get close to or exceed that size, and you won’t receive email…period.

  • Mike Burger wrote:

    I lost a bunch of stuff early this year… I hadn’t broken out previous years into year-folders. Old stuff was in earlier ones, and that was ok. I
    really need to do that, and I can recover up until the beginning of the years, once I figure out how to import an older t-bird file.

    I’d *like* to use mdir – been thinking about it, but now that I see that t-bird has problems with it…. Maybe I should go back to kmail….

    mark