HI,
also ich hab jetzt mal den Mailscanner gestoppt, postfix einzeln gestartet , mir erneut eine Email per Thunderbird geschickt. Es tritt genau das selbe Problem auf, Email kommt rein, bekommt eine ID . Wird auf mit dem cleanup weggeworfen. Im hold ordner liegen nach 5min 28 spam emails und ein paar die sind ok. Also daran liegt es wohl nun auch nicht. Was kann ich weiter debuggen?
Jemand eine idee?
Danke im vorraus! Matthias
Matthias Neder schrieb:
Hallo Liste,
ich brauch dringend Hilfe für folgendes Problem.
Ich schicke eine Email über dasWebinterface von Google, Strato, etc. an meinen Postfix. Die Mail wird angenommen und auf hold gesetzt -> Mailscanner hold sich die ->spamassassin -> clamsav -> delivered.. Alles super.
Jetzt schicke ich die Mail von Thunderbird aus, mit dem gleichen Account über Google. Mail kommt rein, wird auf hold gesetzt. -> ist weg?! Keine Mailscanner log eintrag, kein spamassassin, nix.
Es kommt nur ein:
May 12 11:41:45 dmz1virt2 postfix/smtpd[13922]: input attribute name: (end) May 12 11:41:45 dmz1virt2 postfix/smtpd[13922]: lost connection after DATA from mail-bw0-f163.google.com http://mail-bw0-f163.google.com[209.85.218.163] May 12 11:41:45 dmz1virt2 postfix/smtpd[13922]: vstream_fflush_some: fd 23 flush 1558 May 12 11:41:45 dmz1virt2 postfix/smtpd[13922]: disconnect from mail-bw0-f163.google.com http://mail-bw0-f163.google.com[209.85.218.163] May 12 11:41:45 dmz1virt2 postfix/cleanup[14119]: 000AE18B8E: hold: header Received: from mail-bw0-f163.google.com http://mail-bw0-f163.google.com (mail-bw0-f163.google.com http://mail-bw0-f163.google.com [209.85.218.163])??by mail.gatc-biotech.com http://mail.gatc-biotech.com (Postfix) with ESMTP id 000AE18B8E??for <m.neder@gatc-biotech.com mailto:m.neder@gatc-biotech.com>; Tue, 12 May 2009 11:41 from mail-bw0-f163.google.com http://mail-bw0-f163.google.com[209.85.218.163]; from=<matthias.neder@gmail.com mailto:matthias.neder@gmail.com> to=<m.neder@gatc-biotech.com mailto:m.neder@gatc-biotech.com> proto=ESMTP helo=<mail-bw0-f163.google.com http://mail-bw0-f163.google.com>
Also such ich nach der ID: # cat /var/log/maillog|grep 000AE18B8E May 12 11:41:45 dmz1virt2 postfix/smtpd[13922]: input attribute value: 000AE18B8E May 12 11:41:45 dmz1virt2 postfix/smtpd[13922]: 000AE18B8E: client=mail-bw0-f163.google.com http://mail-bw0-f163.google.com[209.85.218.163] May 12 11:41:45 dmz1virt2 postfix/cleanup[14119]: 000AE18B8E: hold: header Received: from mail-bw0-f163.google.com http://mail-bw0-f163.google.com (mail-bw0-f163.google.com http://mail-bw0-f163.google.com [209.85.218.163])??by mail.gatc-biotech.com http://mail.gatc-biotech.com (Postfix) with ESMTP id 000AE18B8E??for <m.neder@gatc-biotech.com mailto:m.neder@gatc-biotech.com>; Tue, 12 May 2009 11:41 from mail-bw0-f163.google.com http://mail-bw0-f163.google.com[209.85.218.163]; from=<matthias.neder@gmail.com mailto:matthias.neder@gmail.com> to=<m.neder@gatc-biotech.com mailto:m.neder@gatc-biotech.com> proto=ESMTP helo=<mail-bw0-f163.google.com http://mail-bw0-f163.google.com>
Es gibt nichts mehr?! Was ist an einer Webmail anders als an einer Thunderbird mail?
Mein Aufbau: Postfix & Mailscanner mit Spamassassin und clamsav
Alle Email Empfänger werden über die /etc/aliases auf einen user umgebogen, der interne Email Server holt sich die ab und sortiert sie aus. Das alles funktioniert wunderbar, bis auf diese Webmail / Thunderbird Geschichte, und nein es liegt nicht am Thunderbird, es funktioniert auch nicht mit Outlook Express, Mac Email proggie etc.
Konfigurationsfiles:
postconf -n
alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases broken_sasl_auth_clients = yes command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix debug_peer_level = 5 debug_peer_list = rzone.de http://rzone.de,google.com http://google.com disable_vrfy_command = yes header_checks = regexp:/etc/postfix/header_checks home_mailbox = Maildir/ html_directory = no inet_interfaces = all invalid_hostname_reject_code = 554 mail_owner = postfix mail_spool_directory = /var/spool/mail mailbox_size_limit = 102400000 mailq_path = /usr/bin/mailq.postfix manpage_directory = /usr/share/man message_size_limit = 102400000 multi_recipient_bounce_reject_code = 554 mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain, gatc-biotech.se http://gatc-biotech.se, localhost.gatc-biotech.se http://localhost.gatc-biotech.se, .... 30 weitere domains mydomain = gatc-biotech.com http://gatc-biotech.com myhostname = mail.gatc-biotech.com http://mail.gatc-biotech.com mynetworks = 127.0.0.0/8 http://127.0.0.0/8, 192.168.30.0/24 http://192.168.30.0/24, 192.168.40.0/24 http://192.168.40.0/24, 192.168.0.64/32 http://192.168.0.64/32, 192.168.0.190/32 http://192.168.0.190/32, 192.168.0.191/32 http://192.168.0.191/32, 192.168.0.192/32 http://192.168.0.192/32, 192.168.0.193/32 http://192.168.0.193/32, 195.37.234.210/32 http://195.37.234.210/32 myorigin = $mydomain newaliases_path = /usr/bin/newaliases.postfix non_fqdn_reject_code = 554 queue_directory = /var/spool/postfix readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES relay_domains_reject_code = 554 sample_directory = /usr/share/doc/postfix-2.3.3/samples sendmail_path = /usr/sbin/sendmail.postfix setgid_group = postdrop smtpd_client_restrictions = check_client_access hash:/etc/postfix/access smtpd_helo_required = yes smtpd_helo_restrictions = permit_mynetworks, reject_invalid_hostname, regexp:/etc/postfix/helo.regexp, permit smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination, reject_invalid_hostname, reject_unauth_pipelining, check_client_access hash:/etc/postfix/helo_client_exceptions, check_sender_access hash:/etc/postfix/sender_checks, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unknown_sender_domain, reject_unknown_recipient_domain, check_client_access hash:/etc/postfix/rbl_client_exceptions, reject_rbl_client cbl.abuseat.org http://cbl.abuseat.org, reject_rbl_client bl.spamcop.net http://bl.spamcop.net, reject_rbl_client dsn.rfc-ignorant.org http://dsn.rfc-ignorant.org, reject_rbl_client combined.rbl.msrbl.net http://combined.rbl.msrbl.net, reject_rbl_client multi.uribl.com http://multi.uribl.com, reject_rbl_client dul.dnsbl.sorbs.net http://dul.dnsbl.sorbs.net, reject_rbl_client sbl-xbl.spamhaus.org http://sbl-xbl.spamhaus.org, reject_rbl_client dnsbl.sorbs.net http://dnsbl.sorbs.net, reject_rbl_client ix.dnsbl.manitu.net http://ix.dnsbl.manitu.net, permit strict_rfc821_envelopes = no unknown_address_reject_code = 554 unknown_client_reject_code = 554 unknown_hostname_reject_code = 554 unknown_local_recipient_reject_code = 554 unknown_relay_recipient_reject_code = 554 unknown_virtual_alias_reject_code = 554 unknown_virtual_mailbox_reject_code = 554 unverified_recipient_reject_code = 554 unverified_sender_reject_code = 554
cat helo.regexp /^mail.gatc-biotech.com$/ 550 Don't use my own hostname /^195.37.234.221$/ 550 Don't use my own IP address /^[195.37.234.221]$/ 550 Don't use my own IP address /^[0-9.]+$/ 550 Your software is not RFC 2821 compliant /^[0-9]+(.[0-9]+){3}$/ 550 Your software is not RFC 2821 compliant
cat sender_checks #user@domain.com mailto:user@domain.com REJECT #user@int.domian.com mailto:user@int.domian.com OK sage.de http://sage.de OK cisco.com http://cisco.com OK gmail.com http://gmail.com OK google.com http://google.com OK googlemail.com http://googlemail.com OK web.de http://web.de OK rzone.de http://rzone.de OK
cat rbl_client_exceptions ## Some Random comment #www.xxx.yyy.zzz OK
#cisco entries cisco.com http://cisco.com OK *gmail.com http://gmail.com OK *googlemail.com http://googlemail.com OK *google.com http://google.com OK *rzone.de http://rzone.de OK 81.169.146.163 OK 81.169.146.161 OK