Quantcast
Channel: iRedMail — iRedMail Support
Viewing all articles
Browse latest Browse all 43382

Re: Amavis quarantine, release email with amavisd-release

$
0
0
ZhangHuangbin wrote:

Seems "amavisd-release" doesn't read setting in Amavisd config file to understand where the quarantined mails are stored. In this case, you need to write a simple script to release email with command like 'telnet or other tools.

Check its doc below, you need "quar_type=Q" to tell Amavisd to release email from SQL db, not from local file system:
https://amavis.org/README.protocol.txt

BTW, with iRedAdmin-Pro, just few clicks. Besides, you can view mail headers and mail body of quarantined emails. smile

The reason is there is an error in amavisd-release. There is no "quar_type='Q'" in the script.

I created a new file "amavisd-release-sql" and changed the line following line:
  my $quar_type = $fn_suffix eq '.gz' ? 'Z' : $fn_path ne '' ? 'F' : ' ';

The new line is
  my $quar_type = $fn_suffix eq '.gz' ? 'Z' : $fn_path ne '' ? 'F' : 'Q';

Now it's working fine.


Viewing all articles
Browse latest Browse all 43382

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>