[horde] Missing spam / ham button within IMP

sascha at schmidt.ps sascha at schmidt.ps
Sun Nov 23 16:09:05 UTC 2014


Tried nearly every combination of Junk configuration. But every time  
the spam config works, the "Junk" folder disappears on my iOS devices.

Someone has a hint? I ran out of ideas...

Greets
Sascha

> Am 21.11.2014 um 16:17 schrieb sascha at schmidt.ps:
>
> Ok, you can tar and feather me... :-)
> My configuration is right, except the filename.
>
> I used backend.local.php and not (as requested) backendS.local.php ...
>
> But one important thing is remaining. If I define a Spam folder  
> within  the preferences (for example the existing IMAP Spam folder  
> "Junk")  this folder isn't displayed anymore on my ios device over  
> activesync.  So the "Move to Junk" function does not work anymore on  
> my mobile  device (Junk folder missing).
>
> Zitat von sascha at schmidt.ps:
>
>> All these suggestions will not give me SPAM report button. I don't   
>> need an external program because moving the spam to a special   
>> directory will trigger a sa-learn process...
>>
>> The spam button will be placed next to DELETE, FORWARD, ...?
>>
>> Zitat von Ole Wolf <ole at naturloven.dk>:
>>
>>> I'm not sure if it heps, but here's my backend.local.php, and spam
>>> reporting seems to work:
>>>  <?php
>>>  $servers['imap'] = array(
>>>     'disabled' => false,
>>>     'name' => 'IMAP Server',
>>>     'hostspec' => 'localhost',
>>>     'hordeauth' => 'true',
>>>     'protocol' => 'imap',
>>>     'port' => 143,
>>>     // Plaintext logins are disabled by default on IMAP servers (see RFC
>>> 3501       // [6.2.3])                                              
>>>                        'secure' => 'tls',
>>>     'maildomain' => 'mydomain.com',
>>>     // 'smtphost' => 'smtp.example.com',                            
>>>                 // 'smtpport' => 25,                                
>>>                             'cache' => false,
>>>     'spam' => array(
>>>     )
>>> );
>>>
>>> $servers['imap']['spam']['innocent']['program'] = '/usr/bin/spamc -C
>>> revoke -u \
>>> %l';
>>>
>>> $servers['imap']['spam']['spam']['program'] = '/usr/bin/spamc -C report -u
>>> %l';
>>>
>>> Quoting sascha at schmidt.ps:
>>>
>>>> Hi,
>>>>
>>>> I cannot figure out why the spam/ham button is missing within the imp
>>>> webinterface. My configuration within the file backend.local.php:
>>>>
>>>> <?php
>>>> $servers['imap']['disabled'] = true;
>>>> $servers['advanced'] = array(
>>>>    'disabled' => false,
>>>>    'name' => 'IMAP Server',
>>>>    'hostspec' => 'localhost',
>>>>    'hordeauth' => full,
>>>>    'protocol' => 'imap',
>>>>    'port' => 143,
>>>>    'secure' => 'tls',
>>>>    'spam' => array(
>>>>        'innocent' => array(
>>>>            'display' => true,
>>>>            'email' => null,
>>>>            'email_format' => 'digest',
>>>>            'null' => true,
>>>>            'program' => null
>>>>        ),
>>>>        'spam' => array(
>>>>            'display' => false,
>>>>            'email' => null,
>>>>            'email_format' => 'digest',
>>>>            'null' => true,
>>>>            'program' => null
>>>>        )
>>>>    ),
>>>>    'special_mboxes' => array(
>>>>        IMP_Mailbox::MBOX_DRAFTS => 'Drafts',
>>>>        IMP_Mailbox::MBOX_SENT => 'Sent',
>>>>        IMP_Mailbox::MBOX_SPAM => 'Junk',
>>>>        IMP_Mailbox::MBOX_TEMPLATES => 'Templates',
>>>>        IMP_Mailbox::MBOX_TRASH => 'Trash',
>>>>    )
>>>> );
>>>> ?>
>>>>
>>>> Additionally I've configured the Spam folder within my individual
>>>> preferences. The Spam folder appears in the left folderlist and is
>>>> locally named "Spam" ("Junk" called on IMAP).
>>>>
>>>> But the spam/ham button is still missing.
>>>> Any hints for me?
>>>>
>>>> GreetsSascha
>>> -- 
>>> Ole Wolf
>>> Rødhættevej 4 • 9400 Nørresundby
>>> Telefon: 9632-0108 • Mobil: 2467-5526 • Skype: ole.wolf
>>
>>
>> -- 
>> Horde mailing list
>> Frequently Asked Questions: http://horde.org/faq/
>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>
>
> -- 
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
> Ok, you can tar and feather me... :-)
> My configuration is right, except the filename.
>
> I used backend.local.php and not (as requested) backendS.local.php ...
>
> But one important thing is remaining. If I define a Spam folder  
> within the preferences (for example the existing IMAP Spam folder  
> "Junk") this folder isn't displayed anymore on my ios device over  
> activesync. So the "Move to Junk" function does not work anymore on  
> my mobile device (Junk folder missing).
>
> Zitat von sascha at schmidt.ps:
>
>> All these suggestions will not give me SPAM report button. I don't  
>> need an external program because moving the spam to a special  
>> directory will trigger a sa-learn process...
>>
>> The spam button will be placed next to DELETE, FORWARD, ...?
>>
>> Zitat von Ole Wolf <ole at naturloven.dk>:
>>
>>> I'm not sure if it heps, but here's my backend.local.php, and spam
>>> reporting seems to work:
>>>  
>>> <?php
>>>  
>>> $servers['imap'] = array(
>>>     'disabled' => false,
>>>     'name' => 'IMAP Server',
>>>     'hostspec' => 'localhost',
>>>     'hordeauth' => 'true',
>>>     'protocol' => 'imap',
>>>     'port' => 143,
>>>     // Plaintext logins are disabled by default on IMAP servers (see RFC
>>> 3501   
>>>     // [6.2.3])                                      
>>>                           
>>>     'secure' => 'tls',
>>>     'maildomain' => 'mydomain.com',
>>>     // 'smtphost' => 'smtp.example.com',                    
>>>                    
>>>     // 'smtpport' => 25,                                
>>>                        
>>>     'cache' => false,
>>>     'spam' => array(
>>>     )
>>> );
>>>
>>> $servers['imap']['spam']['innocent']['program'] = '/usr/bin/spamc -C
>>> revoke -u \
>>> %l';
>>>
>>> $servers['imap']['spam']['spam']['program'] = '/usr/bin/spamc -C report -u
>>> %l';
>>>
>>> Quoting sascha at schmidt.ps:
>>>
>>>> Hi,
>>>>
>>>> I cannot figure out why the spam/ham button is missing within the imp
>>>> webinterface. My configuration within the file backend.local.php:
>>>>
>>>> <?php
>>>> $servers['imap']['disabled'] = true;
>>>> $servers['advanced'] = array(
>>>>    'disabled' => false,
>>>>    'name' => 'IMAP Server',
>>>>    'hostspec' => 'localhost',
>>>>    'hordeauth' => full,
>>>>    'protocol' => 'imap',
>>>>    'port' => 143,
>>>>    'secure' => 'tls',
>>>>    'spam' => array(
>>>>        'innocent' => array(
>>>>            'display' => true,
>>>>            'email' => null,
>>>>            'email_format' => 'digest',
>>>>            'null' => true,
>>>>            'program' => null
>>>>        ),
>>>>        'spam' => array(
>>>>            'display' => false,
>>>>            'email' => null,
>>>>            'email_format' => 'digest',
>>>>            'null' => true,
>>>>            'program' => null
>>>>        )
>>>>    ),
>>>>    'special_mboxes' => array(
>>>>        IMP_Mailbox::MBOX_DRAFTS => 'Drafts',
>>>>        IMP_Mailbox::MBOX_SENT => 'Sent',
>>>>        IMP_Mailbox::MBOX_SPAM => 'Junk',
>>>>        IMP_Mailbox::MBOX_TEMPLATES => 'Templates',
>>>>        IMP_Mailbox::MBOX_TRASH => 'Trash',
>>>>    )
>>>> );
>>>> ?>
>>>>
>>>> Additionally I've configured the Spam folder within my individual
>>>> preferences. The Spam folder appears in the left folderlist and is
>>>> locally named "Spam" ("Junk" called on IMAP).
>>>>
>>>> But the spam/ham button is still missing.
>>>> Any hints for me?
>>>>
>>>> GreetsSascha
>>> -- 
>>> Ole Wolf
>>> Rødhættevej 4 • 9400 Nørresundby
>>> Telefon: 9632-0108 • Mobil: 2467-5526 • Skype: ole.wolf
>>
>>
>> -- 
>> Horde mailing list
>> Frequently Asked Questions: http://horde.org/faq/
>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>
>
> -- 
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>



More information about the horde mailing list