Postfix Cache/queue question
I'm looking to setup a new Postfix server and I heard about a feature on a proprietary mail gateway and I has hoping postfix might be able to do the same.
The idea is to deliver mail as normal, but to also deliver a copy (like automatic bcc) to a hold queue, where it will sit for X many days, just in case there is a problem with the destination mail server. So say your mail server is hit by lightning, you would still have access quick access to the past X many days of external mail. Any ideas? Thanks Bob |
Postfix has an auto BCC function that you could use. If you used a dummy account and kept the password secure, it would hold, effectively in queue, all of the messages and they could be retrieved. The messages would be stored as date-time stamped files on disk and you could use a cron task to go back and delete everything more than X days old.
I doubt that Postfix will support the feature directly as described because holding messages in the queue sounds like it would be rather non-compliant with respect to any SMTP standards. |
All times are GMT -5. The time now is 11:36 AM. |