Il 23/02/2012 21:41, Marc Perkel ha scritto:
Not sure how this can be done.
Right now I'm running a free backup MX record service. People point their high MX records to my servers and if they go down we store the email. When they come back up it's delivered.
Hi, store how? In a queue with smtp server?
What I want to do is have a premium service that would allow them to view through IMAP the stored email. In order to do that I would have to deliver the email locally to a dovecot server - to a single account perhaps - and they can view/forward/delete etc.
But - when their server comes back online I'd like to gather up all the delivered email stored in Maildir format and run it back into smtp for delivery.
If you store the messages in a queue you can configure your smtp (your MX) server to send a copy of all message it receive also to another mailbox, see always_bcc in posfix.