Cannot release mails

Report bugs and workarounds
Post Reply
jokr
Posts: 9
Joined: 30 Jul 2014 10:47

Cannot release mails

Post 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
User avatar
darky83
Site Admin
Posts: 540
Joined: 30 Sep 2012 11:03
Location: eFa
Contact:

Re: Cannot release mails

Post 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.
Version eFa 4.x now available!
jokr
Posts: 9
Joined: 30 Jul 2014 10:47

Re: Cannot release mails

Post by jokr »

Thanks, this is probably the solution, I imported Whitelist and Blacklist via MYSQL DUMP from ESVA and lost this Entry.
Justin
Posts: 111
Joined: 18 Sep 2014 13:00
Location: The Netherlands
Contact:

Re: Cannot release mails

Post 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 ?
User avatar
darky83
Site Admin
Posts: 540
Joined: 30 Sep 2012 11:03
Location: eFa
Contact:

Re: Cannot release mails

Post by darky83 »

Image
Version eFa 4.x now available!
Mr. Happy
Posts: 51
Joined: 03 Jan 2014 17:07

Re: Cannot release mails

Post 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
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Cannot release mails

Post 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>
Mr. Happy
Posts: 51
Joined: 03 Jan 2014 17:07

Re: Cannot release mails

Post by Mr. Happy »

Does that bug also contain that I cannot view the contents of the mail in the webinterface?
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Cannot release mails

Post 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?
Mr. Happy
Posts: 51
Joined: 03 Jan 2014 17:07

Re: Cannot release mails

Post 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
m477
Posts: 11
Joined: 07 Dec 2012 03:01

Re: Cannot release mails

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