Header_checks

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Header_checks

Aguimar Rezende Junior Rezende
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
[hidden email]
http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/postfix-br
Reply | Threaded
Open this post in threaded view
|

Re: Header_checks

Gabriel Ricardo
Acredito que essa expr já ajude:

/^From.*@mkt/

Atenciosamente,
Gabriel Ricardo
Fone: +55 41 88817828
Skype: gabriel.nerdworkti


Em 16 de junho de 2016 15:07, Aguimar Rezende Junior <[hidden email]> 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
[hidden email]
http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/postfix-br


_______________________________________________
Postfix-br mailing list
[hidden email]
http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/postfix-br
Reply | Threaded
Open this post in threaded view
|

Re: Header_checks

Aguimar Rezende Junior Rezende
Em 16/06/2016 15:09, Gabriel Ricardo escreveu:
Acredito que essa expr já ajude:

/^From.*@mkt/

Atenciosamente,
Gabriel Ricardo
Fone: +55 41 88817828
Skype: gabriel.nerdworkti


Em 16 de junho de 2016 15:07, Aguimar Rezende Junior <[hidden email]> 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
[hidden email]
http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/postfix-br



_______________________________________________
Postfix-br mailing list
[hidden email]
http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/postfix-br

Obrigado Gabriel, vou testar.


_______________________________________________
Postfix-br mailing list
[hidden email]
http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/postfix-br
Reply | Threaded
Open this post in threaded view
|

Re: Header_checks

Julio Cesar Covolato
In reply to this post by Aguimar Rezende Junior Rezende
$ sed -i 's/^\/@/\/From:.*@/g' /etc/postfix/header_checks

$ postfix reload

Att.

-----------------------------
     _    Engº Julio Cesar Covolato
    0v0   <[hidden email]>
   /(_)\  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
> [hidden email]
> http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/postfix-br

_______________________________________________
Postfix-br mailing list
[hidden email]
http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/postfix-br
Reply | Threaded
Open this post in threaded view
|

Re: Header_checks

Aguimar Rezende Junior Rezende
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   <[hidden email]>
>   /(_)\  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
>> [hidden email]
>> http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/postfix-br
>
> _______________________________________________
> Postfix-br mailing list
> [hidden email]
> http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/postfix-br
>
O que esse script faz mestre Júlio ?

_______________________________________________
Postfix-br mailing list
[hidden email]
http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/postfix-br
Reply | Threaded
Open this post in threaded view
|

Re: Header_checks

Julio Cesar Covolato
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   <[hidden email]>
   /(_)\  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   <[hidden email]>
>>   /(_)\  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
>>> [hidden email]
>>> http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/postfix-br
>>
>> _______________________________________________
>> Postfix-br mailing list
>> [hidden email]
>> http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/postfix-br
>>
> O que esse script faz mestre Júlio ?
>
> _______________________________________________
> Postfix-br mailing list
> [hidden email]
> http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/postfix-br

_______________________________________________
Postfix-br mailing list
[hidden email]
http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/postfix-br
Reply | Threaded
Open this post in threaded view
|

Re: Header_checks

Aguimar Rezende Junior Rezende
Em 16/06/2016 15:55, Julio Cesar Covolato escreveu:

> 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   <[hidden email]>
>   /(_)\  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   <[hidden email]>
>>>   /(_)\  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
>>>> [hidden email]
>>>> http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/postfix-br
>>>
>>> _______________________________________________
>>> Postfix-br mailing list
>>> [hidden email]
>>> http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/postfix-br
>>>
>> O que esse script faz mestre Júlio ?
>>
>> _______________________________________________
>> Postfix-br mailing list
>> [hidden email]
>> http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/postfix-br
>
> _______________________________________________
> Postfix-br mailing list
> [hidden email]
> http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/postfix-br
>
Perfeito! Obrigado

_______________________________________________
Postfix-br mailing list
[hidden email]
http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/postfix-br