[postfix-users] Amavis und Dkim

Helga Mayer helga.mayer at uni-hohenheim.de
Mi Jan 14 20:59:04 CET 2009


Quoting Uwe Driessen <driessen at fblan.de>:

> On Behalf Of Rechenzentrum der Uni Hohenheim
>>
>> Das Problem betrifft nur einen Absender und den auch nicht immer.
>> Nur wenn der Absender eine Mail an mehrere Empfaenger verschickt.
>>
>> Der Header sieht etwas seltsam aus:
>> Delivered-To: bad-header-quarantine
>> X-Envelope-From: <ABSENDER at zentrale.uni-hohenheim.de>
>> X-Envelope-To: <USER at gmx.net>
>> X-Quarantine-ID: <rMuUvSxdtQX8>
>> X-Amavis-Alert: BAD HEADER Header field occurs more than once: "To"  
>> occurs 62
>>          times
>>
>> Fuer jeden Empfaenger gibt es eine "To:" Zeile
>
> Mailclient überprüfen was setzt der User denn ein?
> Schickt der BCC oder CC an die anderen User oder generiert er über  
> ein skript das Mail?
>

> Userdaten nehmen und mit einem anderen Mailclient an mehrere User versenden.

telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
220 mailserv.rz.uni-hohenheim.de ESMTP
ehlo  mailserv.rz.uni-hohenheim.de
250-mailserv.rz.uni-hohenheim.de
250-PIPELINING
250-SIZE 51200000
250-ETRN
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
mail from: <ABSENDER at zentrale.uni-hohenheim.de>
250 2.1.0 Ok
rcpt to: <USER at uni-hohenheim.de>
250 2.1.5 Ok
rcpt to: <USER2 at t-online.de>
250 2.1.5 Ok
Data
354 End data with <CR><LF>.<CR><LF>
Subject: Test

Test, multiple recipients, using dkim
bitte nicht beachten.
.
250 2.0.0 Ok: queued as 8685A240022
quit
221 2.0.0 Bye
Connection closed by foreign host.

Ergebnis - Amavis:

Jan 14 20:44:00 smtp2 amavis[4804]: (04804-01) query_keys:  
USER at gmx.net, USER@, gmx.net, .gmx.net, .net, .
Jan 14 20:44:00 smtp2 amavis[4804]: (04804-01)  
lookup_hash(USER at gmx.net) matches keys: "."=>ARRAY(0x1d38550)
Jan 14 20:44:00 smtp2 amavis[4804]: (04804-01) lookup (score_sender),  
1 matches for "USER at gmx.net", results:  
"."=>[Amavis::Lookup::RE=ARRAY(0x1c5a330),HASH(0x1c5a210)]
Jan 14 20:44:08 smtp2 amavis[4804]: (04804-01) lookup (spam_tag_level)  
=> true,  "USER at gmx.net" matches, result="2",  
matching_key="(constant:2)"
Jan 14 20:44:09 smtp2 amavis[4804]: (04804-01) lookup  
(spam_tag2_level) => true,  "USER at gmx.net" matches, result="5",  
matching_key="(constant:5)"
Jan 14 20:44:10 smtp2 amavis[4804]: (04804-01) lookup  
(spam_tag3_level) => undef, "USER at gmx.net" does not match
Jan 14 20:44:11 smtp2 amavis[4804]: (04804-01) lookup  
(spam_kill_level) => true,  "USER at gmx.net" matches, result="5",  
matching_key="(constant:5)"
Jan 14 20:44:11 smtp2 amavis[4804]: (04804-01) query_keys:  
USER at gmx.net, USER@, gmx.net, .gmx.net, .net, .
Jan 14 20:44:12 smtp2 amavis[4804]: (04804-01)  
lookup_hash(USER at gmx.net), no matches
Jan 14 20:44:12 smtp2 amavis[4804]: (04804-01) lookup  
(bypass_spam_checks) => undef, "USER at gmx.net" does not match
Jan 14 20:44:13 smtp2 amavis[4804]: (04804-01) final_destiny  
(ccat=4,4) is PASS, recip USER at gmx.net
Jan 14 20:44:13 smtp2 amavis[4804]: (04804-01) final_destiny (ccat=4)  
is PASS, recip USER at gmx.net
Jan 14 20:44:14 smtp2 amavis[4804]: (04804-01) final_destiny (ccat=1)  
is PASS, recip USER at gmx.net
Jan 14 20:44:14 smtp2 amavis[4804]: (04804-01) final_destiny (ccat=0)  
is PASS, recip USER at gmx.net
Jan 14 20:44:15 smtp2 amavis[4804]: (04804-01) final_destiny PASS,  
recip USER at gmx.net
Jan 14 20:44:16 smtp2 amavis[4804]: (04804-01) lookup  
(bad_header_quarantine_to) => true,  "USER at gmx.net" matches,  
result="bad-header-quarantine",  
matching_key="(constant:bad-header-quarantine)"
Jan 14 20:44:17 smtp2 amavis[4804]: (04804-01) lookup  
(bad_header_admin) => undef, "USER at gmx.net" does not match
Jan 14 20:44:18 smtp2 amavis[4804]: (04804-01) header: X-Envelope-To:  
<USER at gmx.net>\n
Jan 14 20:44:19 smtp2 amavis[4804]: (04804-01) header: Received: from  
smtp1.rz.uni-hohenheim.de ([192.168.0.108])\n\tby localhost  
(smtp2.rz.uni-hohenheim.de [192.168.0.107]) (amavisd-new, port  
10028)\n\twith ESMTP id WBChTALd9BWR for <USER at gmx.net>;\n\tWed, 14  
Jan 2009 20:43:25 +0100 (CET)\n
Jan 14 20:44:24 smtp2 amavis[4804]: (04804-01) lookup (warnbadhrecip)  
=> undef, "USER at gmx.net" does not match
Jan 14 20:44:26 smtp2 amavis[4804]: (04804-01) lookup (spam_tag_level)  
=> true,  "USER at gmx.net" matches, result="2",  
matching_key="(constant:2)"
Jan 14 20:44:27 smtp2 amavis[4804]: (04804-01) lookup  
(spam_tag2_level) => true,  "USER at gmx.net" matches, result="5",  
matching_key="(constant:5)"
Jan 14 20:44:28 smtp2 amavis[4804]: (04804-01) headers CLUSTERING: NEW  
CLUSTER <USER at gmx.net>: score=-1.904, tag=0, tag2=0, local=0, bl=, s=,  
mangle=
Jan 14 20:44:29 smtp2 amavis[4804]: (04804-01) header: Received: from  
smtp1.rz.uni-hohenheim.de ([192.168.0.108])\n\tby localhost  
(smtp2.rz.uni-hohenheim.de [192.168.0.107]) (amavisd-new, port  
10028)\n\twith ESMTP id WBChTALd9BWR for <USER at gmx.net>;\n\tWed, 14  
Jan 2009 20:43:25 +0100 (CET)\n
Jan 14 20:44:30 smtp2 amavis[4804]: (04804-01) (about to connect to  
[192.168.0.108]:10029) FWD via SMTP:  
<ABSENDER at zentrale.uni-hohenheim.de> -> <USER at gmx.net>
Jan 14 20:44:39 smtp2 amavis[4804]: (04804-01) smtp cmd> RCPT  
TO:<USER at gmx.net> ORCPT=rfc822;USER at uni-hohenheim.de
Jan 14 20:44:41 smtp2 amavis[4804]: (04804-01) rw_loop send 131> MAIL  
FROM:<ABSENDER at zentrale.uni-hohenheim.de> BODY=7BIT\r\nRCPT  
TO:<USER at gmx.net> ORCPT=rfc822;USER at uni-hohenheim.de\r\nDATA\r\n
Jan 14 20:44:44 smtp2 amavis[4804]: (04804-01) smtp resp to RCPT (pip)  
(<USER at gmx.net>): 250 2.1.5 Ok, id=04804-01, from  
MTA([192.168.0.108]:10029): 250 2.1.5 Ok
Jan 14 20:44:50 smtp2 amavis[4804]: (04804-01) smtp resp to data-dot  
(<USER at gmx.net>): 250 2.0.0 Ok: queued as 3A1EF11DA66
Jan 14 20:44:52 smtp2 amavis[4804]: (04804-01) FWD via SMTP:  
<ABSENDER at zentrale.uni-hohenheim.de> -> <USER at gmx.net>,BODY=7BIT 250  
2.6.0 Ok, id=04804-01, from MTA([192.168.0.108]:10029): 250 2.0.0 Ok:  
queued as 3A1EF11DA66
Jan 14 20:44:55 smtp2 amavis[4804]: (04804-01) dsn: from MTA 250  
NonBlocking:BadHdrSpace <ABSENDER at zentrale.uni-hohenheim.de> ->  
<USER at gmx.net>: on_succ=0, on_dly=1, on_fail=1, never=0,  
warn_sender=0, DSN_passed_on=1, mta_resp: "250 2.0.0 Ok: queued as  
3A1EF11DA66"
Jan 14 20:44:55 smtp2 amavis[4804]: (04804-01) DSN: SUCC from MTA 250  
NonBlocking:BadHdrSpace, no DSN requested:  
<ABSENDER at zentrale.uni-hohenheim.de> -> <USER at gmx.net>

Smtp Server:

Jan 14 20:44:48 smtp1 postfix/smtp[23048]: 3A1EF11DA66:  
to=<USER at gmx.net>, relay=mx0.gmx.de[213.165.64.100]:25, delay=7.9,  
delays=7.7/0/0.04/0.14, dsn=2.6.0, status=sent (250 2.6.0 Message  
accepted {mx011})
Jan 14 20:45:06 smtp1 postfix/smtp[26810]: 78AEB11D4FA:  
to=<USER at gmx.net>, relay=192.168.0.107[192.168.0.107]:10028,  
delay=111, delays=0.06/0.01/6.8/104, dsn=2.0.0, status=sent (250 2.0.0  
Ok: queued as 3A1EF11DA66)


Viele Gruesse
Helga Mayer

>
> Mit freundlichen Grüßen
>
> Drießen
>
> --
> Software & Computer
> Uwe Drießen
> Lembergstraße 33
> 67824 Feilbingert
> Tel.: +49 06708 / 660045   Fax: +49 06708 / 661397
>
>
> _______________________________________________
> postfix-users mailing list
> postfix-users at de.postfix.org
> http://de.postfix.org/cgi-bin/mailman/listinfo/postfix-users
>



***************************************************************************
*  Universitaet Hohenheim       *  Helga Mayer                            *
*  Rechenzentrum                *  Tel. : 0711 -459-22838                *
*                               *  Fax  : 0711 -459-23827                 *
*                               *  E-Mail-Adresse :                       *
*  70593 Stuttgart              *  Helga.Mayer at uni-hohenheim.de           *
*                                                                         *
***************************************************************************

A: Because we read from top to bottom, left to right.
Q: Why should i start my reply below the quoted text?





More information about the postfix-users mailing list