Disable spam check outgoing email

Questions and answers about how to do stuff
Post Reply
mbst83r
Posts: 1
Joined: 09 Jan 2018 08:45

Disable spam check outgoing email

Post 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
jamerson
Posts: 164
Joined: 19 Aug 2017 18:57
Location: kaaskop

Re: Disable spam check outgoing email

Post 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.
Version eFa 4.0.0 RC1 now available in testing repo. Come join us in advancing eFa!
User avatar
pdwalker
Posts: 1553
Joined: 18 Mar 2015 09:16

Re: Disable spam check outgoing email

Post by pdwalker »

you could whitelist your internal server or domains
jamerson
Posts: 164
Joined: 19 Aug 2017 18:57
Location: kaaskop

Re: Disable spam check outgoing email

Post 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.
Version eFa 4.0.0 RC1 now available in testing repo. Come join us in advancing eFa!
User avatar
pdwalker
Posts: 1553
Joined: 18 Mar 2015 09:16

Re: Disable spam check outgoing email

Post 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?
jamerson
Posts: 164
Joined: 19 Aug 2017 18:57
Location: kaaskop

Re: Disable spam check outgoing email

Post 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
Version eFa 4.0.0 RC1 now available in testing repo. Come join us in advancing eFa!
User avatar
pdwalker
Posts: 1553
Joined: 18 Mar 2015 09:16

Re: Disable spam check outgoing email

Post 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 13261 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.
jamerson
Posts: 164
Joined: 19 Aug 2017 18:57
Location: kaaskop

Re: Disable spam check outgoing email

Post by jamerson »

Paul thank you for your help,
i've got this fixed with Spammy help.
Thank you so much guys for the support.
Version eFa 4.0.0 RC1 now available in testing repo. Come join us in advancing eFa!
jamerson
Posts: 164
Joined: 19 Aug 2017 18:57
Location: kaaskop

Re: Disable spam check outgoing email

Post 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
Attachments
2.jpg
2.jpg (47.58 KiB) Viewed 13131 times
1.jpg
1.jpg (30.93 KiB) Viewed 13131 times
Version eFa 4.0.0 RC1 now available in testing repo. Come join us in advancing eFa!
henk
Posts: 517
Joined: 14 Dec 2015 22:16
Location: Netherlands
Contact:

Re: Disable spam check outgoing email

Post 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 13130 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.
“We are stuck with technology when what we really want is just stuff that works.” -Douglas Adams
User avatar
pdwalker
Posts: 1553
Joined: 18 Mar 2015 09:16

Re: Disable spam check outgoing email

Post 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.
jamerson
Posts: 164
Joined: 19 Aug 2017 18:57
Location: kaaskop

Re: Disable spam check outgoing email

Post 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
Attachments
1.jpg
1.jpg (40.05 KiB) Viewed 13107 times
Last edited by jamerson on 09 Mar 2018 10:10, edited 1 time in total.
Version eFa 4.0.0 RC1 now available in testing repo. Come join us in advancing eFa!
jamerson
Posts: 164
Joined: 19 Aug 2017 18:57
Location: kaaskop

Re: Disable spam check outgoing email

Post 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 ?
Version eFa 4.0.0 RC1 now available in testing repo. Come join us in advancing eFa!
User avatar
pdwalker
Posts: 1553
Joined: 18 Mar 2015 09:16

Re: Disable spam check outgoing email

Post by pdwalker »

Can you give me the spam report for that blocked message?
jamerson
Posts: 164
Joined: 19 Aug 2017 18:57
Location: kaaskop

Re: Disable spam check outgoing email

Post 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 ?
Version eFa 4.0.0 RC1 now available in testing repo. Come join us in advancing eFa!
User avatar
pdwalker
Posts: 1553
Joined: 18 Mar 2015 09:16

Re: Disable spam check outgoing email

Post 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 13070 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.
JohnEs
Posts: 2
Joined: 24 Oct 2018 15:38

Re: Disable spam check outgoing email

Post 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!
User avatar
pdwalker
Posts: 1553
Joined: 18 Mar 2015 09:16

Re: Disable spam check outgoing email

Post by pdwalker »

^^^ spam. Could someone delete that garbage please?
Post Reply