[CentOS] Dovecot under CentOS-6

Tue Jan 24 15:36:31 UTC 2012
Timothy Murphy <gayleard at eircom.net>

Gordon Messmer wrote:

>> I've been running dovecot on a CentOS-5.7 server.
>> Now I'm moving over to another server running CentOS-6.2.
>> I thought I was running dovecot on the new server,
>> but in fact there was an error during the setup,
>> with the result that incoming mail finished up in/var/spool/mail/
>> rather than in ~/Maildir , where I wanted it to go.
> 
> Dovecot isn't your MTA.  You also need to duplicate your
> sendmail/postfix service on the new host.

OK, I assume there was something wrong with my sendmail/procmail setup,
so that all mail went to /var/spool/mail/~ .

The fact remains that I want to filter this email as I would
if it were arriving from outside.

I installed mutt on the new server,
and found that 95% of the messages in /var/spool/mail
were basically locally sent error messages.

But about 40 messages remain.

To repeat my original query:
----------------------------------
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 .

Any suggestions gratefully received.
----------------------------------

-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College Dublin