Page 1 of 1

Cannot release mails

Posted: 30 Jul 2014 11:11
by jokr
Hi !
I migrated from ESVA to EFA yesterday. I cannot release SPAM mails. If I try to release a mail, I get another mail like this

Our UCE (spam) detectors have been triggered by a message you received:-
From: apache@domain.name

There seems to be a mail loop, the mail I want to release is scanned and quarantined again.

Any ideas?

thanks,
jokr

Re: Cannot release mails

Posted: 30 Jul 2014 16:58
by darky83
Looks like somehow localhost is not whitelisted.

Make sure that 127.0.0.1 to default is on the whitelist and restart mailscanner.

Re: Cannot release mails

Posted: 01 Aug 2014 09:09
by jokr
Thanks, this is probably the solution, I imported Whitelist and Blacklist via MYSQL DUMP from ESVA and lost this Entry.

Re: Cannot release mails

Posted: 18 Sep 2014 13:27
by Justin
darky83 wrote:Looks like somehow localhost is not whitelisted.

Make sure that 127.0.0.1 to default is on the whitelist and restart mailscanner.
What do you mean by 127.0.0.1 to default ?

Re: Cannot release mails

Posted: 18 Sep 2014 16:38
by darky83
Image

Re: Cannot release mails

Posted: 22 Sep 2014 10:20
by Mr. Happy
I also cannot release mails, but I don't get another mail.
Also I cannot view mails in the quarantine folder.
What I do get is the following errors in the httpd error log:

Code: Select all

 PHP Notice:  Undefined index: %orgname% in /var/www/html/mailscanner/functions.php on line 1261

Re: Cannot release mails

Posted: 22 Sep 2014 11:20
by shawniverson
Yes, we have an open bug on this.

You can fix manually by editing the following:

/etc/MailScanner/MailScanner.conf

Change

Code: Select all

Watermark Secret = %orgname%-<random characters>
To:

Code: Select all

Watermark Secret = %org-name%-<random characters>

Re: Cannot release mails

Posted: 22 Sep 2014 11:28
by Mr. Happy
Does that bug also contain that I cannot view the contents of the mail in the webinterface?

Re: Cannot release mails

Posted: 26 Sep 2014 21:58
by shawniverson
I am not seeing this issue, you should be able to view mail contents.

Can you give me more details?

What happens when you click to view the contents?
Any error messages in the Apache log files?

Re: Cannot release mails

Posted: 28 Sep 2014 10:15
by Mr. Happy
nvm...
found it...
Somehow the line

Code: Select all

Quarantine Whole Messages As Queue Files = no
was changed to

Code: Select all

Quarantine Whole Messages As Queue Files = yes

Re: Cannot release mails

Posted: 09 Apr 2015 06:33
by m477
I've had this problem with a fresh install of EFA. Problems it caused:

- Viewing email previews in mailscanner (eg showed nothing)
- Releasing messages via mailscanner were delivered in a corrupted format.

Be aware that the change only applies to new messages, you can still view the old messages with vim, etc.

Best way for end users to view them is by changing the extension to .html