Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Queuing and forwarding during a maintenance period

0 views
Skip to first unread message

Dan

unread,
Oct 26, 2009, 1:28:14 PM10/26/09
to
Postfix 2.3.3
transport maps setup to send my domain to :[my internal cgate server]


I have a few external postfix servers that I use to relay mail to an
internal cgate server. I will be migrating that cgate server to a new
location and had a question about how to queue AND forward during the
downtime. I don't want people to get messages coming back to them
saying that there delivery has been delayed (this will be a long
downtime period). I've read that postfix does not send these messages
by default, so maybe I all I need to do is use iptables to prevent it
from talking to my cgate server until I'm ready to allow mail to go
back up.

I want to do two things while my cgate server is down.
1. Allow outgoing mail, and hold all incoming mail for my domain
until cgate is back up again.

2. For one specific email address I want to forward mail to a gmail
address. every things else for that domain should get queued. I
currently have a test account @my domain setup in a virtual user map,
and I can confirm that this much is working.


So is it ok to just block access to mail internal cgate server, or do
I need to find a way to get everything else to go into the HOLD queue.

I've tried using "/./ HOLD" in header_checks, but that obviously holds
too much and does not allow my forward to work.

0 new messages