1

Is there any way of resending all the mails from a user's cur folder with the current emails on the server? The imap service is done by Courier and the smtp by Postfix

Path /var/vmail/DOMAI.com/USER/

1 Answer 1

4

Just write a little script to loop over all the e-mails in the folder and pipe them through sendmail. If necessary, you can mangle the content of the e-mails as required (say, to strip headers or change the To: address) using formail (part of procmail).

1
  • 2
    The user has been wombled
    – mailq
    Jul 2, 2012 at 22:57

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .