Re: Dovecot under CentOS-6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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>
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux