Page 1 of 1

Disable spam check outgoing email

Posted: 09 Jan 2018 08:52
by mbst83r
Hello guys,

how can i disable spam checking on outgoing emails?

They will be checked even if the mail is received for external transport and i want to disable this somehow.

If you need more info, just let me know.

Thanks in advance.

BR Mbst83r

Re: Disable spam check outgoing email

Posted: 11 Jan 2018 12:55
by jamerson
i am willing to know this too,
our internal users are facing the same issue when they send a email with attachement they got blocked.

Re: Disable spam check outgoing email

Posted: 12 Jan 2018 06:51
by pdwalker
you could whitelist your internal server or domains

Re: Disable spam check outgoing email

Posted: 15 Jan 2018 20:23
by jamerson
pdwalker wrote: 12 Jan 2018 06:51 you could whitelist your internal server or domains
Thank you Paul,
I have already done this but they are still getting blocked.
not always but most of the time.

Re: Disable spam check outgoing email

Posted: 17 Jan 2018 06:25
by pdwalker
That's very strange. It doesn't happen for me.

Can you post the details of an example internal->external going message that got blocked? Both from the EFA message status page and from the message details itself?

Re: Disable spam check outgoing email

Posted: 18 Jan 2018 16:20
by jamerson
pdwalker wrote: 17 Jan 2018 06:25 That's very strange. It doesn't happen for me.

Can you post the details of an example internal->external going message that got blocked? Both from the EFA message status page and from the message details itself?
Thank you pdwalker.
where can i find this excatly on the EFA page?
i have opened the blocked email and i have the message header, spam score ect...
or you mean something else ?

Thank you

Re: Disable spam check outgoing email

Posted: 19 Jan 2018 07:13
by pdwalker
Two screenshots

1/ the /mailscanner/status.php page showing an email that should be whitelisted but is not.
screen1.png
screen1.png (261.91 KiB) Viewed 19978 times
2/ next, show me the message details page at /mailscanner/detail.php that appears when you click on the blue circle with the i inside

3/ then show me your whitelist settings under /mailscanner/lists.php so I can check your settings against what appears under the status.php page.

In the above screenshot, I've whitelisted all mail from the ip address of the exchange server. (all users send mail to the exchange server, exchange server sends it to efa, efa sees it is whitelisted and just sends it out).

Actually, now that I think about it, I think I'll remove the whitelisting and instead use spamassassin to recognize these messages and score them with a -4.0 or something - just in case the users do something stupid.

Re: Disable spam check outgoing email

Posted: 31 Jan 2018 14:52
by jamerson
Paul thank you for your help,
i've got this fixed with Spammy help.
Thank you so much guys for the support.

Re: Disable spam check outgoing email

Posted: 08 Mar 2018 12:24
by jamerson
Hi Paul,
i am back with my complain
the internal users are still getting blocked when they send out emails. not always but most of them time.
i've attached a screenshot

Code: Select all

Received: from filter.domain.com (mail.domain.com [192.168.4.5])
     (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
     (No client certificate requested)
     by filter.domain.com (Postfix) with ESMTPS id 8CEE8400C2;
     Thu, 8 Mar 2018 12:37:50 +0100 (CET)
Received: from EX02.domain.comlan (192.168.4.5) by EX02.domain.comlan
(192.168.4.5) with Microsoft SMTP Server (version=TLS1_2,
cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1415.2; Thu, 8 Mar 2018
12:35:57 +0100
Received: from EX02.domain.comlan ([::1]) by EX02.domain.comlan ([::1])
with mapi id 15.01.1415.002; Thu, 8 Mar 2018 12:35:57 +0100
From: Seo <info@seo.com>
To:  Coupé <coupe@domain3.com>,
     "arthur@domain2.com" <arthur@domain2.com>
CC: "initira@domain3.com" <initira@domain3.com>
Subject: FW: Transport over water 5 tanks Izegem
Thread-Topic: Transport over water 5 tanks Izegem
Thread-Index: AdO0dM7WuvmYccYJRs2xQX/LLcarNQAGLb6wADAi6TAAXcDIYA==
Date: Thu, 8 Mar 2018 11:35:57 +0000
Message-ID: <26720725e6ce4c7daf0605a21689e2a3@seoltobarging.com>
References: <AM5PR06MB31063FE64F55E15A9FB15183F6DA0@AM5PR06MB3106.eurprd06.prod.outlook.com>
<DB7PR08MB29877528A883605D6430894FE0DA0@DB7PR08MB2987.eurprd08.prod.outlook.com> 
Accept-Language: nl-NL, en-US
Content-Language: nl-NL
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
x-originating-ip: [62.140.137.134]
Content-Type: multipart/related;
     boundary="_005_26720725e6ce4c7daf0605a21689e2a3seoltobargingcom_";
     type="multipart/alternative"
MIME-Version: 1.0

on the whitelist i've added the IP of the exchange ip which is 192.168.4.5 to default see attached screenshot2

Re: Disable spam check outgoing email

Posted: 08 Mar 2018 13:07
by henk
As I do not understand your setup, just want to point out that I see IPv6 EX02.domain.comlan ([::1]) and IPv4 EX02.domain.comlan (192.168.4.5). mixed for the same host.

Received: from EX02.domain.comlan (192.168.4.5) by EX02.domain.comlan
(192.168.4.5) with Microsoft SMTP Server (version=TLS1_2,
cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1415.2; Thu, 8 Mar 2018
12:35:57 +0100
Received: from EX02.domain.comlan ([::1]) by EX02.domain.comlan ([::1])

In the detail section, you can see how the mail is received and the Via Ip's.
detail.png
detail.png (7.89 KiB) Viewed 19847 times
Can you post a screenshot for this message?
As I do not use IPv6, I don't know if there is a need to whitelist a IPv6 address.

Re: Disable spam check outgoing email

Posted: 08 Mar 2018 16:41
by pdwalker
Stupid question,

How do you know messages are getting blocked? Do you see this in the message log? If so, can you show me a screenshot of that?

I’ll be at a computer in about 8 hours, so I won’t be able to check anything before then.

Re: Disable spam check outgoing email

Posted: 09 Mar 2018 10:07
by jamerson
Hi Paul,
i see the email is blocked as showed on the screenshot.
when the internal user send a email its get blocked as the below screenshot

Re: Disable spam check outgoing email

Posted: 09 Mar 2018 10:07
by jamerson
henk wrote: 08 Mar 2018 13:07 As I do not understand your setup, just want to point out that I see IPv6 EX02.domain.comlan ([::1]) and IPv4 EX02.domain.comlan (192.168.4.5). mixed for the same host.

Received: from EX02.domain.comlan (192.168.4.5) by EX02.domain.comlan
(192.168.4.5) with Microsoft SMTP Server (version=TLS1_2,
cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1415.2; Thu, 8 Mar 2018
12:35:57 +0100
Received: from EX02.domain.comlan ([::1]) by EX02.domain.comlan ([::1])

In the detail section, you can see how the mail is received and the Via Ip's.
detail.png

Can you post a screenshot for this message?
As I do not use IPv6, I don't know if there is a need to whitelist a IPv6 address.
the screen of the message is the same as the info above.
i'll attached it again.
do you mean IPV6 could be the issue ?

Re: Disable spam check outgoing email

Posted: 09 Mar 2018 16:26
by pdwalker
Can you give me the spam report for that blocked message?

Re: Disable spam check outgoing email

Posted: 10 Mar 2018 11:04
by jamerson
pdwalker wrote: 09 Mar 2018 16:26 Can you give me the spam report for that blocked message?
I've provided you the screenshot and report you asked for.
do you mean something else ?

Re: Disable spam check outgoing email

Posted: 12 Mar 2018 10:41
by pdwalker
If you go into the message details via the https://<your efa server>/mailscanner/detail.php?<blah blah> link, you'll see something like this:

(image clipped to only the important section)
Screen Shot 2018-03-12 at 18.35.png
Screen Shot 2018-03-12 at 18.35.png (146.15 KiB) Viewed 19787 times
It's the above spam report that I am interested in seeing.

Also, I noticed that your blocked line is pink, rather than a darker red. On my system, that means that the spam is only considered likely spam, and I let it through, as opposed to the higher scoring spam which I do block.

So, can you also get me the current settings of the following mailscanner settings in your /etc/MailScanner/MailScanner.conf configuration file? (the values are the settings on my system)

Code: Select all

Required SpamAssassin Score = 4
High SpamAssassin Score = 7
Spam Actions = store deliver header "X-Spam-Status:Yes"
High Scoring Spam Actions = store header "X-Spam-Status:Yes"
Non Spam Actions = store deliver header "X-Spam-Status:No"
Thanks.

Re: Disable spam check outgoing email

Posted: 24 Oct 2018 18:09
by JohnEs
You know, I’ve faced the same issue recently and I still haven’t come up with any solution. Instead of it I found reliable and convenient tool to convert Netscape mail to Outlook find more details. It converts and migrates data from any email client to Outlook. Effortlessly and without a glitch. Moreover, this utility detects damages in mailboxes automatically and still manages to recover e-mails from them. Highly recommend!

Re: Disable spam check outgoing email

Posted: 25 Oct 2018 02:56
by pdwalker
^^^ spam. Could someone delete that garbage please?