Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.