Pessoal,

Obrigado pela ajuda, o comando passado não funcionou mas ajudou no caminho
das pedras. A solução que adotei foi a seguinte:

smtpd_sender_restrictions = permit_mynetworks,
         reject_non_fqdn_sender,
         reject_unknown_sender_domain,
*    --> check_sender_access hash:/etc/postfix/spf_whitelist <--*
         check_sender_access hash:/etc/postfix/sa-blacklist.current.reject
         reject_unauth_pipelining,
         check_policy_service unix:private/policy

Segue uma referencia:
http://www.ramoni.com.br/wiki/index.php/Meus_artigos:_Flexibilidade_nos_smtpd_*_restrictions_do_Postfix

Abraços,
Thiago Cavalcante

2010/9/27 Gabriel Ricardo <gricard...@gmail.com>

crie uma lista de acessos e coloque antes da regra do  spf :)
>
> check_client_access hash:/etc/postfix/access
>
> dentro do acess você coloca
>
> dominio.com.br OK
>
> da um postmap no arquivo e restarta o serviço :)
>
>
> Att,
> *Gabriel Ricardo*
> *MSN:* gricard...@gmail.com
> http://tinotapa.blogspot.com
> http://twitter.com/gricardo87
>
>
> 2010/9/27 Thiago Cavalcante <tlcavalca...@gmail.com>
>
> > Amigos,
> >
> > Preciso colocar uma regra de exceção no SPF para um determinado domínio.
> > Segue abaixo o erro:
> >
> > Mon 2010-09-27 18:08:55: Parsing message
> > > <xxxxxxxxxxxxxxxxxxxxxxxx\pd50000100893.msg>
> > > Mon 2010-09-27 18:08:55: *  From:
> > cmgecu897-reflat...@isped.u-bordeaux2.fr
> > > Mon 2010-09-27 18:08:55: *  To: meuusua...@meudominio.com
> > > Mon 2010-09-27 18:08:55: *  Subject: ANRS 12 180 REFLATE TB : SAE
> > Reporting
> > > for patient 903003
> > > Mon 2010-09-27 18:08:55: *  Size (bytes): 1102
> > > Mon 2010-09-27 18:08:55: *  Message-ID:
> > > Mon 2010-09-27 18:08:55: Attempting SMTP connection to [meudominio.com
> ]
> > > Mon 2010-09-27 18:08:55: Resolving MX records for [meudominio.com]
> (DNS
> > > Server: 66.28.0.45)...
> > > Mon 2010-09-27 18:08:56: *  P=005 S=000 D=meudominio.com TTL=(166)
> MX=[
> > > meuserver.meudominio.com] {157.86.41.230}
> > > Mon 2010-09-27 18:08:56: Attempting SMTP connection to [10.0.0.1:25]
> > > Mon 2010-09-27 18:08:56: Waiting for socket connection...
> > > Mon 2010-09-27 18:08:56: *  Connection established (172.16.1.3:4588 ->
> > > 10.0.0.1:25)
> > > Mon 2010-09-27 18:08:56: Waiting for protocol to start...
> > > Mon 2010-09-27 18:08:57: <-- 220 *****************************
> > > Mon 2010-09-27 18:08:57: --> EHLO clinsightennov.com
> > > Mon 2010-09-27 18:08:57: <-- 250-meuserver.meudominio.com
> > > Mon 2010-09-27 18:08:57: <-- 250-PIPELINING
> > > Mon 2010-09-27 18:08:57: <-- 250-SIZE 10240000
> > > Mon 2010-09-27 18:08:57: <-- 250-ETRN
> > > Mon 2010-09-27 18:08:57: <-- 250-ENHANCEDSTATUSCODES
> > > Mon 2010-09-27 18:08:57: <-- 250-8BITMIME
> > > Mon 2010-09-27 18:08:57: <-- 250 DSN
> > > Mon 2010-09-27 18:08:57: --> MAIL From:<
> > > cmgecu897-reflat...@isped.u-bordeaux2.fr> SIZE=1102
> > > Mon 2010-09-27 18:08:58: <-- 250 2.1.0 Ok
> > > Mon 2010-09-27 18:08:58: --> RCPT To:<meuusua...@meudominio.com>
> > > *Mon 2010-09-27 18:08:59: <-- 550 5.7.1 <
> > > cmgecu897-reflat...@isped.u-bordeaux2.fr>: Sender address rejected:
> > Please
> > > see
> > >
> >
> http://www.openspf.org/Why?s=mfrom;id=cmgecu897reflatetb%40isped.u-bordeaux2.fr;ip=217.71.125.131;r=server.meudominio.com
> > > *
> > > Mon 2010-09-27 18:08:59: --> QUIT
> > >
> >
> > Obrigado,
> > Thiago  Cavalcante
> > _______________________________________________
> > Postfix-BR mailing list
> > Postfix-BR@listas.softwarelivre.org
> > http://listas.softwarelivre.org/mailman/listinfo/postfix-br
> >
> _______________________________________________
> Postfix-BR mailing list
> Postfix-BR@listas.softwarelivre.org
> http://listas.softwarelivre.org/mailman/listinfo/postfix-br
>
_______________________________________________
Postfix-BR mailing list
Postfix-BR@listas.softwarelivre.org
http://listas.softwarelivre.org/mailman/listinfo/postfix-br

Responder a