Recipient Spam Report

Report bugs and workarounds
Post Reply
Goppi2
Posts: 3
Joined: 30 Jan 2014 19:18

Recipient Spam Report

Post by Goppi2 »

The notification email to the recipient doesn't show the link to release an email. A similar issue existing in ESVA whereby this happened to me when MailScanner couldn't resolve the hostname variable since I had to redirect the portal to port 81 and added:81 at the end of $hostname. However, in the EFA neither the default link, nor a link with hardcoded URL (http://mx.xxx.com/cgi-bin...) shows up in the email. I assume the issue isn't with the $hostname variable, but with any of the other 3 ($datenumber, $id and $token). In fact I found an article on the web where a version of MailScanner used $to instead of $token, but there was no reference to the version or any other hint. I will try one by one to exclude the variables and see when the link does get displayed. But if any of you are familiar with the problem, please advice of the solution.

Thanks,
goppi
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Recipient Spam Report

Post by shawniverson »

Hello,

What do your Signature rules look like?

/etc/MailScanner/rules/sig.html.rules
/etc/MailScanner/rules/sig.text.rules

Also, what does the following rules look like in /etc/MailScanner/MailScanner.conf?

Spam Actions =
High Spam Actions =
Non Spam Actions =
Goppi2
Posts: 3
Joined: 30 Jan 2014 19:18

Re: Recipient Spam Report

Post by Goppi2 »

Hi,

sig.html.rules
To: *@domain.com /etc/MailScanner/reports/en/inline.sig.in.html
To: default /etc/MailScanner/reports/en/inline.sig.out.html

The text rules is exactly the same with the exception of .txt instead of .html in both lines.

Spam Actions = store notify
High Scoring Spam Actions = store
Non Spam Actions = store deliver header "X-Spam-Status:No" custom(nonspam)

Thanks for your help!

goppi
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Recipient Spam Report

Post by shawniverson »

Change your Spam Actions as follows (you can also use EFA-Configure Spam Settings section to configure this)

Spam Actions = store notify custom(spam)
Goppi2
Posts: 3
Joined: 30 Jan 2014 19:18

Re: Recipient Spam Report

Post by Goppi2 »

thanks - I have made the changes and guess I just need to wait now for a spam email to test the result.

will be back,
goppi
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Recipient Spam Report

Post by shawniverson »

Be sure to reload MailScanner too.

Code: Select all

sudo service MailScanner reload
buzzzo
Posts: 94
Joined: 03 Feb 2014 09:09

Re: Recipient Spam Report

Post by buzzzo »

I've the same problems.

Note that:

1) efa 3.0.4
2) the incoming sig rules are not bounded on domain
3) Spam Actions = store notify custom(spam)

The {Spam not delivered} subjected mail is correctly sended but the line showing the link is not showed.

Could u help me ?
buzzzo
Posts: 94
Joined: 03 Feb 2014 09:09

Re: Recipient Spam Report

Post by buzzzo »

Nevermind .. find the clue.

I'm focused on Spam Actions while problem was on High Spam

btw rule should be (in mailscanner.conf):

Spam Actions = store custom(spam)

Ad NOT:
Spam Actions = store notify custom(spam)

Otherwise you will receive notifications twice: one from notify (without link) and one from custom script (with link).
Post Reply