[horde] Report spam button and moving spam to Spam folder.
P.V.Anthony
anthony at mindmedia.com.sg
Fri Sep 29 20:13:53 UTC 2017
On 30/09/2017 02:35, Andreas Mauser wrote:
> In backends.local I have:
> <?php
> $servers['imap']['disabled'] = true;
> $servers['advanced']['disabled'] = false;
> $servers['advanced']['hordeauth'] = false;
> $servers['advanced']['hostspec'] = 'mailserver-IP-here';
> $servers['advanced']['secure'] = tls;
> $servers['advanced']['port'] = 143;
> $servers['advanced']['maildomain'] = 'maildomain-here';
> $servers['advanced']['acl'] = true;
> $servers['advanced']['protocol'] = imap;
> $servers['advanced']['cache'] = none;
> $servers['advanced']['quota']['params']['unit'] = GB;
> $servers['advanced']['quota']['params']['hide_when_unlimited'] = false;
>
> $servers['advanced']['spam']['innocent']['program'] = '/usr/bin/spamc -d
> mx -C revoke -u %l';
> $servers['advanced']['spam']['innocent']['display'] = true;
> $servers['advanced']['spam']['spam']['program'] = '/usr/bin/spamc -d mx
> -C report -u %l';
> $servers['advanced']['spam']['spam']['display'] = true;
> $servers['advanced']['autocreate_special'] = true;
>
> $servers['advanced']['debug'] = '/var/log/horde_imp.log';
> $servers['advanced']['debug_raw'] = false;
>
> And the setting you want to change, I do change in the User GUI.
> If you set it and save you will see the changes in the conf files.
>
> Hope that helps.
> Andreas
Thank you for sharing the config. This has helped me a lot! Thank you
again for sharing the config!
Here is my final working config. For the program I am using /bin/false
because I have setup dovecot to do the antispam with rspamd when the
email is moved to the spam folder.
<?php
$servers['imap']['disabled'] = true;
$servers['imap_server']['disabled'] = false;
$servers['imap_server']['name'] = 'IMAP Server';
$servers['imap_server']['hordeauth'] = false;
$servers['imap_server']['hostspec'] = 'localhost';
$servers['imap_server']['secure'] = tls;
$servers['imap_server']['port'] = 143;
//$servers['imap_server']['maildomain'] = 'maildomain-here';
//$servers['imap_server']['acl'] = true;
$servers['imap_server']['protocol'] = imap;
$servers['imap_server']['cache'] = none;
$servers['imap_server']['quota']['driver'] = 'imap';
$servers['imap_server']['quota']['params']['unit'] = GB;
$servers['imap_server']['quota']['params']['hide_when_unlimited'] = false;
$servers['imap_server']['spam']['innocent']['program'] = '/bin/false';
$servers['imap_server']['spam']['innocent']['display'] = true;
$servers['imap_server']['spam']['spam']['program'] = '/bin/false';
$servers['imap_server']['spam']['spam']['display'] = false;
//$servers['imap_server']['autocreate_special'] = true;
//$servers['imap_server']['debug'] = '/var/log/horde_imp.log';
//$servers['imap_server']['debug_raw'] = false;
P.V.Anthony
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3947 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://lists.horde.org/archives/horde/attachments/20170930/289abdc3/attachment-0001.bin>
More information about the horde
mailing list