Page 1 of 1

Spam not delivered emails

Posted: 16 Jul 2015 09:34
by Justin
Hi everyone,

I'm having the following issue
{Spam not delivered} email are not send anymore but it is enable in the efa-config.
I tried disabling it and after that enabling it, but it does not work either.

I have disabled the Fraud Detection option lately, but i don't know if that's the issue in this case?

Please help me out.

Kind regards,
Justin

Re: Spam not delivered emails

Posted: 16 Jul 2015 11:28
by DaN
Hi

Which E.F.A. version do you use?

Do you have reload/restarted service(s) (service MailScanner reload) /vm after reenabling the option in the efa-config?

/var/EFA/lib/EFA-Configure/func_askspam
#76: sed -i "/^Spam Actions =/ c\Spam Actions = $DELIVERSPAM $SPAMNOTIFY" /etc/MailScanner/MailScanner.conf

Maybe

Code: Select all

service MailScanner restart
helps?

Re: Spam not delivered emails

Posted: 16 Jul 2015 12:10
by Justin
DaN wrote:Hi

Which E.F.A. version do you use?

Do you have reload/restarted service(s) (service MailScanner reload) /vm after reenabling the option in the efa-config?

/var/EFA/lib/EFA-Configure/func_askspam
#76: sed -i "/^Spam Actions =/ c\Spam Actions = $DELIVERSPAM $SPAMNOTIFY" /etc/MailScanner/MailScanner.conf

Maybe

Code: Select all

service MailScanner restart
helps?
Hi,

I'm using 3.0.0.8
I have restarted the whole VM and that does not help either.

I can not restart it once more at the moment since it's and Live environment.

I don't know for sure, but it stopped working after changing Fraud Detection to Off in the configuration

Re: Spam not delivered emails

Posted: 17 Jul 2015 09:28
by Justin
Anyone?
I really need the notifications.

I did the following but don't know if it affected this:
- Translated everything to Dutch
- Turned of the Fraud message info

Re: Spam not delivered emails

Posted: 17 Jul 2015 14:34
by DaN
I would go back step by step. Don't change to much on a day. Maybe take a snapshot step by step and go back to an old snapshot. But first check the logfiles...

:( It's hot in hear.

Re: Spam not delivered emails

Posted: 20 Jul 2015 07:03
by Justin
DaN wrote:I would go back step by step. Don't change to much on a day. Maybe take a snapshot step by step and go back to an old snapshot. But first check the logfiles...

:( It's hot in hear.
Where can i find the MailScanner logfiles? Or does another Service send these mails.
I will try to rollback

Re: Spam not delivered emails

Posted: 20 Jul 2015 07:05
by DaN

Re: Spam not delivered emails

Posted: 21 Jul 2015 07:40
by Justin
I have checked the logs, and found this in the maillog:

Spam Checks: Found 1 spam messages
Spam Actions: Notify ***@***.***
fatal: postmaster(89): No recipient addresses found in message header

How can i fix this? This issue appears with every message as far as I can find

Re: Spam not delivered emails

Posted: 21 Jul 2015 09:07
by DaN
Did you see
viewtopic.php?t=987?
/etc/MailScanner/MailScanner.conf

Code: Select all

Spam Actions = store custom(spam)
High Scoring Spam Actions = store
Maybe this helps?

Re: Spam not delivered emails

Posted: 21 Jul 2015 09:50
by Justin
DaN wrote:Did you see
viewtopic.php?t=987?
/etc/MailScanner/MailScanner.conf

Code: Select all

Spam Actions = store custom(spam)
High Scoring Spam Actions = store
Maybe this helps?
My english is'nt that great, and sadly enough i don't have a clue what they are talking about :oops:

Re: Spam not delivered emails

Posted: 21 Jul 2015 09:53
by DaN
Join the club!
Could it be that you have the same probleme as arazim1284?
viewtopic.php?t=987

Check /etc/MailScanner/MailScanner.conf for this options:
Spam Actions = store custom(spam)
High Scoring Spam Actions = store

Do you have the same configuration?

Re: Spam not delivered emails

Posted: 21 Jul 2015 10:13
by Justin
DaN wrote:Join the club!
Could it be that you have the same probleme as arazim1284?
viewtopic.php?t=987

Check /etc/MailScanner/MailScanner.conf for this options:
Spam Actions = store custom(spam)
High Scoring Spam Actions = store

Do you have the same configuration?
This is what i have:
Spam Actions = store custom(spam)
High Scoring Spam Actions = store

Re: Spam not delivered emails

Posted: 22 Jul 2015 11:22
by Justin
Can someone please help me? This is a big problem for me.

Re: Spam not delivered emails

Posted: 22 Jul 2015 13:47
by DaN
Justin wrote: I did the following but don't know if it affected this:
- Translated everything to Dutch
- Turned of the Fraud message info
If it's not
Spam Actions = store custom(spam)
High Scoring Spam Actions = store
...
What did you translate "everything"?

Make a new VM, copy file by file, which is translated, or compare the files. You would see the differences. (notepad++ + http://sourceforge.net/projects/npp-compare/)
Couldn't you check the old configuration from a backup?

Code: Select all

fatal: postmaster(89): No recipient addresses found in message header

Is this a mail from a web contact form from a web site?

Re: Spam not delivered emails

Posted: 22 Jul 2015 13:57
by Justin
DaN wrote:
Justin wrote: I did the following but don't know if it affected this:
- Translated everything to Dutch
- Turned of the Fraud message info
If it's not
Spam Actions = store custom(spam)
High Scoring Spam Actions = store
...
What did you translate "everything"?

Make a new VM, copy file by file, which is translated, or compare the files. You would see the differences. (notepad++ + http://sourceforge.net/projects/npp-compare/)
Couldn't you check the old configuration from a backup?

Code: Select all

fatal: postmaster(89): No recipient addresses found in message header

Is this a mail from a web contact form from a web site?
Hi DaN,

This is directly from someone to one of our customers.
I have translated most of the text lines but kept the original. In /etc/MailScanner/reports/en/

I will try to revert this, since i don't believe the "Highlight Phishing Fraud No" option breaks this.

Re: Spam not delivered emails

Posted: 22 Jul 2015 14:13
by DaN
Did you know, that you can create
/etc/MailScanner/reports/nl/
and use the files from
https://github.com/MailScanner/v4/tree/ ... tc/reports
?

You can change MailScanner.conf, search for "language"

Re: Spam not delivered emails

Posted: 22 Jul 2015 14:59
by Justin
DaN wrote:Did you know, that you can create
/etc/MailScanner/reports/nl/
and use the files from
https://github.com/MailScanner/v4/tree/ ... tc/reports
?

You can change MailScanner.conf, search for "language"
Oh wow, i did not see that haha.
Thank you! I will check this out once i'm done testing.

EDIT: Someone deleted all the NL text and added their website.....

Re: Spam not delivered emails

Posted: 23 Jul 2015 06:23
by DaN
https://github.com/MailScanner/v4/blob/ ... essage.txt

The messages i've checkt, seems to be ok!?

Re: Spam not delivered emails

Posted: 23 Jul 2015 06:49
by Justin
DaN wrote:https://github.com/MailScanner/v4/blob/ ... essage.txt

The messages i've checkt, seems to be ok!?
It works :D
I have replaced it with the original English text, and it sends the " Spam not delivered" mail again.

One more question:
Where do i set the Language in Mailscanner?
I now have a folder "en" and "nl"

Re: Spam not delivered emails

Posted: 23 Jul 2015 06:54
by DaN
DaN wrote: [...]
You can change MailScanner.conf, search for "language"
Did you try this?

Code: Select all

%report-dir% = /etc/MailScanner/reports/nl

Re: Spam not delivered emails

Posted: 23 Jul 2015 08:01
by Justin
DaN wrote:
DaN wrote: [...]
You can change MailScanner.conf, search for "language"
Did you try this?

Code: Select all

%report-dir% = /etc/MailScanner/reports/nl
Found it! Thank you.

I will check it for a few days, and report back ;)