Spam not delivered emails

Questions and answers about how to do stuff
Post Reply
Justin
Posts: 111
Joined: 18 Sep 2014 13:00
Location: The Netherlands
Contact:

Spam not delivered emails

Post 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
DaN
Posts: 240
Joined: 19 Nov 2014 10:04
Location: Earth

Re: Spam not delivered emails

Post 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?
Justin
Posts: 111
Joined: 18 Sep 2014 13:00
Location: The Netherlands
Contact:

Re: Spam not delivered emails

Post 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
Justin
Posts: 111
Joined: 18 Sep 2014 13:00
Location: The Netherlands
Contact:

Re: Spam not delivered emails

Post 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
DaN
Posts: 240
Joined: 19 Nov 2014 10:04
Location: Earth

Re: Spam not delivered emails

Post 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.
Justin
Posts: 111
Joined: 18 Sep 2014 13:00
Location: The Netherlands
Contact:

Re: Spam not delivered emails

Post 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
Justin
Posts: 111
Joined: 18 Sep 2014 13:00
Location: The Netherlands
Contact:

Re: Spam not delivered emails

Post 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
DaN
Posts: 240
Joined: 19 Nov 2014 10:04
Location: Earth

Re: Spam not delivered emails

Post 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?
Justin
Posts: 111
Joined: 18 Sep 2014 13:00
Location: The Netherlands
Contact:

Re: Spam not delivered emails

Post 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:
DaN
Posts: 240
Joined: 19 Nov 2014 10:04
Location: Earth

Re: Spam not delivered emails

Post 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?
Justin
Posts: 111
Joined: 18 Sep 2014 13:00
Location: The Netherlands
Contact:

Re: Spam not delivered emails

Post 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
Justin
Posts: 111
Joined: 18 Sep 2014 13:00
Location: The Netherlands
Contact:

Re: Spam not delivered emails

Post by Justin »

Can someone please help me? This is a big problem for me.
DaN
Posts: 240
Joined: 19 Nov 2014 10:04
Location: Earth

Re: Spam not delivered emails

Post 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?
Justin
Posts: 111
Joined: 18 Sep 2014 13:00
Location: The Netherlands
Contact:

Re: Spam not delivered emails

Post 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.
DaN
Posts: 240
Joined: 19 Nov 2014 10:04
Location: Earth

Re: Spam not delivered emails

Post 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"
Justin
Posts: 111
Joined: 18 Sep 2014 13:00
Location: The Netherlands
Contact:

Re: Spam not delivered emails

Post 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.....
Justin
Posts: 111
Joined: 18 Sep 2014 13:00
Location: The Netherlands
Contact:

Re: Spam not delivered emails

Post 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"
DaN
Posts: 240
Joined: 19 Nov 2014 10:04
Location: Earth

Re: Spam not delivered emails

Post 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
Justin
Posts: 111
Joined: 18 Sep 2014 13:00
Location: The Netherlands
Contact:

Re: Spam not delivered emails

Post 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 ;)
Post Reply