This is not technically a programming question but perhaps someone can help me. Yes, it's totally off topic, but i'm desperate for help as I'm no expert at this type of thing.
We had a problem on our mail server over the weekend and upon updating postfix, i noticed that mail was no longer being delivered to the /home/$user/Maildir/ as defined by the alias map. We have now fixed that, and mail is getting delivered, but previous mail that was not being delivered to mailboxes was stacking up in the spool in /var/mail as flat files containing email data.
I would like to get postfix (or whatever other program ... from postfix i use procmail to filter) to go through those files again and deliver to the appropriate mailbox. I have tried 'postqueue -f' but that hasn't done anything. 'mailq' obviously says that the mail queue is empty.
Can anyone help?? :)