Re: [Exim] Delaying transport for a particular address

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Tamas TEVESZ
Dátum:  
Címzett: Glenn Carver
CC: exim-users
Tárgy: Re: [Exim] Delaying transport for a particular address
On Wed, 17 Jul 2002, Glenn Carver wrote:

> I could do with some help from the community. Our site runs a
> mailing list with alot of subscribers. At times it can put a strain
> on our system. What I would like to do is set up exim so that when
> emails arrive for a particular address, they are held until the
> night when it then does the delivery.
>
> So I need to intercept mail for (let's say),
> list1@???, delay transport until 12 midnight.


it probably can be done in exim, too, which i'm lazy to look up; but
why not tell your list server not to run it's queue only at specified
times ? with mailman, it could probably be done with a little tweaking
of the qrunner script.

anyway, as for exim, i just got an idea; it may or may not work.

list_defer:
driver = smartuser
local_parts = list1
domains = whatever
condition = <some condition that is true or false based on current time>
[or, actually, you could for example require_files = foo, where you
create and remove the file "foo" on a regular basis. there are
several other ways probably.]
new_address = :defer:


--
[-]