SPF Postfix Debian etch

2009-07-13 Por tôpico Gustavo Goulart

Olá lista,

  Estou tentando configurar o SPF no meu postfix em um Debian etch e estou com 
o seguinte log em todas as menssagens que chegam:

Jul 13 15:31:11 rs6000 postfix/spawn[18002]: warning: command 
/usr/sbin/postfix-policyd exit status 255
Jul 13 15:31:11 rs6000 postfix/smtpd[17994]: warning: premature end-of-input on 
private/policy while reading input attribute name
Jul 13 15:31:12 rs6000 postfix/spawn[18002]: warning: command 
/usr/sbin/postfix-policyd exit status 255
Jul 13 15:31:12 rs6000 postfix/smtpd[17994]: warning: premature end-of-input on 
private/policy while reading input attribute name
Jul 13 15:31:12 rs6000 postfix/smtpd[17994]: warning: problem talking to server 
private/policy: Connection reset by peer
Jul 13 15:31:12 rs6000 postfix/smtpd[17994]: NOQUEUE: reject: RCPT from 
web37003.mail.mud.yahoo.com[209.191.85.88]: 451 4.3.5 Server configuration 
problem; from=gust.goul...@yahoo.com.br to=gust...@dominio.com.br 
proto=SMTP helo=web37003.mail.mud.yahoo.com
Jul 13 15:31:13 rs6000 postfix/smtpd[17994]: disconnect from 
web37003.mail.mud.yahoo.com[209.191.85.88]


  Ja rodeio o comando :

  /usr/sbin/postfix-policyd -c /etc/postfix-policyd.conf

  Não tenho saída nenhuma de erro.
  Ta faltando algum pacote ? Só instalei as libspf2-2 e postfix-policyd.

Alguem pode ajudar ai ?

##
# Gustavo V. Goulart #
# Rio de Janeiro - RJ#
# Linux Debian Etch  #
##


  

Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com


--
To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: SPF Postfix Debian etch

2009-07-13 Por tôpico Eduardo Silvestre
Viva Lista,

Aproveitando a pergunta do gustavo, como podemos aumentar o detalhe do log do 
postfix?

Abraço.

---
Eduardo Silvestre
nfsi telecom, lda.

eduardo.silves...@nfsi.pt
Tel. (+351) 21 949 2300 - Fax (+351) 21 949 2301
http://www.nfsi.pt/

- Original Message -
From: Gustavo Goulart gust.goul...@yahoo.com.br
To: debian-user-portuguese@lists.debian.org, Postfix-Br 
postfix...@listas.softwarelivre.org
Sent: Monday, July 13, 2009 7:51:57 PM GMT +00:00 GMT Britain, Ireland, Portugal
Subject: SPF Postfix Debian etch


Olá lista,

  Estou tentando configurar o SPF no meu postfix em um Debian etch e estou com 
o seguinte log em todas as menssagens que chegam:

Jul 13 15:31:11 rs6000 postfix/spawn[18002]: warning: command 
/usr/sbin/postfix-policyd exit status 255
Jul 13 15:31:11 rs6000 postfix/smtpd[17994]: warning: premature end-of-input on 
private/policy while reading input attribute name
Jul 13 15:31:12 rs6000 postfix/spawn[18002]: warning: command 
/usr/sbin/postfix-policyd exit status 255
Jul 13 15:31:12 rs6000 postfix/smtpd[17994]: warning: premature end-of-input on 
private/policy while reading input attribute name
Jul 13 15:31:12 rs6000 postfix/smtpd[17994]: warning: problem talking to server 
private/policy: Connection reset by peer
Jul 13 15:31:12 rs6000 postfix/smtpd[17994]: NOQUEUE: reject: RCPT from 
web37003.mail.mud.yahoo.com[209.191.85.88]: 451 4.3.5 Server configuration 
problem; from=gust.goul...@yahoo.com.br to=gust...@dominio.com.br 
proto=SMTP helo=web37003.mail.mud.yahoo.com
Jul 13 15:31:13 rs6000 postfix/smtpd[17994]: disconnect from 
web37003.mail.mud.yahoo.com[209.191.85.88]


  Ja rodeio o comando :

  /usr/sbin/postfix-policyd -c /etc/postfix-policyd.conf

  Não tenho saída nenhuma de erro.
  Ta faltando algum pacote ? Só instalei as libspf2-2 e postfix-policyd.

Alguem pode ajudar ai ?

##
# Gustavo V. Goulart #
# Rio de Janeiro - RJ#
# Linux Debian Etch  #
##


  

Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com


--
To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org


--
To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: SPF Postfix Debian etch

2009-07-13 Por tôpico Gustavo Goulart

 Resolvido 

   A solução foi:

No main.cf, dentro de smtpd_recipient_restrictions 
...
check_policy_service unix:private/policy
reject_unauth_destination
permit

e no master.cf a linha:
policy unix -   n   n   -   -   spawn
  user=nobody argv=/usr/sbin/postfix-policyd

  Tem que ser antes das configurações do clamav e do TLS.


 VAleu 
  

##
# Gustavo V. Goulart #
# Rio de Janeiro - RJ#
# Linux Debian Etch  #
##


--- Em seg, 13/7/09, Gustavo Goulart gust.goul...@yahoo.com.br escreveu:

 De: Gustavo Goulart gust.goul...@yahoo.com.br
 Assunto: SPF Postfix Debian etch
 Para: debian-user-portuguese@lists.debian.org, Postfix-Br 
 postfix...@listas.softwarelivre.org
 Data: Segunda-feira, 13 de Julho de 2009, 15:51
 
 Olá lista,
 
   Estou tentando configurar o SPF no meu postfix em um
 Debian etch e estou com o seguinte log em todas as
 menssagens que chegam:
 
 Jul 13 15:31:11 rs6000 postfix/spawn[18002]: warning:
 command /usr/sbin/postfix-policyd exit status 255
 Jul 13 15:31:11 rs6000 postfix/smtpd[17994]: warning:
 premature end-of-input on private/policy while reading input
 attribute name
 Jul 13 15:31:12 rs6000 postfix/spawn[18002]: warning:
 command /usr/sbin/postfix-policyd exit status 255
 Jul 13 15:31:12 rs6000 postfix/smtpd[17994]: warning:
 premature end-of-input on private/policy while reading input
 attribute name
 Jul 13 15:31:12 rs6000 postfix/smtpd[17994]: warning:
 problem talking to server private/policy: Connection reset
 by peer
 Jul 13 15:31:12 rs6000 postfix/smtpd[17994]: NOQUEUE:
 reject: RCPT from
 web37003.mail.mud.yahoo.com[209.191.85.88]: 451 4.3.5 Server
 configuration problem; from=gust.goul...@yahoo.com.br
 to=gust...@dominio.com.br
 proto=SMTP helo=web37003.mail.mud.yahoo.com
 Jul 13 15:31:13 rs6000 postfix/smtpd[17994]: disconnect
 from web37003.mail.mud.yahoo.com[209.191.85.88]
 
 
   Ja rodeio o comando :
 
   /usr/sbin/postfix-policyd -c
 /etc/postfix-policyd.conf
 
   Não tenho saída nenhuma de erro.
   Ta faltando algum pacote ? Só instalei as libspf2-2
 e postfix-policyd.
 
 Alguem pode ajudar ai ?
     
 ##
 # Gustavo V. Goulart     
    #
 # Rio de Janeiro - RJ        #
 # Linux Debian Etch          #
 ##
 
 
      
 
 Veja quais são os assuntos do momento no Yahoo! +Buscados
 http://br.maisbuscados.yahoo.com
 
 
 --
 To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 
 


  

Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com


--
To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: [Postfix-BR] Re: SPF Postfix Debian etch

2009-07-13 Por tôpico Wagner Elvio de Loiola Costa
Olá Eduardo, veja como está o parâmetro debug_peer_level se ele estiver
como nível 2, acredito que seja o máximo do nível do log do postfix. Para
ver este parâmetro digite o seguinte comando em uma linha de comando:
*root# postconf -d debug_peer_level*
*debug_peer_level = 2*
* *
*No  meu caso retornou com o nível 2 (acredito que seja o máximo)*
*
*
Caso esteja com valores 0 ou 1, altere esse valor no arquivo main.cf para 2.


Dê uma procura também pelo parâmetro debugger_command no Google, para obter
logs mais detalhados.

Wagner Elvio.



2009/7/13 Eduardo Silvestre eduardo.silves...@nfsi.pt

 Viva Lista,

 Aproveitando a pergunta do gustavo, como podemos aumentar o detalhe do log
 do postfix?

 Abraço.

 ---
 Eduardo Silvestre
 nfsi telecom, lda.

 eduardo.silves...@nfsi.pt
 Tel. (+351) 21 949 2300 - Fax (+351) 21 949 2301
 http://www.nfsi.pt/

 - Original Message -
 From: Gustavo Goulart gust.goul...@yahoo.com.br
 To: debian-user-portuguese@lists.debian.org, Postfix-Br 
 postfix...@listas.softwarelivre.org
 Sent: Monday, July 13, 2009 7:51:57 PM GMT +00:00 GMT Britain, Ireland,
 Portugal
 Subject: SPF Postfix Debian etch


 Olá lista,

  Estou tentando configurar o SPF no meu postfix em um Debian etch e estou
 com o seguinte log em todas as menssagens que chegam:

 Jul 13 15:31:11 rs6000 postfix/spawn[18002]: warning: command
 /usr/sbin/postfix-policyd exit status 255
 Jul 13 15:31:11 rs6000 postfix/smtpd[17994]: warning: premature
 end-of-input on private/policy while reading input attribute name
 Jul 13 15:31:12 rs6000 postfix/spawn[18002]: warning: command
 /usr/sbin/postfix-policyd exit status 255
 Jul 13 15:31:12 rs6000 postfix/smtpd[17994]: warning: premature
 end-of-input on private/policy while reading input attribute name
 Jul 13 15:31:12 rs6000 postfix/smtpd[17994]: warning: problem talking to
 server private/policy: Connection reset by peer
 Jul 13 15:31:12 rs6000 postfix/smtpd[17994]: NOQUEUE: reject: RCPT from
 web37003.mail.mud.yahoo.com[209.191.85.88]: 451 4.3.5 Server configuration
 problem; from=gust.goul...@yahoo.com.br to=gust...@dominio.com.br
 proto=SMTP helo=web37003.mail.mud.yahoo.com
 Jul 13 15:31:13 rs6000 postfix/smtpd[17994]: disconnect from
 web37003.mail.mud.yahoo.com[209.191.85.88]


  Ja rodeio o comando :

  /usr/sbin/postfix-policyd -c /etc/postfix-policyd.conf

  Não tenho saída nenhuma de erro.
  Ta faltando algum pacote ? Só instalei as libspf2-2 e postfix-policyd.

 Alguem pode ajudar ai ?

 ##
 # Gustavo V. Goulart #
 # Rio de Janeiro - RJ#
 # Linux Debian Etch  #
 ##



  
 
 Veja quais são os assuntos do momento no Yahoo! +Buscados
 http://br.maisbuscados.yahoo.com


 --
 To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org


 ___
 Postfix-BR mailing list
 postfix...@listas.softwarelivre.org
 http://listas.softwarelivre.org/mailman/listinfo/postfix-br




-- 
==
= =
=  Wagner Elvio de Loiola Costa =
= =
==