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/

w0rldart
  • 217
  • 1
  • 2
  • 14

1 Answers1

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).

womble
  • 96,255
  • 29
  • 175
  • 230