Re: [exim] Delaying first delivery from queue

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Dave Lugo
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [exim] Delaying first delivery from queue
On Tue, 27 May 2014, Ian Zimmerman wrote:
>
> # this router delays delivery until message is 15 minutes old.
> delay_local:
> debug_print = "R: real_local for $local_part@$domain"
> condition = ${if >{900}{$message_age}}
> driver = redirect
> data = :defer:
>


This is what I use at home, to delay all outbound mail
from me for at least 60 seconds (so if I immediately regret
an email, I have time to ssh to the server and delete it
from queue ;)

Adjust senders as needed, etc.

delay:
driver = redirect
senders = dlugo@???
condition = ${if < {$message_age}{60}{yes}{no}}
allow_defer
data = :defer: message not old enough
no_verify


-- 
--------------------------------------------------------
Dave Lugo   dlugo@???    LC Unit #260   TINLC
Have you hugged your firewall today?   No spam, thanks.
--------------------------------------------------------
Are you the police?  . . . .  No ma'am, we're sysadmins.