[Postfix-br] Header_checks
Julio Cesar Covolato
julio em psi.com.br
Quinta Junho 16 15:55:18 BRT 2016
Olá Aguimar.
Ops, faltou o "^" no From:
$ sed -i 's/^\/@/\/^From:.*@/g' /etc/postfix/header_checks
Altera todas as linhas que começam com "/@" para "/^From:.*@" do
arquivo /etc/postfix/header_checks
Tutorial sed: http://www.grymoire.com/Unix/Sed.html
Att.
-----------------------------
_ Engº Julio Cesar Covolato
0v0 <julio at psi.com.br>
/(_)\ F: 55-11-3129-3366
^ ^ PSI INTERNET
-----------------------------
Em 16/06/2016 15:41, Aguimar Rezende Junior escreveu:
> Em 16/06/2016 15:38, Julio Cesar Covolato escreveu:
>> $ sed -i 's/^\/@/\/From:.*@/g' /etc/postfix/header_checks
>>
>> $ postfix reload
>>
>> Att.
>>
>> -----------------------------
>> _ Engº Julio Cesar Covolato
>> 0v0 <julio at psi.com.br>
>> /(_)\ F: 55-11-3129-3366
>> ^ ^ PSI INTERNET
>> -----------------------------
>>
>> Em 16/06/2016 15:07, Aguimar Rezende Junior escreveu:
>>> Boa tarde pessoal
>>>
>>> Tenho as seguintes regras no meu header_checks
>>>
>>>
>>> /@mkt/ REJECT SPAMMER
>>> /@mkt./ REJECT SPAMMER
>>> /@emailmkt./ REJECT SPAMMER
>>> /@emailmkt/ REJECT SPAMMER
>>> /@emmkt./ REJECT SPAMMER
>>> /@emmkt/ REJECT SPAMMER
>>> /@emktsender/ REJECT SPAMMER
>>> /@emktsender./ REJECT SPAMMER
>>>
>>> Como faço para que sejam checadas somente "From" ?
>>>
>>> Obrigado
>>>
>>> Aguimar Rezende
>>>
>>> _______________________________________________
>>> Postfix-br mailing list
>>> Postfix-br at listas.softwarelivre.org
>>> http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/postfix-br
>>
>> _______________________________________________
>> Postfix-br mailing list
>> Postfix-br at listas.softwarelivre.org
>> http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/postfix-br
>>
> O que esse script faz mestre Júlio ?
>
> _______________________________________________
> Postfix-br mailing list
> Postfix-br at listas.softwarelivre.org
> http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/postfix-br
More information about the Postfix-br
mailing list