[horde] Mark As Spam Button

Andreas Mauser andreas at mauser.info
Fri Feb 20 22:15:27 UTC 2015


  ----- Nachricht von Brian Spraker <spraker at yahoo.com> ---------
     Datum: Fri, 20 Feb 2015 22:07:24 +0000 (UTC)
       Von: Brian Spraker <spraker at yahoo.com>
Antwort an: Brian Spraker <spraker at yahoo.com>
   Betreff: Re: [horde] Mark As Spam Button
        An: Andreas Mauser <andreas at mauser.info>, horde at lists.horde.org

>  
>
>> -------------------------
>> FROM: Andreas Mauser <andreas at mauser.info>
>> TO: horde at lists.horde.org
>> SENT: Friday, February 20, 2015 3:20 PM
>> SUBJECT: Re: [horde] Mark As Spam Button
>>
>> It's still there.
>>
>>  
>>
>> ----- Nachricht von Brian Spraker <spraker at yahoo.com> ---------
>>       Datum: Fri, 20 Feb 2015 21:08:12 +0000 (UTC)
>>         Von: Brian Spraker <spraker at yahoo.com>
>> Antwort an: Brian Spraker <spraker at yahoo.com>
>>     Betreff: [horde] Mark As Spam Button
>>         An: Horde Mailingliste <horde at lists.horde.org>
>>
>>> With a much older version of Horde Webmail, there was a 'mark as 
>>> spam' button.
>>> The newer version of Horde doesn't seem to have this option anymore 
>>> - although it is in the configuration.
>>> Maybe I am missing something or where it is located at - but is 
>>> there a Mark as Spam button in the current version?
>>> Brian S.
>>
>> Please compare with your config:
>>
>> cat /var/www/html/horde/imp/config/backends.local.php
>> <?php
>>
>> // IMAP server
>> $servers['imap'] = array(
>>     // ENABLED by default; will connect to IMAP port on local server
>>     'disabled' => true,
>>     'name' => 'IMAP Server',
>>     'hostspec' => 'Mailserver-IP or Name',
>>     'hordeauth' => false,
>>     'protocol' => 'imap',
>>     'port' => 143,
>>     // Plaintext logins are disabled by default on IMAP servers (see
>> RFC 3501
>>     // [6.2.3]), so TLS is the only guaranteed authentication
available
>> by
>>     // default.
>>     'secure' => 'tls',
>> );
>>
>> $servers['advanced'] = array(
>>     // Disabled by default
>>     'disabled' => false,
>>     'name' => 'Advanced IMAP Server',
>>     'hostspec' => 'localhost',
>>     'hordeauth' => false,
>>     'protocol' => 'imap',
>>     'port' => 143,
>>     'secure' => 'tls',
>>     'maildomain' => 'mauser.info',
>>     'smtp' => array(
>>     //    'auth' => true,
>>     //    'debug' => false,
>>     //    'horde_auth' => false,
>>     //    'host' => 'smtp.example.com',
>>     //    'localhost' => 'localhost',
>>     //    'password' => null,
>>     //    /* Mail from a MUA SHOULD be sent via the mail submission
>> port (587)
>>     //    * rather than the MTA port (25). Note that mail submission
>>     //    * REQUIRES some method of authentication (whether explicit
>>     //    * user/password credentials or configuring the mail
submission
>>     //    * agent to automatically authenticate this host based on
the
>>     //    * network location). */
>>     //    'port' => 587,
>>     //    'username' => null
>>     ),
>>     'spam' => array(
>>           'innocent' => array(
>>               'display' => true,
>>         //
>>         //    // Email reporting driver
>>         //    'email' => null,
>>             //    'email_format' => 'digest',
>>         //
>>     //    // Null reporting driver
>>         //    'null' => true,
>>         //
>>     //    // Program reporting driver
>>               'program' => '/usr/bin/spamc -d mx -C revoke -u
%l',
>>           ),
>>     'spam' => array(
>>               'display' => true,
>>         //
>>     //    // Email reporting driver
>>         //    'email' => null,
>>         //    'email_format' => 'digest',
>>         //
>>     //    // Null reporting driver
>>         //    'null' => true,
>>         //
>>     //    // Program reporting driver
>>               'program' => '/usr/bin/spamc -d mx -C report -u
%l',
>>           ),
>>     // // It is possible to directly define additional spam drivers.
>>         // // The 'drivers' array should contain a list of driver
objects
>>         // // (these classes must implement the IMP_Spam_Base
class).
>>         // 'drivers' => array(
>>         //    new IMP_Example_Spam_Driver()
>>         // )
>>     ),
>>     'admin' => array(
>>     //    'user' => 'cyrus',
>>     //    'password' => 'cyrus_pass',
>>     //    'userhierarchy' => 'user.'
>>     ),
>>     'acl' => true,
>>     'cache' => false,
>>     // 'debug' => '/tmp/imp_imap.log',
>>     // 'debug_raw' => false,
>>     'quota' => array(
>>         'driver' => 'imap',
>>         'params' => array(
>>             'hide_when_unlimited' => true,
>>             'unit' => '5000MB'
>>         )
>>     ),
>>     'special_mboxes' => array(
>>           IMP_Mailbox::MBOX_DRAFTS => 'Drafts',
>>           IMP_Mailbox::MBOX_SENT => 'Sent',
>>           IMP_Mailbox::MBOX_SPAM => 'Junk-E-Mail',
>>     //  IMP_Mailbox::MBOX_TEMPLATES => 'Templates',
>>           IMP_Mailbox::MBOX_TRASH => 'Trash',
>>     //    IMP_Mailbox::MBOX_USERSPECIAL => array(
>>     //        'Example' => _("Example Special Mailbox")
>>     //    )
>>     ),
>>     'autocreate_special' => false,
>> );
>>
>>          
>>
>> --
>> Horde mailing list
>> Frequently Asked Questions: http://horde.org/faq/
>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org              
>>        Thank you for the response. I have added this to the config:
>>         
>>        $servers ['advanced']['spam'] = array(
>>           'innocent' => array(
>>               'display' => true,
>>               'program' => '/usr/bin/spamc -d mx -C revoke
-u %l',
>>           ),
>>     'spam' => array(
>>               'display' => true,
>>               'program' => '/usr/bin/spamc -d mx -C report
-u %l',
>>           ),
>>     );
>>         
>>        However, I am not seeing any "Not Spam" or "Report Spam"
>> buttons.  Should these appear in the gray bar just above the e-mail
>> listing?

Since I cannot see your whole config I only can guess.

But what I learned is when I place the given content into
backends.local.php I get the expected result.
Afaik you dont need spamassassin running on the Horde server, but you
indeed need the spamc program.
In my config I let Horde send spam via spamc to the spamassassin system.
You can try to copy/paste my config into your backends.LOCAL.php file and
adapt to your needs, see if it helps.
Andreas
  <![CDATA[ <!--   @page { margin: 2cm }   P { margin-bottom: 0.21cm }
-->]]>
    
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-keys
Size: 3871 bytes
Desc: ?ffentlicher PGP-Schl?ssel
URL: <http://lists.horde.org/archives/horde/attachments/20150220/0d61ae28/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Digitale PGP-Signatur
URL: <http://lists.horde.org/archives/horde/attachments/20150220/0d61ae28/attachment-0001.bin>


More information about the horde mailing list