Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'd like to temporarily queue all mail to a particular domain, but allow all others to send right away.

For example, if a user on mydomain.com sends an email to recipient-domain.com, I'd like to wait before actually sending it. Ideally it remains in the queue until the temporary hold is removed. But, all other domains should send just fine.

share|improve this question

You can:

1) copy smtp transport in master.cf and rename copy ondemand

ondemand unix - - n - - smtp

2) list ondemand transport in defer_transports option

defer_transports = ondemand

3) Use transport map to select ondemand transport for deliveries to recipient-domain.com

recipient-domain.com   ondemand
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .