[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 959
  • Last Modified:

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?
0
TommyGun2010
Asked:
TommyGun2010
  • 3
  • 3
1 Solution
 
Jason WatkinsIT Project LeaderCommented:
Hello,

We just tar the messages up and move them via shell into the user's directory.
0
 
TommyGun2010Author Commented:
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?
0
 
Jason WatkinsIT Project LeaderCommented:
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?
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
TommyGun2010Author Commented:
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.
0
 
Jason WatkinsIT Project LeaderCommented:
Some good Postfix FAQ; http://www.seaglass.com/postfix/faq.html

You can specify an address in the luser_relay parameter and disable local_recipient_maps.

luser_relay = info
local_recipient_maps =
0
 
TommyGun2010Author Commented:
Brief and incomplete answer.
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now