Hello,

For me you have to do a script which select the message over 2 megabytes
and put them hold.

At night you put those mail on queue.

With the command postqueue -p and command awk you can put email on hold.

Like this to hold email on day :

On cron you put this => postqueue -p| awk 'BEGIN { RS ="" } {if
($2>2097152} ' | sed s/\*// | postsuper -h -

Like this to queue email on night:

On cron you put this => postqueue -p| awk 'BEGIN { RS ="" } {if
($2>2097152} ' | sed s/\!//| postsuper -H -

Sorry for my english (i'm french)

I hope that help you !

Bye

Le mercredi 31 mars 2010 à 10:37 -0400, Jorge E. Rojas a écrit :

> helo people
> i has been (unlucky) searching a lot in the list archives and google for 
> a way to having a dual scheme for delivering message queue, one for 
> messages below 2 megabytes, this kind with inmediately deliver  and 
> messages over this limit with delivery only between  18:00 and 6:00
> somebody can help me with some information about this ?
> 
> thanks in advance
> 
> hola gente
> he estado buscando (infructuosamente) en los archivos de la lista y en 
> google una forma de tener un esquema doble de entrega de correo, uno 
> para los mensajes menores de 2 megabytes, con entrega inmediata y los 
> que sobrepasen este límite sólo entre las 6:00 pm y las 6:00 am
> alguien que pueda ayudarme con información acerca de esto ?
> gracias por adelantado
> 


Reply via email to