[Postfix-br] E-mails recebidos
Julio Cesar Covolato
julio em psi.com.br
Quinta Novembro 10 11:04:29 BRST 2016
Olá Rafael.
Para contar o que realmente foi entregue (não conta os rejeitados):
cat /var/log/maillog | egrep "to=<xxx at xxx.com.br>" | egrep "status=sent"
| wc -l
Att
-----------------------------
_ Engº Julio Cesar Covolato
0v0 <julio at psi.com.br>
/(_)\ F: 55-11-3129-3366
^ ^ PSI INTERNET
-----------------------------
Em 10/11/2016 10:43, Mario Jorge Lima escreveu:
> Ola,
>
> Tire fora o grep Received, deixe apenas:
>
> cat /var/log/maillog | egrep "to=<xxx at yyyyy.com.br>
> <mailto:xxx at yyyyy.com.br> " | wc -l
>
> Att.
>
> Mario;/
>
>
>
> At 08:48 10/11/2016, you wrote:
>
>> Bom dia Galera, tudo bem?
>>
>> Usando o cat com alguns filtros ( cat /var/log/maillog | grep
>> Received | egrep "to=<xxx at yyyyy.com.br> <mailto:xxx at yyyyy.com.br> " |
>> wc -l) eu consigo descobrir a quantidade de e-mails recebidos por
>> determinado usuário? É correto eu fazer assim ou viajei?
>>
>> --
>> Atenciosamente,
>> Rafael Henrique Cel.: (13) 99138-5151
>> _______________________________________________
>> Postfix-br mailing list
>> Postfix-br at listas.softwarelivre.org
>> http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/postfix-br
>
> ___________________________
> Mario Jorge Lima
> mariolima at multisites.com.br
> OBS: Eventualmente nao acentuo algumas palavras do Portugues, para
> evitar bugs na recepcao dos emails.
>
>
> _______________________________________________
> 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/20161110/c34d8e4f/attachment.html>
More information about the Postfix-br
mailing list