Olivier Sannier wrote:
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: [EMAIL PROTECTED]
So right now, any mail sent to [EMAIL PROTECTED] gets forwarded to
[EMAIL PROTECTED] and that is just fine with me.
However, the existing emails in the "New" folder should be forwarded
to [EMAIL PROTECTED] 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...
Jay
But then again, I don't have IMAP on the other end.
Maybe you should have mentioned these things in your first message
instead of forcing us to guess your config.
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.
You might be able to resend them with sendmail one way or another but
that would change the headers and delivery times. Sam's suggestion of
moving just the files between each Maildir's "new" folder would work
without changing any of the message's attributes. Of course this is
assuming both servers are using Courier and a Maildir backend which is
something else you didn't really inform us of. If you want good advice,
you need to be more verbose as to exactly what you are trying to do.
Jay
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users