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

intentional delay

4 views
Skip to first unread message

P1

unread,
Oct 23, 2009, 5:45:03 PM10/23/09
to
I have a need to introduce an intentional delay for delivering mail from
a specific sender address.

Example, all mail submitted to postfix via SMTP with a "MAIL FROM"
address of "del...@domain.com" will be held in queue for 10 minutes
before delivery of this message is attempted to the destination server.
All other mail will be sent out immediately.

Is this possible?

Thanks guys,
Paul

P1

unread,
Nov 4, 2009, 1:12:54 PM11/4/09
to

shameless bump

Martin Gregorie

unread,
Nov 4, 2009, 5:30:34 PM11/4/09
to

Anything is possible, but you may have to write it yourself.

Two random possibilities:

(1) write a delay cache in Java, using JavaMail for talking to your
Postfix MTA via SMTP and a Derby or H2 database as its message store.
Configure Postfix to send messages for the delayed domain(s) to the
delay cache and route messages sent from the cache to its destination.

(2) Route mail to be delayed to a second copy of Postfix that's
front-ended by a greylisting filter configured for the required
delay and modified to treat all messages as the first for a
destination.


--
martin@ | Martin Gregorie
gregorie. | Essex, UK
org |

0 new messages