| Main Archive Page > Month Archives > postfix-users archives |
On 2010-10-07 3:43 PM, Joseph L. Casale wrote:
> My Postfix gateway will be receiving inbound mail and unfortunately I
> don't have the option this time to change DNS entries and some of the
> maintenance will require receiving mail for this domain.
>
> Normally, whenever we do maintenance, we edit the transport file from
> "domain.com smtp:[10.0.0.5]" to "domain.com hold:[10.0.0.5]" which
> references a "defer_transports = hold" in the main.cf.
>
> I need to be able to replay any inbound mail back into our mailbox
> server if it gets rolled back (virtual server) and this will be the
> easiest way.
If I'm reading this right, I *think* you can just set your postfix
gateway to hold all mails by adding "static:HOLD" to the TOP of your
smtpd_sender_restrictions:
smtpd_sender_restrictions = static:HOLD, blah, blah
Then once your mailbox server is back up, comment out that line and then
issue
postsuper -r ALL
?
-- Best regards, Charles