Re-injecting a mailbox into postfix?

From: Sean Tempesta (no email)
Date: Mon Sep 03 2007 - 02:37:29 EDT


Hello,

My old company had their mail server die and were desperate to accept
the mail that was queuing while they were trying to rebuild their
server so they asked me to temporarily accept all mail for their org.
So, I setup the following virtual mailbox:

 1 /etc/postfix/main.cf:
 2 virtual_mailbox_domains = example.com
 3 virtual_mailbox_base = /var/mail/vhosts
 4 virtual_mailbox_maps = hash:/etc/postfix/vmailbox
 5 virtual_minimum_uid = 100
 6 virtual_uid_maps = static:5000
 7 virtual_gid_maps = static:5000
 8 virtual_alias_maps = hash:/etc/postfix/virtual
 9
10 /etc/postfix/vmailbox:
11 @example.com example.com/catchall

which was great as all of their email started flowing into this single
catchall file. Now that their mail server is back up and running I
need to reinject it into postfix. The format appears to be standard
.mbox:








Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD