Link to home
Start Free TrialLog in
Avatar of TommyGun2010
TommyGun2010

asked on

How can I forward/move/push email messages from Postfix message stores?

Recently I re-delegated the hosting on several domains to a new hosting provider, but under one domain I neglected to put forwarding details in place for two email aliases/addresses.  The result was that during DNS propagation a certain amount of email was delivered to those old mailboxes. The domain transfer has now been completed and all is working as required, but the mail delivered in the interim period is no longer accessible accept directly via the shell.

So my question is; Is it possible, through the shell/postfix commands, to 'bump' those messages delivered in the interim 24-48 hour period to an email (different or the same) address at the new mailbox hosting?
Avatar of Jason Watkins
Jason Watkins
Flag of United States of America image

Hello,

We just tar the messages up and move them via shell into the user's directory.
Avatar of TommyGun2010
TommyGun2010

ASKER

Even if I understood exactly what you mean from your vague "solution", which I don't.  The domain has now been delegated to a new host, a shared server, where shell access is limited to the 'htdocs' area so TARing them isn't all that useful, as I can't "transplant" them to the new server in that fashion.

As I stated in my question, I wanted to know if it is possible to 'bump' (forward) messages from a mailbox to an email address using Postfix?
No, not in any bulk manner, is it possible to 'bump' messages from one server to another. To do what you ask, you need to send the messages one at a time.

Clear?
I understand the concept, but I'm not clear on how to go about using Postfix to forward the messages.

What commands would I use?  I can probably script an automated solution then.
ASKER CERTIFIED SOLUTION
Avatar of Jason Watkins
Jason Watkins
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Brief and incomplete answer.