[Postfix-br] Postfix com horário definido
Julio Cesar Covolato
julio em psi.com.br
Sexta Julho 4 00:31:54 BRT 2014
Olá Franklin.
faça um header_checks com o seguinte argumento:
Tipo, header_checks_hold:
/FROM:.*/ HOLD
Todo email que chegar quando este header_checks estiver ativo, as
mensagens ficarão em "on hold"
Para liberá-las às 19:00h, use o comando:
postsuper -H ALL
Faça um script para rodar às 19:00h e outro para rodar às 6:00h via crontab.
às 6:00h:
#!/bin/sh
cp -f /etc/postfix/header_checks_hold /etc/postfix/header_checks
postfix reload
às 19:00h:
#!/bin/sh
cp -f /etc/postfix/header_checks_original /etc/postfix/header_checks
postfix reload
postsuper -H ALL
Deu pra entender? Qqr dúvida me chama...
[]'s
-----------------------------
_ Engº Julio Cesar Covolato
0v0 <julio at psi.com.br>
/(_)\ F: 55-11-3129-3366
^ ^ PSI INTERNET
-----------------------------
Em 03/07/2014 12:09, Franklin George escreveu:
> Galera,
>
> Tenho um servidor e quero que o Postifix só envie e-mail´s após às
> 19:00hs e pare às 6:00hs
>
> Eu utilizo o crontab pra agendar ou existe alguma configuração no
> postfix que faça está função?
>
>
> _______________________________________________
> Postfix-br mailing list
> Postfix-br at listas.softwarelivre.org
> http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/postfix-br
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/postfix-br/attachments/20140704/2944f311/attachment.html>
More information about the Postfix-br
mailing list