Egy utolsó(?) teszt

  • Beküldve: 2015. május 18, 21:36
  • Szerző: Bolemányi Attila

Mert a tesztelésnek soha nincs vége.

Egy újabb tesztlevél fejléce az alábbiakat tartalmazza (érdemes felfigyelni az X-Virus-Scanned sorra):

Return-Path: <bolemanyi.attila@comega7.local>
Delivered-To: wattacukor@comega7.local
Received: from localhost (localhost [127.0.0.1])
    by mailserver.comega7.local (Postfix) with ESMTP id BA412BFF27
    for <wattacukor@comega7.local>; Mon, 18 May 2015 21:37:02 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at mailserver.comega7.local
Received: from mailserver.comega7.local ([127.0.0.1])
    by localhost (mailserver.comega7.local [127.0.0.1]) (amavisd-new, port 10024)
    with ESMTP id KYaaIOpIbwGq for <wattacukor@comega7.local>;
    Mon, 18 May 2015 21:37:01 +0200 (CEST)
Received: from webmail.comega7.local (localhost [IPv6:::1])
    (Authenticated sender: bolemanyi.attila@comega7.local)
    by mailserver.comega7.local (Postfix) with ESMTPSA id 35415BFE15
    for <wattacukor@comega7.local>; Mon, 18 May 2015 21:37:01 +0200 (CEST)
MIME-Version: 1.0
Content-Type: multipart/alternative;
    boundary="=_85c53260ef7b736f209151df5f90ad47"
Date: Mon, 18 May 2015 21:37:01 +0200
From: =?UTF-8?Q?Bolem=C3=A1nyi_Attila?= <bolemanyi.attila@comega7.local>
To: Wattacukor <wattacukor@comega7.local>
Subject: =?UTF-8?Q?Pr=C3=B3balev=C3=A9l_=28sokadik=29?=
Organization: Comega 7 Bt
Reply-To: bolemanyi.attila@comega7.local
Mail-Reply-To: bolemanyi.attila@comega7.local
Return-Receipt-To: =?UTF-8?Q?Bolem=C3=A1nyi_Attila?=
    <bolemanyi.attila@comega7.local>
Disposition-Notification-To: =?UTF-8?Q?Bolem=C3=A1nyi_Attila?=
    <bolemanyi.attila@comega7.local>
Message-ID: <579040459d9b95c6e3064294477f41c2@comega7.local>
X-Sender: bolemanyi.attila@comega7.local
User-Agent: Roundcube Webmail/1.1.1

A syslogban pedig ez látható:

May 18 21:37:17 mailserver postfix/smtpd[3722]: connect from localhost[::1]
May 18 21:37:17 mailserver postfix/smtpd[3722]: 2B652BFE15: client=localhost[::1], sasl_method=LOGIN, sasl_username=wattacukor@comega7.local
May 18 21:37:17 mailserver postfix/cleanup[3727]: 2B652BFE15: message-id=<274d42662ccfa2694830164599c420e1@comega7.local>
May 18 21:37:17 mailserver postfix/qmgr[3687]: 2B652BFE15: from=<>, size=2037, nrcpt=1 (queue active)
May 18 21:37:17 mailserver postfix/smtpd[3722]: disconnect from localhost[::1]
May 18 21:37:17 mailserver dovecot: imap(wattacukor@comega7.local): Disconnected: Logged out in=476 out=2335
May 18 21:37:17 mailserver postfix/smtpd[3771]: connect from localhost[127.0.0.1]
May 18 21:37:17 mailserver postfix/smtpd[3771]: D57ECBFF27: client=localhost[127.0.0.1]
May 18 21:37:17 mailserver postfix/cleanup[3727]: D57ECBFF27: message-id=<274d42662ccfa2694830164599c420e1@comega7.local>
May 18 21:37:17 mailserver postfix/smtpd[3771]: disconnect from localhost[127.0.0.1]
May 18 21:37:17 mailserver postfix/qmgr[3687]: D57ECBFF27: from=<>, size=2539, nrcpt=1 (queue active)
May 18 21:37:17 mailserver amavis[1284]: (01284-02) Passed CLEAN {RelayedOutbound}, LOCAL [::1]:40146 <> -> <bolemanyi.attila@comega7.local>, Queue-ID: 2B652BFE15, Message-ID: <274d42662ccfa2694830164599c420e1@comega7.local>, mail_id: ArV95TwJz5cs, Hits: -0.2, size: 2037, queued_as: D57ECBFF27, 714 ms
May 18 21:37:17 mailserver postfix/smtp[3728]: 2B652BFE15: to=<bolemanyi.attila@comega7.local>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.73, delays=0.01/0/0/0.71, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as D57ECBFF27)
May 18 21:37:17 mailserver postfix/qmgr[3687]: 2B652BFE15: removed
May 18 21:37:17 mailserver dovecot: lda(bolemanyi.attila@comega7.local): sieve: msgid=<274d42662ccfa2694830164599c420e1@comega7.local>: stored mail into mailbox 'INBOX'
May 18 21:37:17 mailserver postfix/pipe[3743]: D57ECBFF27: to=<bolemanyi.attila@comega7.local>, relay=dovecot, delay=0.07, delays=0.02/0/0/0.05, dsn=2.0.0, status=sent (delivered via dovecot service)
May 18 21:37:17 mailserver postfix/qmgr[3687]: D57ECBFF27: removed

Az Amavis tisztának találta a levelet (Passed CLEAN). Ha pedig szeretnél látni egy kis balhét, küldd el az alábbi levelet az egyik teszt felhasználótól a másiknak. Meg fogsz lepődni ;-)

This is the GTUBE, the
	Generic
	Test for
	Unsolicited
	Bulk
	Email

If your spam filter supports it, the GTUBE provides a test by which you
can verify that the filter is installed correctly and is detecting incoming
spam. You can send yourself a test mail containing the following string of
characters (in upper case and with no white spaces and line breaks):

XJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL*C.34X

You should send this test mail from an account outside of your network.

A levelző nem is továbbítja a leveledet, hanem kapsz egy válaszlevelet, amelyben tájékoztat a rendszer, hogy ezt a szemetet ugyan nem továbbítja sehová.

A syslogban is támadt egy kis ribillió:

May 18 21:47:31 mailserver amavis[1285]: (01285-02) Blocked SPAM {BouncedOutbound,Quarantined}, LOCAL [::1]:40167 <wattacukor@comega7.local> -> <bolemanyi.attila@comega7.local>, quarantine: 5/spam-5kXu6aLa4mZ2.gz, Queue-ID: 41D28BFE15, Message-ID: <82aed3015e262f0722e7eefdb305d64f@comega7.local>, mail_id: 5kXu6aLa4mZ2, Hits: 1000.18, size: 2340, 765 ms
May 18 21:47:31 mailserver postfix/smtp[3853]: 41D28BFE15: to=<bolemanyi.attila@comega7.local>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.8, delays=0.02/0.01/0/0.76, dsn=2.5.0, status=sent(250 2.5.0 Ok, id=01285-02, BOUNCE)

Egy biztos: a vírus- és spamszűrő működik. És miután van egy jól működő levelezőszervered, itt az idő rendesen elolvasni valamennyi idevonatkozó dokumentációt. Az a néhány száz oldal csak nem vág földhöz, nem igaz?

:-)