Hi Colin, thanks for your feedback. Strange things are happening... i set a custom domain for *EmailBlockReportDomain* ie. @antispam.corp and added that domain to *localDomains* as i wanted to use the same for email interface.
then: - if i send a mail through email interface to [email protected] (my *EmailWhitelistAdd*) the address gets whitelisted (i receive a report saying "thanks bla bla. address some@addr added to whitelist") - if i send a mail through email interface to [email protected] (my *EmailSpam*) i run into the issue i posted before (no address found in body or header and report saying "thanks bla bla.", nothing more). in this case spam report is not working. but - if i send a mail through email interface to [email protected](the assp default domain) all is working as your logs. can you guess why *EmailBlockReportDomain* is working for *EmailWhitelistAdd* (and basicly for any other email interface address) and not for *EmailSpam* ? Regards. On Mon, Dec 2, 2013 at 12:35 PM, Colin Waring <[email protected]>wrote: > I have .eml in MaillogExt and everything seems to work fine. I get the > response email with the subject "Thank you for reporting this message as > spam. _Hello_this_is_lantern_factory_from_Tina" > > Email response content: > > [email protected]: added to the personal blacklist of [email protected] > [email protected]: added to the personal blacklist > of [email protected] > [email protected]: added to the personal blacklist of > [email protected] > [email protected]: added to the personal blacklist of [email protected] > [email protected]: added to the personal blacklist of [email protected] > [email protected]: added to the personal blacklist of > [email protected] > > This shows it is correctly pulling the information from the attachment > rather than my report email. > > Example logs below. Two things stand out to me - yours say no attachment > found and do report-header before report-body. Mine don't log anything > about > attachments and it processes the body before the header. I'm not sure of > where to look next other than make sure you're on the latest version and > have run the most recent perl module installer/updated all perl modules. I > run Perl v5.14.2 on Ubuntu. > > All the best, > Colin Waring. > > 2013-12-02 11:26:05 [Worker_2] Connected: session:7A2E05D8 1.1.1.1:57874 > > 195.88.101.110:25 > 127.0.0.1:125 > 2013-12-02 11:26:05 [Worker_2] 1.1.1.1 [SMTP Reply] 220 > mail.smtphost.co.uk > ESMTP Exim 4.76 Mon, 02 Dec 2013 11:26:05 +0000 > 2013-12-02 11:26:06 [Worker_2] 1.1.1.1 [SMTP Reply] 250 HELP > 2013-12-02 11:26:06 [Worker_2] 1.1.1.1 info: got STARTTLS request from > 1.1.1.1 > 2013-12-02 11:26:06 [Worker_2] 1.1.1.1 [SMTP Reply] 220 TLS go ahead > 2013-12-02 11:26:06 [Worker_2] [TLS-in] [TLS-out] 1.1.1.1 [SMTP Reply] 250 > HELP > 2013-12-02 11:26:06 [Worker_2] [TLS-in] [TLS-out] 1.1.1.1 info: > authentication - login is used > 2013-12-02 11:26:06 [Worker_2] [TLS-in] [TLS-out] 1.1.1.1 [SMTP Reply] 334 > ############ > 2013-12-02 11:26:06 [Worker_2] [TLS-in] [TLS-out] 1.1.1.1 [SMTP Reply] 334 > ############ > 2013-12-02 11:26:06 [Worker_2] [TLS-in] [TLS-out] 1.1.1.1 [SMTP Reply] 235 > Authentication succeeded > 2013-12-02 11:26:06 m1-83566-00228 [Worker_2] [TLS-in] [TLS-out] 1.1.1.1 > <[email protected]> [SMTP Reply] 250 OK > 2013-12-02 11:26:06 m1-83566-00228 [Worker_2] [TLS-in] [TLS-out] 1.1.1.1 > <[email protected]> email: combined spam & whitelist report > 2013-12-02 11:26:06 m1-83566-00228 [Worker_2] [TLS-in] [TLS-out] 1.1.1.1 > <[email protected]> email: combined spam & noprocessing report > 2013-12-02 11:26:06 m1-83566-00228 [Worker_2] [TLS-in] [TLS-out] 1.1.1.1 > <[email protected]> [SMTP Reply] 250 OK > 2013-12-02 11:26:06 m1-83566-00228 [Worker_2] [TLS-in] [TLS-out] 1.1.1.1 > <[email protected]> [SMTP Reply] 354 OK Send spam body > 2013-12-02 11:26:07 m1-83566-00228 [Worker_2] [TLS-in] [TLS-out] 1.1.1.1 > <[email protected]> report-body: found address [email protected] in > mail > body > 2013-12-02 11:26:07 m1-83566-00228 [Worker_2] [TLS-in] [TLS-out] 1.1.1.1 > <[email protected]> report-body: found address [email protected] in > mail > body > 2013-12-02 11:26:07 m1-83566-00228 [Worker_2] [TLS-in] [TLS-out] 1.1.1.1 > <[email protected]> report-body: found address [email protected] in > mail > body > 2013-12-02 11:26:07 m1-83566-00228 [Worker_2] [TLS-in] [TLS-out] 1.1.1.1 > <[email protected]> report-body: found address [email protected] in > mail > body > 2013-12-02 11:26:07 m1-83566-00228 [Worker_2] [TLS-in] [TLS-out] 1.1.1.1 > <[email protected]> report-body: found address [email protected] in > mail body > 2013-12-02 11:26:07 m1-83566-00228 [Worker_2] [TLS-in] [TLS-out] 1.1.1.1 > <[email protected]> report-body: found address [email protected] in > mail body > 2013-12-02 11:26:07 m1-83566-00228 [Worker_2] [TLS-in] [TLS-out] 1.1.1.1 > <[email protected]> report-body: found address [email protected] in > mail body > 2013-12-02 11:26:07 m1-83566-00228 [Worker_2] [TLS-in] [TLS-out] 1.1.1.1 > <[email protected]> report-body: found address > [email protected] in mail body > 2013-12-02 11:26:07 m1-83566-00228 [Worker_2] [TLS-in] [TLS-out] 1.1.1.1 > <[email protected]> report-body: found address [email protected] in > mail body > 2013-12-02 11:26:07 m1-83566-00228 [Worker_2] [TLS-in] [TLS-out] 1.1.1.1 > <[email protected]> report-body: found address [email protected] in > mail > body > 2013-12-02 11:26:07 m1-83566-00228 [Worker_2] [TLS-in] [TLS-out] 1.1.1.1 > <[email protected]> report-body: found address [email protected] > mail body > 2013-12-02 11:26:07 m1-83566-00228 [Worker_2] [TLS-in] [TLS-out] 1.1.1.1 > <[email protected]> report-body: found address [email protected] > mail body > 2013-12-02 11:26:07 m1-83566-00228 [Worker_2] [TLS-in] [TLS-out] 1.1.1.1 > <[email protected]> report-body: found address [email protected] in mail > body > 2013-12-02 11:26:07 m1-83566-00228 [Worker_2] [TLS-in] [TLS-out] 1.1.1.1 > <[email protected]> report-body: found address [email protected] in mail > body > 2013-12-02 11:26:07 m1-83566-00228 [Worker_2] [TLS-in] [TLS-out] 1.1.1.1 > <[email protected]> report-body: found address [email protected] in mail > body > 2013-12-02 11:26:07 m1-83566-00228 [Worker_2] [TLS-in] [TLS-out] 1.1.1.1 > <[email protected]> report-body: found address [email protected] > mail body > 2013-12-02 11:26:07 m1-83566-00228 [Worker_2] [TLS-in] [TLS-out] 1.1.1.1 > <[email protected]> report-body: found address [email protected] > mail body > 2013-12-02 11:26:07 m1-83566-00228 [Worker_2] [TLS-in] [TLS-out] 1.1.1.1 > <[email protected]> report-body: found address [email protected] > mail body > 2013-12-02 11:26:07 m1-83566-00228 [Worker_2] [TLS-in] [TLS-out] 1.1.1.1 > <[email protected]> report-body: found address [email protected] in mail > body > 2013-12-02 11:26:07 m1-83566-00228 [Worker_2] [TLS-in] [TLS-out] 1.1.1.1 > <[email protected]> report-body: found address [email protected] in mail > body > 2013-12-02 11:26:07 m1-83566-00228 [Worker_2] [TLS-in] [TLS-out] 1.1.1.1 > <[email protected]> report-body: found address [email protected] > mail body > 2013-12-02 11:26:07 m1-83566-00228 [Worker_2] [TLS-in] [TLS-out] 1.1.1.1 > <[email protected]> report-body: found address [email protected] in > mail body > 2013-12-02 11:26:07 m1-83566-00228 [Worker_2] [TLS-in] [TLS-out] 1.1.1.1 > <[email protected]> report-body: no addresses found in header tags > 2013-12-02 11:26:07 m1-83566-00228 [Worker_2] [TLS-in] [TLS-out] 1.1.1.1 > <[email protected]> report-body: found address [email protected] in > mail > body > 2013-12-02 11:26:07 m1-83566-00228 [Worker_2] [TLS-in] [TLS-out] 1.1.1.1 > <[email protected]> report-body: found address [email protected] in > mail > body > 2013-12-02 11:26:07 m1-83566-00228 [Worker_2] [TLS-in] [TLS-out] 1.1.1.1 > <[email protected]> report-body: found address [email protected] in > mail > body > 2013-12-02 11:26:07 m1-83566-00228 [Worker_2] [TLS-in] [TLS-out] 1.1.1.1 > <[email protected]> report-body: found address [email protected] in > mail > body > 2013-12-02 11:26:07 m1-83566-00228 [Worker_2] [TLS-in] [TLS-out] 1.1.1.1 > <[email protected]> report-body: found address [email protected] in > mail body > 2013-12-02 11:26:07 m1-83566-00228 [Worker_2] [TLS-in] [TLS-out] 1.1.1.1 > <[email protected]> report-body: found address [email protected] in > mail body > 2013-12-02 11:26:07 m1-83566-00228 [Worker_2] [TLS-in] [TLS-out] 1.1.1.1 > <[email protected]> report-body: found address [email protected] in > mail body > 2013-12-02 11:26:07 m1-83566-00228 [Worker_2] [TLS-in] [TLS-out] 1.1.1.1 > <[email protected]> report-body: found address > [email protected] in mail body > 2013-12-02 11:26:07 m1-83566-00228 [Worker_2] [TLS-in] [TLS-out] 1.1.1.1 > <[email protected]> report-body: found address [email protected] in > mail body > 2013-12-02 11:26:07 m1-83566-00228 [Worker_2] [TLS-in] [TLS-out] 1.1.1.1 > <[email protected]> report-body: found address [email protected] in > mail > body > 2013-12-02 11:26:07 m1-83566-00228 [Worker_2] [TLS-in] [TLS-out] 1.1.1.1 > <[email protected]> report-body: found address [email protected] > mail body > 2013-12-02 11:26:07 m1-83566-00228 [Worker_2] [TLS-in] [TLS-out] 1.1.1.1 > <[email protected]> report-body: found address [email protected] > mail body > 2013-12-02 11:26:07 m1-83566-00228 [Worker_2] [TLS-in] [TLS-out] 1.1.1.1 > <[email protected]> report-body: found address [email protected] in mail > body > 2013-12-02 11:26:07 m1-83566-00228 [Worker_2] [TLS-in] [TLS-out] 1.1.1.1 > <[email protected]> report-body: found address [email protected] in mail > body > 2013-12-02 11:26:07 m1-83566-00228 [Worker_2] [TLS-in] [TLS-out] 1.1.1.1 > <[email protected]> report-body: found address [email protected] in mail > body > 2013-12-02 11:26:07 m1-83566-00228 [Worker_2] [TLS-in] [TLS-out] 1.1.1.1 > <[email protected]> report-body: found address [email protected] > mail body > 2013-12-02 11:26:07 m1-83566-00228 [Worker_2] [TLS-in] [TLS-out] 1.1.1.1 > <[email protected]> report-body: found address [email protected] > mail body > 2013-12-02 11:26:07 m1-83566-00228 [Worker_2] [TLS-in] [TLS-out] 1.1.1.1 > <[email protected]> report-body: found address [email protected] > mail body > 2013-12-02 11:26:07 m1-83566-00228 [Worker_2] [TLS-in] [TLS-out] 1.1.1.1 > <[email protected]> report-body: found address [email protected] in mail > body > 2013-12-02 11:26:07 m1-83566-00228 [Worker_2] [TLS-in] [TLS-out] 1.1.1.1 > <[email protected]> report-body: found address [email protected] in mail > body > 2013-12-02 11:26:07 m1-83566-00228 [Worker_2] [TLS-in] [TLS-out] 1.1.1.1 > <[email protected]> report-body: found address [email protected] > mail body > 2013-12-02 11:26:07 m1-83566-00228 [Worker_2] [TLS-in] [TLS-out] 1.1.1.1 > <[email protected]> report-body: found address [email protected] in > mail body > 2013-12-02 11:26:07 m1-83566-00228 [Worker_2] [TLS-in] [TLS-out] 1.1.1.1 > <[email protected]> report-body: no addresses found in header tags > 2013-12-02 11:26:08 m1-83568-01720 [Worker_2] [TLS-in] [TLS-out] 1.1.1.1 > [SMTP Reply] 250 Reset OK > 2013-12-02 11:26:10 [Worker_2] Disconnected: session:7A2E05D8 1.1.1.1 - > processing time 5 seconds > > -----Original Message----- > From: aquilinux [mailto:[email protected]] > Sent: 30 November 2013 10:03 > To: ASSP development mailing list > Subject: Re: [Assp-test] how to report spam with MS Outlook (assp 2.3.3 > 13276) > > I set either .eml or .msg as MaillogExt with the same result. In the logs > i attached i set .msg (as you can see from the extension of the saved > file). > I also have all Email::Outlook::Message modules installed. > I'd like to see some reporting logs of a working installation to check what > differs from mine. > > Thanks. > Il 30/nov/2013 10:48 "Colin Waring" <[email protected]> ha > scritto: > > > What have you got in maillogExt? > > > > Outlook uses .msg normally, you also need to need to have the perl module > > Email::Outlook::Message installed for that. > > > > All the best, > > Colin Waring > > > > -----Original Message----- > > From: aquilinux [mailto:[email protected]] > > Sent: 30 November 2013 08:59 > > To: ASSP development mailing list > > Subject: Re: [Assp-test] how to report spam with MS Outlook (assp 2.3.3 > > 13276) > > > > Hi Colin, > > what puzzles me is: > > > > Nov-29-13 14:58:18 [Worker_1] Spam-Report: (no attachment) - processing > raw > > email > > > > I guess it means it is not detecting the attached e-mail, hence the > message > > saved for spamdb is the forward e-mail itself (which doesn't contain any > > reference to the spam message). > > > > Thanks. > > Il 30/nov/2013 09:41 "Colin Waring" <[email protected]> ha > > scritto: > > > > > Nov-29-13 14:58:18 m1-33498-01104 [Worker_1] [TLS-in] [TLS-out] > > > 172.20.55.51 > > > <[email protected]> email: combined spam & whitelist report > > > Nov-29-13 14:58:18 [Worker_1] Info: report message written to -> > > > /opt/assp/errors/spam/I_New_CyberSec_Executive_Order_Impact_On_IT_ - > > > 24257.rpt.msg > > > > > > What part of this indicates that ASSP isn't detecting it properly? It > > > is logging that it is seeing a report and it is writing the file to > > > the errors corpus not the general corpus. > > > > > > This is the bit that concerns me because it isn't able to see any > > > addresses in the report.. > > > > > > Nov-29-13 14:58:18 m1-33498-01104 [Worker_1] [TLS-in] [TLS-out] > > > 172.20.55.51 <[email protected]> report-header: no addresses found in header > > > tags > > > Nov-29-13 14:58:18 m1-33498-01104 [Worker_1] [TLS-in] [TLS-out] > > > 172.20.55.51 <[email protected]> report-body: no addresses found in header > > > tags > > > > > > All the best, > > > Colin Waring > > > > > > -----Original Message----- > > > From: aquilinux [mailto:[email protected]] > > > Sent: 29 November 2013 14:04 > > > To: ASSP development mailing list > > > Subject: [Assp-test] how to report spam with MS Outlook (assp 2.3.3 > > > 13276) > > > > > > Hi all, > > > i'm testing spam report with MS Outlook 2010 but i cannot get attached > > > files to be detected. > > > i'm sending spam emails to email interface address > > > ([email protected]) forwarding them as attachments, one per email. > > > my assp flow is: > > > > > > outlook -> exchange --> assp + postfix --> Internet > > > > > > But looking at logs it seems that attachment is not detected and > > > forwarding message is treated as the spam message itself: > > > > > > Nov-29-13 14:58:17 [Worker_1] 172.20.55.51 [SMTP Reply] 220 EAIT - > > > Keep it legit, or keep out > > > Nov-29-13 14:58:17 [Worker_1] 172.20.55.51 [SMTP Reply] 250 DSN > > > Nov-29-13 14:58:17 [Worker_1] 172.20.55.51 [SMTP Reply] 220 2.0.0 > > > Ready to start TLS > > > Nov-29-13 14:58:18 [Worker_1] [TLS-in] [TLS-out] 172.20.55.51 [SMTP > > > Reply] > > > 250 DSN > > > Nov-29-13 14:58:18 m1-33498-01104 [Worker_1] [TLS-in] [TLS-out] > > > 172.20.55.51 <[email protected]> info : changed sender from [email protected] to > > > [email protected] > > > Nov-29-13 14:58:18 m1-33498-01104 [Worker_1] [TLS-in] [TLS-out] > > > 172.20.55.51 <[email protected]> info: found message size announcement: 109.75 > > > kByte > > > Nov-29-13 14:58:18 m1-33498-01104 [Worker_1] [TLS-in] [TLS-out] > > > 172.20.55.51 <[email protected]> [SMTP Reply] 250 2.1.0 Ok > > > Nov-29-13 14:58:18 m1-33498-01104 [Worker_1] [TLS-in] [TLS-out] > > > 172.20.55.51 <[email protected]> email: combined spam & whitelist report > > > Nov-29-13 14:58:18 m1-33498-01104 [Worker_1] [TLS-in] [TLS-out] > > > 172.20.55.51 <[email protected]> email: combined spam & noprocessing report > > > Nov-29-13 14:58:18 m1-33498-01104 [Worker_1] [TLS-in] [TLS-out] > > > 172.20.55.51 <[email protected]> [SMTP Reply] 250 OK > > > Nov-29-13 14:58:18 m1-33498-01104 [Worker_1] [TLS-in] [TLS-out] > > > 172.20.55.51 <[email protected]> [SMTP Reply] 354 OK Send spam body > > > Nov-29-13 14:58:18 [Worker_1] Spam-Report: process message from > > > [email protected] > > > Nov-29-13 14:58:18 [Worker_1] Spam-Report: (no attachment) - > > > processing raw email > > > Nov-29-13 14:58:18 m1-33498-01104 [Worker_1] [TLS-in] [TLS-out] > > > 172.20.55.51 <[email protected]> report-header: no addresses found in header > > > tags > > > Nov-29-13 14:58:18 m1-33498-01104 [Worker_1] [TLS-in] [TLS-out] > > > 172.20.55.51 <[email protected]> report-body: no addresses found in header > > > tags > > > Nov-29-13 14:58:18 [Worker_1] Info: report message written to -> > > > /opt/assp/errors/spam/I_New_CyberSec_Executive_Order_Impact_On_IT_ - > > > 24257.rpt.msg > > > Nov-29-13 14:58:18 [Worker_1] Spam-Report: finished report-message > > > from [email protected] > > > Nov-29-13 14:58:18 m1-33498-37618 [Worker_1] [TLS-in] [TLS-out] > > > 172.20.55.51 [SMTP Reply] 250 2.0.0 Ok > > > Nov-29-13 14:58:18 m1-33498-37618 [Worker_1] [TLS-in] [TLS-out] > > > 172.20.55.51 [SMTP Reply] 221 2.0.0 Bye > > > Nov-29-13 14:58:18 [Worker_1] Info: report successful sent to > > > [email protected] > > > > > > this happens either if i set MaillogExt to .eml or .msg any suggestion? > > > > > > thanks. > > > > > > -- > > > "Madness, like small fish, runs in hosts, in vast numbers of > instances." > > > > > > Nessuno mi pettina bene come il vento. > > > > > > ---------------------------------------------------------------------- > > > ------ > > > -- > > > Rapidly troubleshoot problems before they affect your business. Most > > > IT organizations don't have a clear picture of how application > > > performance affects their revenue. With AppDynamics, you get 100% > > > visibility into your Java,.NET, & PHP application. Start your 15-day > > > FREE TRIAL of AppDynamics Pro! > > > http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.c > > > lktrk _______________________________________________ > > > Assp-test mailing list > > > [email protected] > > > https://lists.sourceforge.net/lists/listinfo/assp-test > > > > > > > > > > > > ---------------------------------------------------------------------- > > > -------- Rapidly troubleshoot problems before they affect your > > > business. Most IT organizations don't have a clear picture of how > > > application performance affects their revenue. With AppDynamics, you > > > get 100% visibility into your Java,.NET, & PHP application. Start your > > > 15-day FREE TRIAL of AppDynamics Pro! > > > http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.c > > > lktrk _______________________________________________ > > > Assp-test mailing list > > > [email protected] > > > https://lists.sourceforge.net/lists/listinfo/assp-test > > > > > > > > > ---------------------------------------------------------------------------- > > -- > > Rapidly troubleshoot problems before they affect your business. Most IT > > organizations don't have a clear picture of how application performance > > affects their revenue. With AppDynamics, you get 100% visibility into > your > > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics > > Pro! > > > http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk > > _______________________________________________ > > Assp-test mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/assp-test > > > > > > > > > > ---------------------------------------------------------------------------- > -- > > Rapidly troubleshoot problems before they affect your business. Most IT > > organizations don't have a clear picture of how application performance > > affects their revenue. With AppDynamics, you get 100% visibility into > your > > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics > > Pro! > > > http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk > > _______________________________________________ > > Assp-test mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/assp-test > > > > ---------------------------------------------------------------------------- > -- > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics > Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk > _______________________________________________ > Assp-test mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/assp-test > > > > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics > Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk > _______________________________________________ > Assp-test mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/assp-test > -- "Madness, like small fish, runs in hosts, in vast numbers of instances." Nessuno mi pettina bene come il vento. ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk _______________________________________________ Assp-test mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/assp-test
