Jay Lee wrote:
Olivier Sannier wrote:
Sam Varshavchik wrote:
Olivier Sannier writes:
Hi all,
I had setup an account to receive mail and it has a few emails
waiting in the "New" folder of its maildir.
However, the setup has changed and this account is no longer to be
used but instead gets aliased by the "alias" file so that the mail is
forwarded to an outside email account. Something like that:
user: some...@else.com
So right now, any mail sent to us...@mydomain.com gets forwarded to
some...@else.com and that is just fine with me.
However, the existing emails in the "New" folder should be forwarded
to some...@else.com and I'm not quite sure on to how to proceed
with this.
Any suggestions?
You're making this more complicated that it needs to be. Take all the
files in new, and put them in new's directory in the other mailbox.
This is assuming that both mailboxes are owned by the same system uid
and gid.
Done.
But the account where it needs to be forwarded is NOT on the same server
and its configuration is out of my control.
The alias file allows to do this and it works just fine. However, it was
put in place a bit too late and I would like to forward what is already
sitting on the server.
Then connect to both servers with any mail client and copy them over.
IMAPCopy (http://home.arcor.de/armin.diehl/imapcopy/imapcopy.html)
would do fine.
Like Sam said, you're making this harder than it needs to be, there
are a hundred ways you could do this...
But then again, I don't have IMAP on the other end. Ah well, I'll manage
a way but it would have been nice to be able to put them back in the
queue for courier to reprocess them.
Cheers
Olivier