[horde] Blacklist and forwarding (Andre Luiz Paiz)

andre.paiz at iqm.unicamp.br andre.paiz at iqm.unicamp.br
Wed Oct 9 17:17:04 UTC 2013


Citando horde-request at lists.horde.org:

> Send horde mailing list submissions to
> 	horde at lists.horde.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.horde.org/mailman/listinfo/horde
> or, via email, send a message with subject or body 'help' to
> 	horde-request at lists.horde.org
>
> You can reach the person managing the list at
> 	horde-owner at lists.horde.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of horde digest..."
>
>
> Today's Topics:
>
>    1. Re: Blacklist and forwarding (Vilius Sumskas/LNK)
>    2. Re: Blacklist and forwarding (Andre Luiz Paiz)
>       (Andre Luiz Paiz - Instituto de Qu?mica - Unicamp)
>    3. Re: Test Script and availability on mobiles (Steffen)
>    4. Re: Test Script and availability on mobiles (John McIntyre)
>    5. Re: Test Script and availability on mobiles (John McIntyre)
>    6. Re: Test Script and availability on mobiles (Jens-U. Mozdzen)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 9 Oct 2013 15:21:36 +0300
> From: Vilius Sumskas/LNK <vilius at lnk.lt>
> To: horde at lists.horde.org
> Subject: Re: [horde] Blacklist and forwarding
> Message-ID:
>
> <OF1C6E5F7A.FBFDF454-ONC2257BFF.0042F295-C2257BFF.0043E554 at mgbaltic.lt>
>
> Content-Type: text/plain; charset="US-ASCII"
>
>> Hi Everybody.
>> Thanks for the answers.
>>
>> The statement from Vilius really makes me change my perception about the
>> blacklisting feature, where I believe is made to block a single
> mailaddress
>> like a at a.com. But I don't see another option to make the forwarding
> process
>> easier to the user.
>> I believe that my suggestion can work because DSPAM will be trained
> based on
>> the signature (token) of the header of the message, no matter who the
> sender
>> is.
>
> I understand that, but DSPAM (or any other spam training techniques) have
> nothing to do with blacklisting. So what I'm trying to say is that you
> should NOT try to use blacklist for that.
>
>> Is possible to implement that? I mean, when I  right-click an e-mail and
>> select blacklist, the system performs this extra step.
>
> As Michael already said - no. But it makes no sense to do this... see my
> above reply.
>
>> Is there another option? Like activate the report spam feature and
> attach it
>> to a forwarding process.
>
> Yes exactly IMP has a spam reporting functionality, see IMP's
> configuration for more details. You can also search Google with something
> like "IMP spam reporting". You just need to specify your program or shell
> script which will be responsible for reporting and that's it. And TELL
> users to choose Mark As Spam instead of Blacklist when they right-click
> email.
>
> For example in spamassassin you specify "/usr/bin/spamassassin -r", in
> Razor you can use "/usr/bin/razor-report" for spam and
> "/usr/bin/razor-revoke" for ham. I'm not sure how DSPAM works but I
> suppose it should have a possibility to report this similary. If not, then
>
> just create a shell script on your own and make it send email to the
> address you need. It should be like 2 or 3 lines of code.
>
> --
>    Vilius



Hi
I've made it! And it was so easy... I have just configured IMP to  
forward the e-mail to spam at mydomain (when user report as spam) and  
notspam at mydomain(when user report as ham). It worked!!!!

Check my settings:

'spam' => array(
          'innocent' => array(
              'display' => true,
         //
         //     // Email reporting driver
              'email' => 'notspam at mydomain',
              'email_format' => 'digest',
         //
         //     // Null reporting driver
         //     'null' => true,
         //
         //     // Program reporting driver
         //     'program' => null
          ),
          'spam' => array(
              'display' => true,
         //
         //     // Email reporting driver
              'email' => 'spam at mydomain',
              'email_format' => 'digest',
         //
         //     // Null reporting driver
         //     'null' => true,
         //
         //     // Program reporting driver
         //     'program' => null
         // ),
         // // 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()
          )

With that, DSPAM is receiving the e-mail on my SMTP server (which is  
in another host), processing the token and training the database.

I believe that this settings are correct, right?

Thanks a lot for your help!

Andre

>
>
> ------------------------------
>
> Message: 2
> Date: Wed, 9 Oct 2013 09:22:34 -0300
> From: Andre Luiz Paiz - Instituto de Qu?mica - Unicamp
> 	<andre.paiz at iqm.unicamp.br>
> To: <horde at lists.horde.org>
> Subject: Re: [horde] Blacklist and forwarding (Andre Luiz Paiz)
> Message-ID: <00d201cec4ea$3bfb9d60$b3f2d820$@iqm.unicamp.br>
> Content-Type: text/plain;	charset="iso-8859-1"
>
>
>
> -----Mensagem original-----
> De: horde-bounces at lists.horde.org [mailto:horde-bounces at lists.horde.org]
> Em
> nome de horde-request at lists.horde.org
> Enviada em: quarta-feira, 9 de outubro de 2013 09:11
> Para: horde at lists.horde.org
> Assunto: horde Digest, Vol 3785, Issue 3
>
> Send horde mailing list submissions to
> 	horde at lists.horde.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.horde.org/mailman/listinfo/horde
> or, via email, send a message with subject or body 'help' to
> 	horde-request at lists.horde.org
>
> You can reach the person managing the list at
> 	horde-owner at lists.horde.org
>
> When replying, please edit your Subject line so it is more specific than
> "Re: Contents of horde digest..."
>
>
> Today's Topics:
>
>    1. Re: Activesync and modsecurity (Andreas Mauser)
>    2. Re: Blacklist and forwarding
>       (Andre Luiz Paiz - Instituto de Qu?mica - Unicamp)
>    3. Re: Test Script and availability on mobiles (John McIntyre)
>    4. Re: Problems with SoGo Connector and Funambol (Robert Schetterer)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 09 Oct 2013 13:59:58 +0200
> From: Andreas Mauser <andreas at mauser.info>
> To: horde at lists.horde.org
> Subject: Re: [horde] Activesync and modsecurity
> Message-ID: <20131009135958.Horde.2KALsmwuuIkpzS4tosGv5w4 at mauser.info>
> Content-Type: text/plain; charset="utf-8"; Format="flowed";
> 	DelSp="Yes"
>
> ----- Nachricht von Michael J Rubinsky <mrubinsk at horde.org> ---------
>       Datum: Tue, 08 Oct 2013 17:31:28 -0400
>         Von: Michael J Rubinsky <mrubinsk at horde.org> Antwort an:
> mrubinsk at horde.org
>     Betreff: Re: [horde] Activesync and modsecurity
>          An: horde at lists.horde.org
>
>
>> Quoting Andreas Mauser <andreas at mauser.info>:
>>
>>> ----- Nachricht von Michael J Rubinsky <mrubinsk at horde.org> ---------
>>>     Datum: Tue, 08 Oct 2013 16:27:32 -0400
>>>       Von: Michael J Rubinsky <mrubinsk at horde.org> Antwort an:
>>> mrubinsk at horde.org
>>>   Betreff: Re: [horde] Activesync and modsecurity
>>>        An: horde at lists.horde.org
>>>
>>>
>>>> Quoting Andreas Mauser <andreas at mauser.info>:
>>>>
>>>>> ----- Nachricht von Michael J Rubinsky <mrubinsk at horde.org> ---------
>>>>>   Datum: Tue, 08 Oct 2013 15:30:35 -0400
>>>>>     Von: Michael J Rubinsky <mrubinsk at horde.org> Antwort an:
>>>>> mrubinsk at horde.org
>>>>> Betreff: Re: [horde] Activesync and modsecurity
>>>>>      An: horde at lists.horde.org
>>>>>
>>>>>
>>>>>> Quoting Andreas Mauser <andreas at mauser.info>:
>>>>>>
>>>>>>> Good evening,
>>>>>>>
>>>>>>> it 'seems' that I experience a problem with activesync and
> modsecurity.
>>>>>>>
>>>>>>> Can you confirm this error is because of the combination of both
>>>>>>> functions?
>>>>>>
>>>>>> From the 500 error, it sounds like some logger is unable to write
>>>>>> to the configured log file. Check that the location you have
>>>>>> chosen to log is writable by your php/webserver process.
>>>>>
>>>>> Thank you Mike. Are you talking of the Horde-Logfile?
>>>>>
>>>>> I configured Horde to log to syslog, which is my messages file,
>>>>> which looks like this:
>>>>>
>>>>> -rw-rw----. 1 root      apache    12622980  8. Okt 22:06 messages
>>>>>
>>>>> And Horde log messages appear in the messages file.
>>>>
>>>> Since this is an activesync request, I would check the configuration
>>>> for sync logging.
>>>
>>> I gave RW and owner to the webserver
>>>
>>> -rw-------. 1 apache apache 1114545233
>>>
>>> Is this sufficient for Horde? The log file fills up.
>>
>> You might need the x permission on the directory for the stream calls
>> to check for/create the log files. You said the log file fills up? Is
>> this the sync log you are talking about? This normally needs to create
>> new files for each device that is syncing. Do you see those?
>
> Yes, there are several files, each for each device.
>
> I will set the x flag and watch the situation further.
>
> Thank you,
> Andreas
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: smime.p7s
> Type: application/pkcs7-signature
> Size: 1832 bytes
> Desc: S/MIME-Signatur
> URL:
> <http://lists.horde.org/archives/horde/attachments/20131009/5d35b67b/attac
> hm
> ent-0001.bin>
>
> ------------------------------
>
> Message: 2
> Date: Wed, 9 Oct 2013 09:04:04 -0300
> From: Andre Luiz Paiz - Instituto de Qu?mica - Unicamp
> 	<andre.paiz at iqm.unicamp.br>
> To: <horde at lists.horde.org>
> Subject: Re: [horde] Blacklist and forwarding
> Message-ID: <009b01cec4e7$a6920540$f3b60fc0$@iqm.unicamp.br>
> Content-Type: text/plain;	charset="iso-8859-1"
>
> Hi Everybody.
> Thanks for the answers.
>
> The statement from Vilius really makes me change my perception about the
> blacklisting feature, where I believe is made to block a single
> mailaddress
> like a at a.com. But I don't see another option to make the forwarding
> process
> easier to the user.
> I believe that my suggestion can work because DSPAM will be trained based
> on
> the signature (token) of the header of the message, no matter who the
> sender
> is.
>
> Is possible to implement that? I mean, when I  right-click an e-mail and
> select blacklist, the system performs this extra step.
>
> Is there another option? Like activate the report spam feature and attach
> it
> to a forwarding process.
>
> I hope you can help me.
>
> Thanks.
>
> Andre
>
> ------------------------------
>
> Message: 3
> Date: Wed, 9 Oct 2013 13:07:21 +0100
> From: John McIntyre <joh98.mac at gmail.com>
> To: mrubinsk at horde.org, horde at lists.horde.org
> Subject: Re: [horde] Test Script and availability on mobiles
> Message-ID:
>
> <CABQ4iYg9hsAK4sOfJ002PeTf79gG4=SUqvppKi=UFCrkJ87KtQ at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi guys,
> Can I nag (pun intended...) you for help with this, as my wife is
> threatening to move to google calendar..?   :-(
>
> Trying the ActiveSync route, I look in the configuration screen, and see
> "SQL
> DB schema is ready" next to Horde ActiveSync, but there *isn't* a line
> that
> says "the application is ready".
>
> The wiki link says that the tables are 'created as usual from the horde
> configuration screen'.  But I don't see how to do that.
>
> In my httpd.conf, I have..
>
> Alias /Microsoft-Server-ActiveSync /usr/share/horde/rpc.php
> Alias /autodiscover/autodiscover.xml /usr/share/horde/rpc.php
>
> But there is no way that any of the URLs in the "subscription' tab on the
> calendar share works on either iPhone (4S) or a Galaxy S2.
>
> Thanks.. please help!!
>
>
> ------------------------------
>
> Message: 4
> Date: Wed, 09 Oct 2013 14:10:53 +0200
> From: Robert Schetterer <rs at sys4.de>
> To: horde at lists.horde.org
> Subject: Re: [horde] Problems with SoGo Connector and Funambol
> Message-ID: <525547CD.7070302 at sys4.de>
> Content-Type: text/plain; charset=ISO-8859-1
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Am 09.10.2013 11:29, schrieb Robert Schetterer:
>> Am 09.10.2013 10:49, schrieb Hanns Mattes:
>>> Hi,
>>
>>> Am 07.10.2013 21:41, schrieb Dominik Erdmann:
>>>>
>>>>
>>>> [Addresses with Horde and Thunderbird] Sorry for the imprecise
>>>> description. First I used Sogo Connector (CardDAV). Because I
>>>> observed some issues with CardDAV I tried Funambol (SyncML)
>>>> with a new address book in Thunderbird. I'm searching for a
>>>> solution to sync my contacts from Horde to Thunderbird. Does
>>>> someone observed the same issues or is it a self-made problem?
>>>> Currently I'm using Sogo Connector only to read the data from
>>>> Horde. But edit the data only in Horde. But this is not very
>>>> comfortable.
>>
>>> From my experience there is no satisfying solution with
>>> thunderbird yet. I don't want to blame anyone of the guys
>>> developing thunderbird, but the Addressbook is kind of a joke.
>>> For some reason, there seems to be more interest in integrating
>>> a chat-client then a working implementation of
>>> carddav/ldap(read/write)/activesync/whatever for the
>>> addressbook.
>>
>>> Just my 2 cent.
>>
>>> Hanns
>>
>>
>> the most Problem is , there is no thunderbird 24 plugin out yet
>>
>> see https://maurus.net/resources/funambol/
>>
>> however TB funambol Adressbook did not work perfect, but "good
>> enough" for me since years
>>
>> i am ending my brand new horde 5 setup yesterday , and will try
>> and test client stuff now , stay tuned for results
>>
>> Best Regards MfG Robert Schetterer
>>
>>
>
>
> short tests
>
> with
> latest sogo plugin from
> http://inverse.ca/downloads/extensions/nightly/
> with Horde latest stable , Tb 24 ,results in , youre right
> at the moment sogo only works partly with carddav ( Turba ), lets hope
> on an funambol update meanwhile.
>
> at tests i ve seen no errors in Tb error console or apache logs, next
> thing might debug the horde side what might fail there
>
>
>
> Best Regards
> MfG Robert Schetterer
>
> - --
> [*] sys4 AG
>
> http://sys4.de, +49 (89) 30 90 46 64
> Franziskanerstra?e 15, 81669 M?nchen
>
> Sitz der Gesellschaft: M?nchen, Amtsgericht M?nchen: HRB 199263
> Vorstand: Patrick Ben Koetter, Axel von der Ohe, Marc Schiffbauer
> Aufsichtsratsvorsitzender: Florian Kirstein
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iQEcBAEBAgAGBQJSVUfHAAoJEP8jBObu0LlEZqEIAIvUWNz7JlSeqAR9ODYVrS5a
> c2nEwWaXJUQapGQn4CkdZ+PhY/N49zMsvFuFqGbh+z3436ABclF3aejG3rwFr4Uk
> AhVFzLgN8o8MI/lUOGZlbGDZ116jDaa4Md+m4RP6Lerrf1AMxV1a9ouW9AspJZ9X
> 8yS82Qf7z5qLI8gtfcWeq6ivSZb4D1OoDYsHfHwUCLYHfC0WlY0rfR0W/i4IEgvg
> /qDXAo/lIUmeA9eFdk4G0Q7aDD3LADgWMr0QYS18uvc3JLufkh/owzumM1MSSoAN
> r1bvO+PwgmVdERM+FxycWd+3nGJUnkiJq2Nxee0MJGAfVuBZtqAqwMXT5J+dpwA=
> =QckF
> -----END PGP SIGNATURE-----
>
>
> ------------------------------
>
>
> --
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>
>
> End of horde Digest, Vol 3785, Issue 3
> **************************************
>
> Scanned and tagged with DSPAM 3.10.2 by Instituto de Quimica - Unicamp
>
>
>
>
>
>
>
> ------------------------------
>
> Message: 3
> Date: Wed, 9 Oct 2013 14:37:27 +0200 (CEST)
> From: Steffen <skhorde at smail.inf.fh-bonn-rhein-sieg.de>
> To: horde at lists.horde.org
> Cc: horde at lists.horde.org
> Subject: Re: [horde] Test Script and availability on mobiles
> Message-ID:
>
> <alpine.DEB.2.02.1310091432080.1130 at pc-2m63.inf.fh-bonn-rhein-sieg.de>
> Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII
>
> On Wed, 9 Oct 2013, John McIntyre wrote:
>
>> Trying the ActiveSync route, I look in the configuration screen, and see
> "SQL
>> DB schema is ready" next to Horde ActiveSync, but there *isn't* a line
> that
>> says "the application is ready".
>
> ActiveSync is no application, but an addition to kronolith. So no
> "Application is ready."
>
>> The wiki link says that the tables are 'created as usual from the horde
>> configuration screen'.  But I don't see how to do that.
>
> You or the installer did that already, because you see "SQL DB schema is
> ready."
>
>> In my httpd.conf, I have..
>>
>> Alias /Microsoft-Server-ActiveSync /usr/share/horde/rpc.php
>> Alias /autodiscover/autodiscover.xml /usr/share/horde/rpc.php
>
> fine.
>
>> But there is no way that any of the URLs in the "subscription' tab on
> the
>> calendar share works on either iPhone (4S) or a Galaxy S2.
>
> ActiveSync does not make use of subscrition URLs, but uses the fixed URL
> scheme via /Microsoft-Server-ActiveSync. You need to create a "Microsoft
> Exchange" account in Android - will be named similiar on oPhone. use the
> manual setting screen to enter all the data.
>
> --
> Steffen
>
>
> ------------------------------
>
> Message: 4
> Date: Wed, 9 Oct 2013 13:52:20 +0100
> From: John McIntyre <joh98.mac at gmail.com>
> To: Steffen <skhorde at smail.inf.fh-bonn-rhein-sieg.de>,
> 	horde at lists.horde.org
> Subject: Re: [horde] Test Script and availability on mobiles
> Message-ID:
>
> <CABQ4iYhLAH9UVnogK6rjLtF4yMhy9Xs8WsVmTgnZbrTnKb_67Q at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Sorry, I forgot to reply to the list..
>
>
>>> But there is no way that any of the URLs in the
>>> "subscription' tab on the calendar share works on
>>> either iPhone (4S) or a Galaxy S2.
>
>> ActiveSync does not make use of subscrition URLs,
>> but uses the fixed URL scheme via /Microsoft-Server-
>> ActiveSync. You need to create a "Microsoft Exchange"
>> account in Android - will be named similiar on oPhone.
>> use the manual setting screen to enter all the data.
>
> Hi Steffen,
> Thanks for this.  I try adding an account to my iPhone.  So I go..
>
> 1.  Add account
> 2.  Select "Exchange" as type
> 3.  In "Address", I enter me at myhordemain.com
> 4.  In "Server', I enter https://myhordemain.com
>
> When I click 'OK', I get "Impossible to verify account details".
>
> The calendar doesn't appear in the iPhone app.
>
> Just a random thought: is this happening on a different port from the
> standard apache one?  Because that might explain why I can't get to the
> server.
>
> After your response here, I even tried
> https://myhordemain.com/Microsoft-Server-ActiveSync
>
> Still no luck.  I'm sure that this is a simple thing that I need to
> change.
>  Appreciate your help.
>
>
> 2013/10/9 John McIntyre <joh98.mac at gmail.com>
>
>>
>> >> But there is no way that any of the URLs in the
>> >> "subscription' tab on the calendar share works on
>> >> either iPhone (4S) or a Galaxy S2.
>>
>> > ActiveSync does not make use of subscrition URLs,
>> > but uses the fixed URL scheme via /Microsoft-Server-
>> > ActiveSync. You need to create a "Microsoft Exchange"
>> > account in Android - will be named similiar on oPhone.
>> > use the manual setting screen to enter all the data.
>>
>> Hi Steffen,
>> Thanks for this.  I try adding an account to my iPhone.  So I go..
>>
>> 1.  Add account
>> 2.  Select "Exchange" as type
>> 3.  In "Address", I enter me at myhordemain.com
>> 4.  In "Server', I enter https://myhordemain.com
>>
>> Password and username etc are as I'd expect.
>>
>> When I click 'OK', I get "Impossible to verify account details".
>>
>> The calendar doesn't appear in the iPhone app.
>>
>> Just a random thought: is this happening on a different port from the
>> standard apache one?  Because that might explain why I can't get to the
>> server.
>>
>> After your response here, I even tried
>> https://myhordemain.com/Microsoft-Server-ActiveSync
>>
>> Still no luck.  I'm sure that this is a simple thing that I need to
>> change.  Appreciate your help.
>>
>
>
> ------------------------------
>
> Message: 5
> Date: Wed, 9 Oct 2013 13:55:18 +0100
> From: John McIntyre <joh98.mac at gmail.com>
> To: Steffen <skhorde at smail.inf.fh-bonn-rhein-sieg.de>,
> 	horde at lists.horde.org
> Subject: Re: [horde] Test Script and availability on mobiles
> Message-ID:
>
> <CABQ4iYiHU_Z_MerR7YDF0FjErC7bGaQiP2WtJJNFz9UUTUN5bQ at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> As a matter of interest, I get this in the logs ...
>
> [Wed Oct 09 13:10:32 2013] [error] [client XXX.XXX.XXX.XXX] File does not
> exist: /var/www/html/Autodiscover
>
>
> ------------------------------
>
> Message: 6
> Date: Wed, 09 Oct 2013 15:20:37 +0200
> From: "Jens-U. Mozdzen" <jmozdzen at nde.ag>
> To: horde at lists.horde.org
> Subject: Re: [horde] Test Script and availability on mobiles
> Message-ID: <20131009152037.Horde.gHSB7AMnxCI10QLLtV6skg1 at www3.nde.ag>
> Content-Type: text/plain; charset=UTF-8; format=flowed; DelSp=Yes
>
> Hi John,
>
> Zitat von John McIntyre <joh98.mac at gmail.com>:
>> As a matter of interest, I get this in the logs ...
>>
>> [Wed Oct 09 13:10:32 2013] [error] [client XXX.XXX.XXX.XXX] File does
> not
>> exist: /var/www/html/Autodiscover
>
> There's a mechanism to auto-discover the required settings for the
> account, but you Apache configuration is lacking the required
> statements (something along the lines "Alias
> /autodiscover/autodiscover.xml /var/www/horde/rpc.php"). For the few
> devices I support using Activesync, I never bothered to set that up,
> so I'm no help with those details.
>
> Instead, you can continue to set up the account manually, i.e.
> entering the server name, account name & password, etc. At least
> that's how it works on all WebOS & Android devices I've had to deal
> with...
>
> Regards,
> Jens
>
>
>
> ------------------------------
>
>
> --
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>
>
> End of horde Digest, Vol 3785, Issue 4
> **************************************
>
> Scanned and tagged with DSPAM 3.10.2 by Instituto de Quimica - Unicamp
>
> !DSPAM:1118,5255585478188376915213!





More information about the horde mailing list