[CentOS] Dovecot under CentOS-6

Gordon Messmer yinyang at eburg.com
Tue Jan 24 20:18:17 UTC 2012

On 01/24/2012 07:36 AM, Timothy Murphy wrote:
> Now I'm wondering if there is some way
> that I can re-direct the mail in/var/spool/mail/<mymbox>
> so that it goes through the system as though it were just arriving?
> I mean, so that it gets distributed into the correct folders
> under ~/Maildir , as specified in .procmailrc .

Ah, yes.  I apologize for not reading that more comprehensively.

You want "formail", a part of the procmail package. I think something 
like this:

su <user> -c "formail -s procmail" < /var/spool/mail/<user>

More information about the CentOS mailing list