Olá à todos. Bem estou tendo um problema com o fetchmail, e não sei mas o que fazer. Bem primeiro: Tenho dois servidores de e-mail aqui na empresa, um Slackware com Postfix e Courier, que será removido quando o fetchmail funcionar, e outro um Debian Sarge, com Postfix e Cyrus. Tenho o mesmo dominío nos dois servidores, até ai tudo bem o fetchmail teria que pegar as mensagens de um para outro normalmente me corrijam se eu estiver errado. tudo bem, quando mando uma mensagem de um dominí que não existe no Debian ela chega no Slackware e o fetchmail entrega ela no Debian normalmente, mas se eu manda um e-mail com o dominío que existe nos dois servidores, ele chega no Slackware e é removido e nada de chegar no Debian, mesmo eu colocando no fetchmailrc o "keep" já tentei de tudo. Será que alguém poderia me ajudar, preciso fazer isso funcionar, pois só depois disso posso trocar o Slackware pelo Debian e acabar com meu sofrimento. Bem vou colocar aqui os arquivos de configurações. o fetchamailrc:
set no bouncemail set daemon 123 poll 192.168.1.2 with protocol imap user "elopes" there with pass "xxxxx" is "[EMAIL PROTECTED]" here keep e alguns logs que mostra que as mensagens estão sendo removidas: endeavour:~# /etc/init.d/fetchmail restart ; tail -f /var/log/mail.log Restarting mail retrieval agent: fetchmail. Apr 18 08:56:42 endeavour cyrus/imapd[26346]: open: user spamquarantine opened INBOX Apr 18 08:56:42 endeavour cyrus/imapd[26345]: open: user elopes opened INBOX Apr 18 08:56:43 endeavour cyrus/imapd[26346]: open: user spamquarantine opened INBOX Apr 18 08:56:43 endeavour cyrus/imapd[26345]: open: user elopes opened INBOX Apr 18 08:56:44 endeavour cyrus/imapd[26345]: open: user elopes opened INBOX Apr 18 08:56:44 endeavour cyrus/imapd[26346]: open: user spamquarantine opened INBOX Apr 18 08:56:45 endeavour cyrus/imapd[26345]: open: user elopes opened INBOX Apr 18 08:56:45 endeavour cyrus/imapd[26346]: open: user spamquarantine opened INBOX Apr 18 08:56:51 endeavour fetchmail[29896]: encerrado com o sinal 15 Apr 18 08:56:52 endeavour fetchmail[29934]: iniciando fetchmail 6.2.5 como daemon Apr 18 08:56:52 endeavour fetchmail[29934]: 4 mensagens (3 seen) for elopes em 192.168.1.2. Apr 18 08:56:52 endeavour fetchmail[29934]: reading message [EMAIL PROTECTED]:4 of 4 (1758 cabe�alho octetos) Apr 18 08:56:52 endeavour postfix/smtpd[29898]: connection established Apr 18 08:56:52 endeavour postfix/smtpd[29898]: master_notify: status 0 Apr 18 08:56:52 endeavour postfix/smtpd[29898]: name_mask: resource Apr 18 08:56:52 endeavour postfix/smtpd[29898]: name_mask: software Apr 18 08:56:52 endeavour postfix/smtpd[29898]: name_mask: noanonymous Apr 18 08:56:52 endeavour postfix/smtpd[29898]: connect from localhost.localdomain[127.0.0.1] Apr 18 08:56:52 endeavour postfix/smtpd[29898]: match_list_match: localhost.localdomain: no match Apr 18 08:56:52 endeavour postfix/smtpd[29898]: match_list_match: 127.0.0.1: no match Apr 18 08:56:52 endeavour postfix/smtpd[29898]: match_list_match: localhost.localdomain: no match Apr 18 08:56:52 endeavour postfix/smtpd[29898]: match_list_match: 127.0.0.1: no match Apr 18 08:56:52 endeavour postfix/smtpd[29898]: > localhost.localdomain[127.0.0.1]: 220 endeavour.linuxnewmedia.com.br ESMTP Postfix (Debian/GNU) Apr 18 08:56:52 endeavour postfix/smtpd[29898]: watchdog_pat: 0x8093468 Apr 18 08:56:52 endeavour postfix/smtpd[29898]: < localhost.localdomain[127.0.0.1]: EHLO localhost Apr 18 08:56:52 endeavour postfix/smtpd[29898]: > localhost.localdomain[127.0.0.1]: 250-endeavour.linuxnewmedia.com.br Apr 18 08:56:52 endeavour postfix/smtpd[29898]: > localhost.localdomain[127.0.0.1]: 250-PIPELINING Apr 18 08:56:52 endeavour postfix/smtpd[29898]: > localhost.localdomain[127.0.0.1]: 250-SIZE 10240000 Apr 18 08:56:52 endeavour postfix/smtpd[29898]: > localhost.localdomain[127.0.0.1]: 250-VRFY Apr 18 08:56:52 endeavour postfix/smtpd[29898]: > localhost.localdomain[127.0.0.1]: 250-ETRN Apr 18 08:56:52 endeavour postfix/smtpd[29898]: > localhost.localdomain[127.0.0.1]: 250-STARTTLS Apr 18 08:56:52 endeavour postfix/smtpd[29898]: > localhost.localdomain[127.0.0.1]: 250-AUTH LOGIN PLAIN DIGEST-MD5 CRAM-MD5 Apr 18 08:56:52 endeavour postfix/smtpd[29898]: > localhost.localdomain[127.0.0.1]: 250-AUTH=LOGIN PLAIN DIGEST-MD5 CRAM-MD5 Apr 18 08:56:52 endeavour postfix/smtpd[29898]: match_list_match: localhost.localdomain: no match Apr 18 08:56:52 endeavour postfix/smtpd[29898]: match_list_match: 127.0.0.1: no match Apr 18 08:56:52 endeavour postfix/smtpd[29898]: > localhost.localdomain[127.0.0.1]: 250 8BITMIME Apr 18 08:56:52 endeavour postfix/smtpd[29898]: watchdog_pat: 0x8093468 Apr 18 08:56:52 endeavour postfix/smtpd[29898]: < localhost.localdomain[127.0.0.1]: MAIL FROM:<[EMAIL PROTECTED]> BODY=8BITMIME SIZE=1770 Apr 18 08:56:52 endeavour postfix/smtpd[29898]: extract_addr: input: <[EMAIL PROTECTED]> Apr 18 08:56:52 endeavour postfix/smtpd[29898]: smtpd_check_addr: [EMAIL PROTECTED] Apr 18 08:56:52 endeavour postfix/smtpd[29898]: ctable_locate: move existing entry key [EMAIL PROTECTED] Apr 18 08:56:52 endeavour postfix/smtpd[29898]: extract_addr: result: [EMAIL PROTECTED] Apr 18 08:56:52 endeavour postfix/smtpd[29898]: fsspace: .: block size 4096, blocks free 1834204 Apr 18 08:56:52 endeavour postfix/smtpd[29898]: smtpd_check_size: blocks 4096 avail 1834204 min_free 0 msg_size_limit 10240000 Apr 18 08:56:52 endeavour postfix/smtpd[29898]: > localhost.localdomain[127.0.0.1]: 250 Ok Apr 18 08:56:52 endeavour postfix/smtpd[29898]: watchdog_pat: 0x8093468 Apr 18 08:56:52 endeavour postfix/smtpd[29898]: < localhost.localdomain[127.0.0.1]: RCPT TO:<[EMAIL PROTECTED]> Apr 18 08:56:52 endeavour postfix/smtpd[29898]: extract_addr: input: <[EMAIL PROTECTED]> Apr 18 08:56:52 endeavour postfix/smtpd[29898]: smtpd_check_addr: [EMAIL PROTECTED] Apr 18 08:56:52 endeavour postfix/smtpd[29898]: ctable_locate: move existing entry key [EMAIL PROTECTED] Apr 18 08:56:52 endeavour postfix/smtpd[29898]: extract_addr: result: [EMAIL PROTECTED] Apr 18 08:56:52 endeavour postfix/smtpd[29898]: >>> START Sender address RESTRICTIONS <<< Apr 18 08:56:52 endeavour postfix/smtpd[29898]: generic_checks: name=reject_sender_login_mismatch Apr 18 08:56:52 endeavour postfix/smtpd[29898]: >>> START Sender address RESTRICTIONS <<< Apr 18 08:56:52 endeavour postfix/smtpd[29898]: generic_checks: name=reject_authenticated_sender_login_mismatch Apr 18 08:56:52 endeavour postfix/smtpd[29898]: generic_checks: name=reject_authenticated_sender_login_mismatch status=0 Apr 18 08:56:52 endeavour postfix/smtpd[29898]: generic_checks: name=reject_unauthenticated_sender_login_mismatch Apr 18 08:56:52 endeavour postfix/smtpd[29898]: ctable_locate: move existing entry key [EMAIL PROTECTED] Apr 18 08:56:52 endeavour postfix/smtpd[29898]: dict_ldap_lookup: In dict_ldap_lookup Apr 18 08:56:52 endeavour postfix/smtpd[29898]: dict_ldap_lookup: Using existing connection for LDAP source vlocal Apr 18 08:56:52 endeavour postfix/smtpd[29898]: dict_ldap_lookup: Searching with filter (&(objectClass=gosaMailAccount)(gosaMailDeliveryMode=[*L*])(|([EMAIL PROTECTED])([EMAIL PROTECTED]))) Apr 18 08:56:52 endeavour postfix/smtpd[29898]: dict_ldap_get_values[1]: Search found 0 match(es) Apr 18 08:56:52 endeavour postfix/smtpd[29898]: dict_ldap_get_values[1]: Leaving dict_ldap_get_values Apr 18 08:56:52 endeavour postfix/smtpd[29898]: dict_ldap_lookup: Search returned nothing Apr 18 08:56:52 endeavour postfix/smtpd[29898]: maps_find: smtpd_sender_login_maps: [EMAIL PROTECTED]: not found Apr 18 08:56:52 endeavour postfix/smtpd[29898]: match_string: gmail.com ~? linuxnewmedia.com.br Apr 18 08:56:52 endeavour postfix/smtpd[29898]: match_string: gmail.com ~? endeavour.linuxnewmedia.com.br Apr 18 08:56:52 endeavour postfix/smtpd[29898]: match_string: gmail.com ~? localhost Apr 18 08:56:52 endeavour postfix/smtpd[29898]: match_string: gmail.com ~? localhost.localdomain Apr 18 08:56:52 endeavour postfix/smtpd[29898]: match_list_match: gmail.com: no match Apr 18 08:56:52 endeavour postfix/smtpd[29898]: dict_ldap_lookup: In dict_ldap_lookup Apr 18 08:56:52 endeavour postfix/smtpd[29898]: dict_ldap_lookup: Using existing connection for LDAP source vlocal Apr 18 08:56:52 endeavour postfix/smtpd[29898]: dict_ldap_lookup: Searching with filter (&(objectClass=gosaMailAccount)(gosaMailDeliveryMode=[*L*])(|([EMAIL PROTECTED])([EMAIL PROTECTED]))) Apr 18 08:56:52 endeavour postfix/smtpd[29898]: dict_ldap_get_values[1]: Search found 0 match(es) Apr 18 08:56:52 endeavour postfix/smtpd[29898]: dict_ldap_get_values[1]: Leaving dict_ldap_get_values Apr 18 08:56:52 endeavour postfix/smtpd[29898]: dict_ldap_lookup: Search returned nothing Apr 18 08:56:52 endeavour postfix/smtpd[29898]: maps_find: smtpd_sender_login_maps: @gmail.com: not found Apr 18 08:56:52 endeavour postfix/smtpd[29898]: mail_addr_find: [EMAIL PROTECTED] -> (not found) Apr 18 08:56:52 endeavour postfix/smtpd[29898]: generic_checks: name=reject_unauthenticated_sender_login_mismatch status=0 Apr 18 08:56:52 endeavour postfix/smtpd[29898]: >>> END Sender address RESTRICTIONS <<< Apr 18 08:56:52 endeavour postfix/smtpd[29898]: generic_checks: name=reject_sender_login_mismatch status=0 Apr 18 08:56:52 endeavour postfix/smtpd[29898]: generic_checks: name=reject_rbl_client Apr 18 08:56:52 endeavour postfix/smtpd[29898]: reject_rbl: Client host 127.0.0.1 Apr 18 08:56:52 endeavour postfix/smtpd[29898]: ctable_locate: move existing entry key 1.0.0.127.sbl.spamhaus.org Apr 18 08:56:52 endeavour postfix/smtpd[29898]: generic_checks: name=reject_rbl_client status=0 Apr 18 08:56:52 endeavour postfix/smtpd[29898]: generic_checks: name=reject_rbl_client Apr 18 08:56:52 endeavour postfix/smtpd[29898]: reject_rbl: Client host 127.0.0.1 Apr 18 08:56:52 endeavour postfix/smtpd[29898]: ctable_locate: move existing entry key 1.0.0.127.relays.ordb.org Apr 18 08:56:52 endeavour postfix/smtpd[29898]: generic_checks: name=reject_rbl_client status=0 Apr 18 08:56:52 endeavour postfix/smtpd[29898]: generic_checks: name=permit Apr 18 08:56:52 endeavour postfix/smtpd[29898]: generic_checks: name=permit status=1 Apr 18 08:56:52 endeavour postfix/smtpd[29898]: >>> START Recipient address RESTRICTIONS <<< Apr 18 08:56:52 endeavour postfix/smtpd[29898]: generic_checks: name=permit_mynetworks Apr 18 08:56:52 endeavour postfix/smtpd[29898]: permit_mynetworks: localhost.localdomain 127.0.0.1 Apr 18 08:56:52 endeavour postfix/smtpd[29898]: match_hostname: localhost.localdomain ~? 127.0.0.0/8 Apr 18 08:56:52 endeavour postfix/smtpd[29898]: match_hostaddr: 127.0.0.1 ~? 127.0.0.0/8 Apr 18 08:56:52 endeavour postfix/smtpd[29898]: generic_checks: name=permit_mynetworks status=1 Apr 18 08:56:52 endeavour postfix/smtpd[29898]: >>> CHECKING RECIPIENT MAPS <<< Apr 18 08:56:52 endeavour postfix/smtpd[29898]: ctable_locate: move existing entry key [EMAIL PROTECTED] Apr 18 08:56:52 endeavour postfix/smtpd[29898]: maps_find: recipient_canonical_maps: [EMAIL PROTECTED]: not found Apr 18 08:56:52 endeavour postfix/smtpd[29898]: maps_find: recipient_canonical_maps: elopes: not found Apr 18 08:56:52 endeavour postfix/smtpd[29898]: maps_find: recipient_canonical_maps: @linuxnewmedia.com.br: not found Apr 18 08:56:52 endeavour postfix/smtpd[29898]: mail_addr_find: [EMAIL PROTECTED] -> (not found) Apr 18 08:56:52 endeavour postfix/smtpd[29898]: maps_find: canonical_maps: [EMAIL PROTECTED]: not found Apr 18 08:56:52 endeavour postfix/smtpd[29898]: maps_find: canonical_maps: elopes: not found Apr 18 08:56:52 endeavour postfix/smtpd[29898]: maps_find: canonical_maps: @linuxnewmedia.com.br: not found Apr 18 08:56:52 endeavour postfix/smtpd[29898]: mail_addr_find: [EMAIL PROTECTED] -> (not found) Apr 18 08:56:52 endeavour postfix/smtpd[29898]: dict_ldap_lookup: In dict_ldap_lookup Apr 18 08:56:52 endeavour postfix/smtpd[29898]: dict_ldap_lookup: Using existing connection for LDAP source vlocal Apr 18 08:56:52 endeavour postfix/smtpd[29898]: dict_ldap_lookup: Searching with filter (&(objectClass=gosaMailAccount)(gosaMailDeliveryMode=[*L*])(|([EMAIL PROTECTED])([EMAIL PROTECTED]))) Apr 18 08:56:52 endeavour postfix/smtpd[29898]: dict_ldap_get_values[1]: Search found 1 match(es) Apr 18 08:56:52 endeavour postfix/smtpd[29898]: dict_ldap_get_values[1]: search returned 1 value(s) for requested result attribute uid Apr 18 08:56:52 endeavour postfix/smtpd[29898]: dict_ldap_get_values[1]: Leaving dict_ldap_get_values Apr 18 08:56:52 endeavour postfix/smtpd[29898]: dict_ldap_lookup: Search returned elopes Apr 18 08:56:52 endeavour postfix/smtpd[29898]: maps_find: virtual_alias_maps: ldap:vlocal(0,100): [EMAIL PROTECTED] = elopes Apr 18 08:56:52 endeavour postfix/smtpd[29898]: mail_addr_find: [EMAIL PROTECTED] -> elopes Apr 18 08:56:52 endeavour postfix/smtpd[29898]: connect to subsystem public/cleanup Apr 18 08:56:52 endeavour postfix/smtpd[29898]: public/cleanup socket: wanted attribute: queue_id Apr 18 08:56:52 endeavour postfix/smtpd[29898]: input attribute name: queue_id Apr 18 08:56:52 endeavour postfix/smtpd[29898]: input attribute value: 31BB51038A Apr 18 08:56:52 endeavour postfix/smtpd[29898]: public/cleanup socket: wanted attribute: (list terminator) Apr 18 08:56:52 endeavour postfix/smtpd[29898]: input attribute name: (end) Apr 18 08:56:52 endeavour postfix/smtpd[29898]: send attr flags = 50 Apr 18 08:56:52 endeavour postfix/smtpd[29898]: 31BB51038A: client=localhost.localdomain[127.0.0.1] Apr 18 08:56:52 endeavour postfix/smtpd[29898]: > localhost.localdomain[127.0.0.1]: 250 Ok Apr 18 08:56:52 endeavour postfix/smtpd[29898]: watchdog_pat: 0x8093468 Apr 18 08:56:52 endeavour postfix/smtpd[29898]: < localhost.localdomain[127.0.0.1]: DATA Apr 18 08:56:52 endeavour postfix/smtpd[29898]: > localhost.localdomain[127.0.0.1]: 354 End data with <CR><LF>.<CR><LF> Apr 18 08:56:52 endeavour fetchmail[29934]: (12 octetos no corpo da mensagem) Apr 18 08:56:52 endeavour cyrus/imapd[26345]: open: user elopes opened INBOX Apr 18 08:56:52 endeavour cyrus/imapd[26346]: open: user spamquarantine opened INBOX Apr 18 08:56:52 endeavour postfix/smtpd[29898]: public/cleanup socket: wanted attribute: status Apr 18 08:56:52 endeavour postfix/cleanup[29901]: 31BB51038A: message-id=<[EMAIL PROTECTED]> Apr 18 08:56:52 endeavour postfix/smtpd[29898]: input attribute name: status Apr 18 08:56:52 endeavour postfix/smtpd[29898]: input attribute value: 0 Apr 18 08:56:52 endeavour postfix/smtpd[29898]: public/cleanup socket: wanted attribute: reason Apr 18 08:56:52 endeavour postfix/smtpd[29898]: input attribute name: reason Apr 18 08:56:52 endeavour postfix/smtpd[29898]: input attribute value: (end) Apr 18 08:56:52 endeavour postfix/smtpd[29898]: public/cleanup socket: wanted attribute: (list terminator) Apr 18 08:56:52 endeavour postfix/smtpd[29898]: input attribute name: (end) Apr 18 08:56:52 endeavour postfix/smtpd[29898]: > localhost.localdomain[127.0.0.1]: 250 Ok: queued as 31BB51038A Apr 18 08:56:52 endeavour postfix/smtpd[29898]: watchdog_pat: 0x8093468 Apr 18 08:56:52 endeavour fetchmail[29934]: eliminada Apr 18 08:56:52 endeavour postfix/smtpd[29898]: < localhost.localdomain[127.0.0.1]: QUIT Apr 18 08:56:52 endeavour postfix/smtpd[29898]: > localhost.localdomain[127.0.0.1]: 221 Bye Apr 18 08:56:52 endeavour fetchmail[29934]: sleeping at Ter 18 Abr 2006 08:56:52 BRT Apr 18 08:56:52 endeavour postfix/smtpd[29898]: disconnect from localhost.localdomain[127.0.0.1] Apr 18 08:56:52 endeavour postfix/smtpd[29898]: master_notify: status 1 Apr 18 08:56:52 endeavour postfix/smtpd[29898]: connection closed Apr 18 08:56:52 endeavour postfix/smtpd[29898]: watchdog_stop: 0x8093468 Apr 18 08:56:52 endeavour postfix/smtpd[29898]: watchdog_start: 0x8093468 Apr 18 08:56:52 endeavour postfix/qmgr[5779]: 31BB51038A: from=<[EMAIL PROTECTED]>, size=2116, nrcpt=1 (queue active) Apr 18 08:56:54 endeavour postfix/smtpd[29905]: connect from localhost.localdomain[127.0.0.1] Apr 18 08:56:54 endeavour postfix/smtpd[29905]: 9439E1057B: client=localhost.localdomain[127.0.0.1] Apr 18 08:56:54 endeavour postfix/cleanup[29901]: 9439E1057B: message-id=<[EMAIL PROTECTED]> Apr 18 08:56:54 endeavour postfix/qmgr[5779]: 9439E1057B: from=<[EMAIL PROTECTED]>, size=2499, nrcpt=1 (queue active) Apr 18 08:56:54 endeavour postfix/smtpd[29905]: disconnect from localhost.localdomain[127.0.0.1] Apr 18 08:56:54 endeavour amavis[28441]: (28441-01-2) Passed, <[EMAIL PROTECTED]> -> <[EMAIL PROTECTED]>, Message-ID: <[EMAIL PROTECTED]>, Hits: -0.489 Apr 18 08:56:54 endeavour postfix/lmtp[29902]: 31BB51038A: to=<[EMAIL PROTECTED]>, relay=127.0.0.1[127.0.0.1], delay=2, status=sent (250 2.6.0 Ok, id=28441-01-2, from MTA: 250 Ok: queued as 9439E1057B) Apr 18 08:56:54 endeavour postfix/qmgr[5779]: 31BB51038A: removed Apr 18 08:56:54 endeavour postfix/local[29906]: 9439E1057B: to=<[EMAIL PROTECTED]>, relay=local, delay=0, status=bounced (mail forwarding loop for [EMAIL PROTECTED]) Apr 18 08:56:54 endeavour postfix/cleanup[29901]: A4B051038A: message-id=<[EMAIL PROTECTED]> Apr 18 08:56:54 endeavour postfix/qmgr[5779]: A4B051038A: from=<>, size=4349, nrcpt=1 (queue active) Apr 18 08:56:54 endeavour postfix/qmgr[5779]: 9439E1057B: removed Desculpe o e-mail gigante mas estou precisando mesmo de ajuda e espero que alguém possa me ajudar, eu agradeço muito. Obrigado Eduardo Lopes