+ Responder ao Tópico



  1. #16
    karfax
    Oi,

    debug_peer_level = 2
    debug_peer_list = 127.0.0.1
    debugger_command =
    PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
    xxgdb $daemon_directory/$process_name $process_id & sleep 5

  2. #17
    Educpd
    Amigo.

    Segue o debug, mandei uma email de uma dominio meu para um dominio
    externo !!! E ele não exigiu autenticação !!!

    ????

    Nov 25 17:03:28 email postfix/smtpd[26750]: connect from unknown[10.0.0.143]
    Nov 25 17:03:28 email postfix/smtpd[26750]: > unknown[10.0.0.143]: 220 email.sonsun.com.br ESMTP "Sonsun - Email - Postfix 2.1.4"
    Nov 25 17:03:28 email postfix/smtpd[26750]: watchdog_pat: 0x808d918
    Nov 25 17:03:28 email postfix/smtpd[26750]: < unknown[10.0.0.143]: HELO TERMSP3
    Nov 25 17:03:28 email postfix/smtpd[26750]: > unknown[10.0.0.143]: 250 email.sonsun.com.br
    Nov 25 17:03:28 email postfix/smtpd[26750]: watchdog_pat: 0x808d918
    Nov 25 17:03:28 email postfix/smtpd[26750]: < unknown[10.0.0.143]: MAIL FROM: <eduardo@sonsun.com.br>
    Nov 25 17:03:28 email postfix/smtpd[26750]: extract_addr: input: <eduardo@sonsun.com.br>
    Nov 25 17:03:28 email postfix/smtpd[26750]: smtpd_check_addr: addr=eduardo@sonsun.com.br
    Nov 25 17:03:28 email postfix/smtpd[26750]: send attr request = rewrite
    Nov 25 17:03:28 email postfix/smtpd[26750]: send attr rule = canonicalize
    Nov 25 17:03:28 email postfix/smtpd[26750]: send attr address = eduardo@sonsun.com.br
    Nov 25 17:03:28 email postfix/smtpd[26750]: private/rewrite socket: wanted attribute: address
    Nov 25 17:03:28 email postfix/smtpd[26750]: input attribute name: address
    Nov 25 17:03:28 email postfix/smtpd[26750]: input attribute value: eduardo@sonsun.com.br
    Nov 25 17:03:28 email postfix/smtpd[26750]: private/rewrite socket: wanted attribute: (list terminator)
    Nov 25 17:03:28 email postfix/smtpd[26750]: input attribute name: (end)
    Nov 25 17:03:28 email postfix/smtpd[26750]: rewrite_clnt: canonicalize: eduardo@sonsun.com.br -> eduardo@sonsun.com.br
    Nov 25 17:03:28 email postfix/smtpd[26750]: send attr request = resolve
    Nov 25 17:03:28 email postfix/smtpd[26750]: send attr address = eduardo@sonsun.com.br
    Nov 25 17:03:28 email postfix/smtpd[26750]: private/rewrite socket: wanted attribute: transport
    Nov 25 17:03:28 email postfix/smtpd[26750]: input attribute name: transport
    Nov 25 17:03:28 email postfix/smtpd[26750]: input attribute value: local
    Nov 25 17:03:28 email postfix/smtpd[26750]: private/rewrite socket: wanted attribute: nexthop
    Nov 25 17:03:28 email postfix/smtpd[26750]: input attribute name: nexthop
    Nov 25 17:03:28 email postfix/smtpd[26750]: input attribute value: sonsun.com.br
    Nov 25 17:03:28 email postfix/smtpd[26750]: private/rewrite socket: wanted attribute: recipient
    Nov 25 17:03:28 email postfix/smtpd[26750]: input attribute name: recipient
    Nov 25 17:03:28 email postfix/smtpd[26750]: input attribute value: eduardo@sonsun.com.br
    Nov 25 17:03:28 email postfix/smtpd[26750]: private/rewrite socket: wanted attribute: flags
    Nov 25 17:03:28 email postfix/smtpd[26750]: input attribute name: flags
    Nov 25 17:03:28 email postfix/smtpd[26750]: input attribute value: 256
    Nov 25 17:03:28 email postfix/smtpd[26750]: private/rewrite socket: wanted attribute: (list terminator)
    Nov 25 17:03:28 email postfix/smtpd[26750]: input attribute name: (end)
    Nov 25 17:03:28 email postfix/smtpd[26750]: resolve_clnt: `eduardo@sonsun.com.br' -> transp=`local' host=`sonsun.com.br' rcpt=`eduardo@sonsun.com.br' flags= class=local
    Nov 25 17:03:28 email postfix/smtpd[26750]: ctable_locate: install entry key eduardo@sonsun.com.br
    Nov 25 17:03:28 email postfix/smtpd[26750]: extract_addr: result: eduardo@sonsun.com.br
    Nov 25 17:03:28 email postfix/smtpd[26750]: fsspace: .: block size 4096, blocks free 3251034
    Nov 25 17:03:28 email postfix/smtpd[26750]: smtpd_check_size: blocks 4096 avail 3251034 min_free 0 msg_size_limit 10240000
    Nov 25 17:03:28 email postfix/smtpd[26750]: > unknown[10.0.0.143]: 250 Ok
    Nov 25 17:03:28 email postfix/smtpd[26750]: watchdog_pat: 0x808d918
    Nov 25 17:03:28 email postfix/smtpd[26750]: < unknown[10.0.0.143]: RCPT TO: <educpd@yahoo.com.br>
    Nov 25 17:03:28 email postfix/smtpd[26750]: extract_addr: input: <educpd@yahoo.com.br>
    Nov 25 17:03:28 email postfix/smtpd[26750]: smtpd_check_addr: addr=educpd@yahoo.com.br
    Nov 25 17:03:28 email postfix/smtpd[26750]: send attr request = rewrite
    Nov 25 17:03:28 email postfix/smtpd[26750]: send attr rule = canonicalize
    Nov 25 17:03:28 email postfix/smtpd[26750]: send attr address = educpd@yahoo.com.br
    Nov 25 17:03:28 email postfix/smtpd[26750]: private/rewrite socket: wanted attribute: address
    Nov 25 17:03:28 email postfix/smtpd[26750]: input attribute name: address
    Nov 25 17:03:28 email postfix/smtpd[26750]: input attribute value: educpd@yahoo.com.br
    Nov 25 17:03:28 email postfix/smtpd[26750]: private/rewrite socket: wanted attribute: (list terminator)
    Nov 25 17:03:28 email postfix/smtpd[26750]: input attribute name: (end)
    Nov 25 17:03:28 email postfix/smtpd[26750]: rewrite_clnt: canonicalize: educpd@yahoo.com.br -> educpd@yahoo.com.br
    Nov 25 17:03:28 email postfix/smtpd[26750]: send attr request = resolve
    Nov 25 17:03:28 email postfix/smtpd[26750]: send attr address = educpd@yahoo.com.br
    Nov 25 17:03:28 email postfix/smtpd[26750]: private/rewrite socket: wanted attribute: transport
    Nov 25 17:03:28 email postfix/smtpd[26750]: input attribute name: transport
    Nov 25 17:03:28 email postfix/smtpd[26750]: input attribute value: smtp
    Nov 25 17:03:28 email postfix/smtpd[26750]: private/rewrite socket: wanted attribute: nexthop
    Nov 25 17:03:28 email postfix/smtpd[26750]: input attribute name: nexthop
    Nov 25 17:03:28 email postfix/smtpd[26750]: input attribute value: yahoo.com.br
    Nov 25 17:03:28 email postfix/smtpd[26750]: private/rewrite socket: wanted attribute: recipient
    Nov 25 17:03:28 email postfix/smtpd[26750]: input attribute name: recipient
    Nov 25 17:03:28 email postfix/smtpd[26750]: input attribute value: educpd@yahoo.com.br
    Nov 25 17:03:28 email postfix/smtpd[26750]: private/rewrite socket: wanted attribute: flags
    Nov 25 17:03:28 email postfix/smtpd[26750]: input attribute name: flags
    Nov 25 17:03:28 email postfix/smtpd[26750]: input attribute value: 4096
    Nov 25 17:03:28 email postfix/smtpd[26750]: private/rewrite socket: wanted attribute: (list terminator)
    Nov 25 17:03:28 email postfix/smtpd[26750]: input attribute name: (end)
    Nov 25 17:03:28 email postfix/smtpd[26750]: resolve_clnt: `educpd@yahoo.com.br' -> transp=`smtp' host=`yahoo.com.br' rcpt=`educpd@yahoo.com.br' flags= class=default
    Nov 25 17:03:28 email postfix/smtpd[26750]: ctable_locate: install entry key educpd@yahoo.com.br
    Nov 25 17:03:28 email postfix/smtpd[26750]: extract_addr: result: educpd@yahoo.com.br
    Nov 25 17:03:28 email postfix/smtpd[26750]: >>> START Recipient address RESTRICTIONS <<<
    Nov 25 17:03:28 email postfix/smtpd[26750]: generic_checks: name=permit_sasl_authenticated
    Nov 25 17:03:28 email postfix/smtpd[26750]: generic_checks: name=permit_sasl_authenticated status=0
    Nov 25 17:03:28 email postfix/smtpd[26750]: generic_checks: name=permit_mynetworks
    Nov 25 17:03:28 email postfix/smtpd[26750]: permit_mynetworks: unknown 10.0.0.143
    Nov 25 17:03:28 email postfix/smtpd[26750]: match_hostname: unknown ~? 127.0.0.0/8
    Nov 25 17:03:28 email postfix/smtpd[26750]: match_hostaddr: 10.0.0.143 ~? 127.0.0.0/8
    Nov 25 17:03:28 email postfix/smtpd[26750]: match_hostname: unknown ~? 10.0.0.0/24
    Nov 25 17:03:28 email postfix/smtpd[26750]: match_hostaddr: 10.0.0.143 ~? 10.0.0.0/24
    Nov 25 17:03:28 email postfix/smtpd[26750]: generic_checks: name=permit_mynetworks status=1
    Nov 25 17:03:28 email postfix/smtpd[26750]: >>> CHECKING RECIPIENT MAPS <<<
    Nov 25 17:03:28 email postfix/smtpd[26750]: ctable_locate: leave existing entry key educpd@yahoo.com.br
    Nov 25 17:03:28 email postfix/smtpd[26750]: maps_find: recipient_canonical_maps: educpd@yahoo.com.br: not found
    Nov 25 17:03:28 email postfix/smtpd[26750]: match_string: yahoo.com.br ~? localhost
    Nov 25 17:03:28 email postfix/smtpd[26750]: match_string: yahoo.com.br ~? sonsun.com.br
    Nov 25 17:03:28 email postfix/smtpd[26750]: match_string: yahoo.com.br ~? mysql:/etc/postfix/mysql_transport_maps.cf(0,100)
    Nov 25 17:03:28 email postfix/smtpd[26750]: dict_mysql_lookup using sql query: select transport from domain where domain = 'yahoo.com.br'
    Nov 25 17:03:28 email postfix/smtpd[26750]: dict_mysql_get_active: found active connection to host localhost
    Nov 25 17:03:28 email postfix/smtpd[26750]: dict_mysql: successful query from host localhost
    Nov 25 17:03:28 email postfix/smtpd[26750]: dict_mysql_lookup: retrieved 0 rows
    Nov 25 17:03:28 email postfix/smtpd[26750]: dict_lookup: yahoo.com.br = (notfound)
    Nov 25 17:03:28 email postfix/smtpd[26750]: match_string: yahoo.com.br ~? email.sonsun.com.br
    Nov 25 17:03:28 email postfix/smtpd[26750]: match_string: yahoo.com.br ~? localhost.sonsun.com.br
    Nov 25 17:03:28 email postfix/smtpd[26750]: match_string: yahoo.com.br ~? www.sonsun.com.br
    Nov 25 17:03:28 email postfix/smtpd[26750]: match_list_match: yahoo.com.br: no match
    Nov 25 17:03:28 email postfix/smtpd[26750]: maps_find: recipient_canonical_maps: @yahoo.com.br: not found
    Nov 25 17:03:28 email postfix/smtpd[26750]: mail_addr_find: educpd@yahoo.com.br -> (not found)
    Nov 25 17:03:28 email postfix/smtpd[26750]: maps_find: canonical_maps: educpd@yahoo.com.br: not found
    Nov 25 17:03:28 email postfix/smtpd[26750]: match_string: yahoo.com.br ~? localhost
    Nov 25 17:03:28 email postfix/smtpd[26750]: match_string: yahoo.com.br ~? sonsun.com.br
    Nov 25 17:03:28 email postfix/smtpd[26750]: match_string: yahoo.com.br ~? mysql:/etc/postfix/mysql_transport_maps.cf(0,100)
    Nov 25 17:03:28 email postfix/smtpd[26750]: dict_mysql_lookup using sql query: select transport from domain where domain = 'yahoo.com.br'
    Nov 25 17:03:28 email postfix/smtpd[26750]: dict_mysql_get_active: found active connection to host localhost
    Nov 25 17:03:28 email postfix/smtpd[26750]: dict_mysql: successful query from host localhost
    Nov 25 17:03:28 email postfix/smtpd[26750]: dict_mysql_lookup: retrieved 0 rows
    Nov 25 17:03:28 email postfix/smtpd[26750]: dict_lookup: yahoo.com.br = (notfound)
    Nov 25 17:03:28 email postfix/smtpd[26750]: match_string: yahoo.com.br ~? email.sonsun.com.br
    Nov 25 17:03:28 email postfix/smtpd[26750]: match_string: yahoo.com.br ~? localhost.sonsun.com.br
    Nov 25 17:03:28 email postfix/smtpd[26750]: match_string: yahoo.com.br ~? www.sonsun.com.br
    Nov 25 17:03:28 email postfix/smtpd[26750]: match_list_match: yahoo.com.br: no match
    Nov 25 17:03:28 email postfix/smtpd[26750]: maps_find: canonical_maps: @yahoo.com.br: not found
    Nov 25 17:03:28 email postfix/smtpd[26750]: mail_addr_find: educpd@yahoo.com.br -> (not found)
    Nov 25 17:03:28 email postfix/smtpd[26750]: dict_mysql_lookup using sql query: select goto from alias where address = 'educpd@yahoo.com.br'
    Nov 25 17:03:28 email postfix/smtpd[26750]: dict_mysql_get_active: found active connection to host localhost
    Nov 25 17:03:28 email postfix/smtpd[26750]: dict_mysql: successful query from host localhost
    Nov 25 17:03:28 email postfix/smtpd[26750]: dict_mysql_lookup: retrieved 0 rows
    Nov 25 17:03:28 email postfix/smtpd[26750]: maps_find: virtual_alias_maps: educpd@yahoo.com.br: not found
    Nov 25 17:03:28 email postfix/smtpd[26750]: match_string: yahoo.com.br ~? localhost
    Nov 25 17:03:28 email postfix/smtpd[26750]: match_string: yahoo.com.br ~? sonsun.com.br
    Nov 25 17:03:28 email postfix/smtpd[26750]: match_string: yahoo.com.br ~? mysql:/etc/postfix/mysql_transport_maps.cf(0,100)
    Nov 25 17:03:28 email postfix/smtpd[26750]: dict_mysql_lookup using sql query: select transport from domain where domain = 'yahoo.com.br'
    Nov 25 17:03:28 email postfix/smtpd[26750]: dict_mysql_get_active: found active connection to host localhost
    Nov 25 17:03:28 email postfix/smtpd[26750]: dict_mysql: successful query from host localhost
    Nov 25 17:03:28 email postfix/smtpd[26750]: dict_mysql_lookup: retrieved 0 rows
    Nov 25 17:03:28 email postfix/smtpd[26750]: dict_lookup: yahoo.com.br = (notfound)
    Nov 25 17:03:28 email postfix/smtpd[26750]: match_string: yahoo.com.br ~? email.sonsun.com.br
    Nov 25 17:03:28 email postfix/smtpd[26750]: match_string: yahoo.com.br ~? localhost.sonsun.com.br
    Nov 25 17:03:28 email postfix/smtpd[26750]: match_string: yahoo.com.br ~? www.sonsun.com.br
    Nov 25 17:03:28 email postfix/smtpd[26750]: match_list_match: yahoo.com.br: no match
    Nov 25 17:03:28 email postfix/smtpd[26750]: dict_mysql_lookup using sql query: select goto from alias where address = '@yahoo.com.br'
    Nov 25 17:03:28 email postfix/smtpd[26750]: dict_mysql_get_active: found active connection to host localhost
    Nov 25 17:03:28 email postfix/smtpd[26750]: dict_mysql: successful query from host localhost
    Nov 25 17:03:28 email postfix/smtpd[26750]: dict_mysql_lookup: retrieved 0 rows
    Nov 25 17:03:28 email postfix/smtpd[26750]: maps_find: virtual_alias_maps: @yahoo.com.br: not found
    Nov 25 17:03:28 email postfix/smtpd[26750]: mail_addr_find: educpd@yahoo.com.br -> (not found)
    Nov 25 17:03:28 email postfix/smtpd[26750]: connect to subsystem public/cleanup
    Nov 25 17:03:28 email postfix/smtpd[26750]: public/cleanup socket: wanted attribute: queue_id
    Nov 25 17:03:28 email postfix/smtpd[26750]: input attribute name: queue_id
    Nov 25 17:03:28 email postfix/smtpd[26750]: input attribute value: 4095029EB11
    Nov 25 17:03:28 email postfix/smtpd[26750]: public/cleanup socket: wanted attribute: (list terminator)
    Nov 25 17:03:28 email postfix/smtpd[26750]: input attribute name: (end)
    Nov 25 17:03:28 email postfix/smtpd[26750]: send attr flags = 50
    Nov 25 17:03:28 email postfix/smtpd[26750]: 4095029EB11: client=unknown[10.0.0.143]
    Nov 25 17:03:28 email postfix/smtpd[26750]: > unknown[10.0.0.143]: 250 Ok
    Nov 25 17:03:28 email postfix/smtpd[26750]: watchdog_pat: 0x808d918
    Nov 25 17:03:28 email postfix/smtpd[26750]: < unknown[10.0.0.143]: DATA
    Nov 25 17:03:28 email postfix/smtpd[26750]: > unknown[10.0.0.143]: 354 End data with <CR><LF>.<CR><LF>
    Nov 25 17:03:28 email postfix/smtpd[26750]: public/cleanup socket: wanted attribute: status
    Nov 25 17:03:28 email postfix/cleanup[26754]: 4095029EB11: message-id=<020f01c4d329$c4a082f0$8f00000a@sonsun.com.br>
    Nov 25 17:03:28 email postfix/qmgr[26738]: 4095029EB11: from=<eduardo@sonsun.com.br>, size=1359, nrcpt=2 (queue active)
    Nov 25 17:03:28 email postfix/smtpd[26750]: input attribute name: status
    Nov 25 17:03:28 email postfix/smtpd[26750]: input attribute value: 0
    Nov 25 17:03:28 email postfix/smtpd[26750]: public/cleanup socket: wanted attribute: reason
    Nov 25 17:03:28 email postfix/smtpd[26750]: input attribute name: reason
    Nov 25 17:03:28 email postfix/smtpd[26750]: input attribute value: (end)
    Nov 25 17:03:28 email postfix/smtpd[26750]: public/cleanup socket: wanted attribute: (list terminator)
    Nov 25 17:03:28 email postfix/smtpd[26750]: input attribute name: (end)
    Nov 25 17:03:28 email postfix/smtpd[26750]: > unknown[10.0.0.143]: 250 Ok: queued as 4095029EB11
    Nov 25 17:03:28 email postfix/smtpd[26750]: watchdog_pat: 0x808d918
    Nov 25 17:03:28 email postfix/smtpd[26750]: < unknown[10.0.0.143]: QUIT
    Nov 25 17:03:28 email postfix/smtpd[26750]: > unknown[10.0.0.143]: 221 Bye
    Nov 25 17:03:28 email postfix/smtpd[26750]: disconnect from unknown[10.0.0.143]
    Nov 25 17:03:28 email postfix/local[26758]: 4095029EB11: to=<backup@sonsun.com.br>, relay=local, delay=0, status=sent (delivered to command: IFS=' ';exec /usr/bin/procmail USER=backup)
    Nov 25 17:03:29 email pop3d: Connection, ip=[::ffff:10.0.0.122]
    Nov 25 17:03:29 email pop3d: LOGIN, user=reginab, ip=[::ffff:10.0.0.122]
    Nov 25 17:03:29 email pop3d: LOGOUT, user=reginab, ip=[::ffff:10.0.0.122], top=0, retr=0, time=0
    Nov 25 17:03:29 email postfix/smtp[26745]: 4095029EB11: host mx2.mail.yahoo.com[67.28.114.35] said: 421 mta137.mail.dcn.yahoo.com Resources temporarily unavailable. Please try again later [#4.16.1]. (in reply to end of DATA command)
    Nov 25 17:03:30 email pop3d: Connection, ip=[::ffff:10.0.5.42]
    Nov 25 17:03:31 email postfix/smtp[26745]: 4095029EB11: to=<educpd@yahoo.com.br>, relay=mx1.mail.yahoo.com[67.28.113.10], delay=3, status=sent (250 ok dirdel)
    Nov 25 17:03:31 email postfix/qmgr[26738]: 4095029EB11: removed



  3. #18
    karfax
    Entre em contato comigo em PVT... Vai ser mais fácil de resolver.

    Tem algumas coisas no log que realmente não estão batendo.


    Sds

    rsalles arroba rsnetservices.com.br :arrow:

  4. #19
    karfax
    O dominio em questao é son***?
    Se for, teu mx é o terraempresas, naõ teu servidor smtp.

    Verifique isso.

    Sds,



  5. #20
    Educpd
    Cara,

    Meu dominio é esse mesmo, e realmente esta hospedado no Terra.
    Na verdade estou querendo tirar e hospedar tudo internamente ,por isso comecei com os emails,meus email continuam no terra ,só que eu baixo todas as mensagens do Terra pelo Fetchmail e quem entrega para o usuario é esse meu servidor Postfix com isso eu ja melhorei a comunicação interna entre os funcionarios !!! Pois agora quando eles enviam um email entre si não saem mais para internet, melhorando o desempenho e economizando banda.
    Agora vem o problema o envio externo eu estou enviando por Esse servidor Postfix !!!! Ele é meu servidor smtp e não terra só que quando alguem de fora envia vai para o Terra.
    No futuro esse servidor será meu MX,só que quero resolver esse tipo de problema antes e deixar ele redondinho para hospedar tudo !!!

    Será que tem algum problema por isso !!!

    Obs: Não enviei em PVT ,porque acho que esta com algum problema no site , pois não consegui !!!!!

    No aguardo;;;

    Edu






Tópicos Similares

  1. novo problema - Postfix MySQL SASL
    Por nilsonjr no fórum Servidores de Rede
    Respostas: 2
    Último Post: 26-07-2006, 09:13
  2. relay no postfix com sasl
    Por rodriguesoline no fórum Servidores de Rede
    Respostas: 13
    Último Post: 26-04-2005, 13:39
  3. Postfix Mysql Sasl
    Por gerusso no fórum Servidores de Rede
    Respostas: 3
    Último Post: 27-12-2004, 08:51
  4. postfix+cyrus-sasl+cyrus-imapd+popa3d
    Por andfgon no fórum Servidores de Rede
    Respostas: 1
    Último Post: 20-09-2004, 18:34
  5. Postfix com Sasl
    Por mariborghi no fórum Servidores de Rede
    Respostas: 3
    Último Post: 30-06-2004, 21:15

Visite: BR-Linux ·  VivaOLinux ·  Dicas-L