From sguney at metu.edu.tr Mon Jun 27 01:37:59 2005 From: sguney at metu.edu.tr (Servet Guney) Date: Mon, 27 Jun 2005 11:37:59 +0300 Subject: [imp] Localization file Turkish Message-ID: <42BFBAE7.8060902@metu.edu.tr> Hi, I downloaded and installed IMP from cvs...But I am expericing difficulties with locales.. I am trying to use the IMP with language turkish but it has many bugs in localization file.....I have realized that the locale file tr_TR.po is not changed since Dec 28 2002....Is there a new version?.....Or let me put another way...Is there a plan to update the locale file for turkish in soon (if yes when?).... Thanks.... From v.couvreur at efranque.com Mon Jun 27 01:59:03 2005 From: v.couvreur at efranque.com (Vincent Couvreur) Date: Mon, 27 Jun 2005 10:59:03 +0200 Subject: [imp] [IMP] [H3-4.0.3] Problem folder creation Message-ID: <006701c57af6$792ef070$0e01a8c0@casimir> My configuration : - Postfix - Cyrus 2.1.19-3 - ... When i sent mail via imp, and it tried to create the sent-mail folder, imp repond 'permission denied'. It 's the same for the trash folder, spam folder. But when i create a folder under the INBOX, no problem. I read on the mailling archive, i must configure servers.php, namespace to 'INBOX.' : $servers['cyrus'] = array( 'name' => 'Cyrus IMAP Server', 'server' => 'localhost', 'hordeauth' => false, 'protocol' => 'imap/notls', 'port' => 143, 'folders' => '', 'namespace' => 'INBOX.', So can you help me please. From asa at isac.ernet.in Mon Jun 27 02:20:07 2005 From: asa at isac.ernet.in (Anant S Athavale) Date: Mon, 27 Jun 2005 14:50:07 +0530 Subject: [imp] Forward mails using Ingo. Message-ID: <20050627091002.0C1251134@mail.isac.ernet.in> I am using Sieve backend for Ingo filters.? As administrator, I want to change Forward address of some users without using Ingo GUI. How to do ? Regards, Anant Athavale, From jan at horde.org Mon Jun 27 02:18:10 2005 From: jan at horde.org (Jan Schneider) Date: Mon, 27 Jun 2005 11:18:10 +0200 Subject: [imp] Localization file Turkish In-Reply-To: <42BFBAE7.8060902@metu.edu.tr> References: <42BFBAE7.8060902@metu.edu.tr> Message-ID: <20050627111810.re647ijr40wko8s8@neo.wg.de> Zitat von Servet Guney : > Hi, > I downloaded and installed IMP from cvs...But I am expericing > difficulties with locales.. > I am trying to use the IMP with language turkish but it has many bugs in > localization file.....I have realized that the locale file tr_TR.po is > not changed since Dec 28 2002....Is there a new version?.....Or let me No. > put another way...Is there a plan to update the locale file for turkish > in soon (if yes when?).... If someone contributes an updated translation... Jan. -- Do you need professional PHP or Horde consulting? http://horde.org/consulting/ From aljesh at gmail.com Mon Jun 27 05:26:18 2005 From: aljesh at gmail.com (Aljesh) Date: Mon, 27 Jun 2005 22:26:18 +1000 Subject: [imp] IMP Problem Message-ID: We use IMP on the https://conway.cat.org.au/imp/ site. At the present time All of the users are not able to log in properly. As soon as they log on and click on an email or arrow they are thrown back out to the log on page.. What could be the cause of it? I will fwd all information on to the admins. Allan S. -- Have Fun - Have Life... Get Firefox! From vyhnal at cns-net.cz Mon Jun 27 07:27:55 2005 From: vyhnal at cns-net.cz (Petr Vyhnal) Date: Mon, 27 Jun 2005 16:27:55 +0200 Subject: [imp] Show new messages in subfolders Message-ID: <1119882475.6144.8.camel@localhost.localdomain> Hello, I have IMAP server with Horde/IMP as a webmail. Only thing I can't solve is problem with new mails in subfolders When user login he can see x new mails in Inbox, but he can't see if he has some new mail in another subfolders. I know that he can use something like check all selected folders in folders menu, but I want this automatically at login. Is there any solution? Rudiik From kevin at ualberta.net Mon Jun 27 08:50:12 2005 From: kevin at ualberta.net (Kevin Konowalec) Date: Mon, 27 Jun 2005 09:50:12 -0600 Subject: [imp] Configuration problem? Message-ID: <164E7314-7154-4365-B62D-8AA964114799@ualberta.net> Periodically my server stops responding entirely. Once I restart it everything is fine... in my error logs I get: [Mon Jun 27 09:35:14 2005] [error] mod_ssl: Cannot open SSLSessionCache DBM file `/var/www/logs/ssl_scache' for writing (store) (System error follows) [Mon Jun 27 09:35:14 2005] [error] System: Too many open files (errno: 24) This suggests that it's not releasing https sessions and then eventually just craters when it can't open any more. Restarting the web server brings things back to normal. I wrote a quick little query to see who was connected and for how long and I see people who have been logged on for like 35 hours. We need to have sessions autoexpire after a period of inactivity. Right now the performance of this server is abysmal - RIDICULOUSLY slow and then you have the periodic hanging. Where can I look to troubleshoot this? We're supposed to go production with Imp soon but as it stands I can't recommend that to my boss. From kevin_myer at iu13.org Mon Jun 27 09:18:39 2005 From: kevin_myer at iu13.org (Kevin Myer) Date: Mon, 27 Jun 2005 12:18:39 -0400 Subject: [imp] Configuration problem? In-Reply-To: <164E7314-7154-4365-B62D-8AA964114799@ualberta.net> References: <164E7314-7154-4365-B62D-8AA964114799@ualberta.net> Message-ID: <20050627121839.zlm64ao59s84s0kc@webapps.iu13.org> Quoting Kevin Konowalec : > I wrote a quick little query to see who was connected and for how > long and I see people who have been logged on for like 35 hours. We > need to have sessions autoexpire after a period of inactivity. Right > now the performance of this server is abysmal - RIDICULOUSLY slow and > then you have the periodic hanging. Probably neither are IMP or Horde related. Check your Apache config and your OS config for your web server, and any related configs for your database and mail servers. You reported (I believe) that you are running OpenBSD and that connection to mail from IMP is slow but not from the command line. Are you running Apache chroot? If so, do you have your chroot jail setup properly? Do you have a reasonable number of file descriptors available for the number of connections and users you plan to support? Kevin -- Kevin M. Myer Senior Systems Administrator Lancaster-Lebanon Intermediate Unit 13 http://www.iu13.org From klaus at u-h-l.de Mon Jun 27 10:54:50 2005 From: klaus at u-h-l.de (Klaus Uhl) Date: Mon, 27 Jun 2005 19:54:50 +0200 Subject: [imp] Show new messages in subfolders In-Reply-To: <1119882475.6144.8.camel@localhost.localdomain> References: <1119882475.6144.8.camel@localhost.localdomain> Message-ID: <20050627195450.nwm10p9bc34soo0s@horde.u-h-l.de> Hi, Quoting Petr Vyhnal : > I have IMAP server with Horde/IMP as a webmail. Only thing I can't solve > is problem with new mails in subfolders When user login he can see x new > mails in Inbox, but he can't see if he has some new mail in another > subfolders. I know that he can use something like check all selected > folders in folders menu, but I want this automatically at login. Is > there any solution? I use the Horde "Portal Block" as login page. In the Horde configuration you can activate the "Mail Folder Summary" which shows how much new messages are in each mailbox which has been marked as inbox. But I think it is the user who has to mark his folders as inbox (IMP: Folders -> "Check Folder(s) for New Mail"). Another possibility is the "Virtual INBOX". It shows all new messages in all folders which have been marked as inbox. But I am not sure if or how you could make the virtual inbox the default login folder. Users can select their default mailbox in the "Login Tasks" options but the virtual inbox doesn't show up in the list to select from (at least in my installation). - Klaus -- Keiner ist so verr?ckt, dass er nicht einen noch Verr?ckteren findet, der ihn versteht. \|/ ____ \|/ (Friedrich Nietzsche) "@'/ ,. \`@" \_| \__/ |_/ Mail : klaus at u-h-l.de \__U_/ WWW : www.u-h-l.de PGP : 0x128F9DEC ICQ : 133448107 From dfrazier at glengroup.com Mon Jun 27 11:32:26 2005 From: dfrazier at glengroup.com (Daniel Frazier) Date: Mon, 27 Jun 2005 14:32:26 -0400 Subject: [imp] virtual users and their from addys... Message-ID: <42C0463A.6040300@glengroup.com> greetz all, I'm using horde-3.0.3, imp-h3-4.0.2 and turba-h3-2.0.2 on a qmail server which uses vpopmail for virtual domain management. I have searched the FAQ and the mailing lists but haven't found a solution to my problem (although it has been asked before), and am finally resorting to asking for help. I've got an issue with the From addy that's used when a virtual user composes an email. The addy is shown as virtuser%virtdomain at realdomain. Mail gets sent, but replying to that addy won't work. I'm hoping there's a way to fix this so that I don't have to just tell the users to update their identity prior to sending any emails. I'd like to have the from address automagically set to virtuser at virtdomain. Have I overlooked some functionality that's already there? I looked at the virtual user hook, but that looks like it will set the from address to virtuser at realdomain, which isn't what I need. Now, I'm not a PHP coder, so it's entirely possible I misinterpreted that code. If the code's already there can someone let me know what I need to enable to get the right address, otherwise would someone be so kind as to provide a patch or a snippit of code that I can manually add? Thanks... -- ---------------------------------------------------------------------- Daniel Frazier Tel: 603-356-3030 Ext. 331 Systems Administrator Glen Group WWW: http://www.glengroup.com/ "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." - Benjamin Franklin, Historical Review of Pennsylvania, 1759. From jjrohac at ilstu.edu Mon Jun 27 13:00:32 2005 From: jjrohac at ilstu.edu (Jim Rohacik) Date: Mon, 27 Jun 2005 15:00:32 -0500 (CDT) Subject: [imp] Formatting "glitch" in imp? In-Reply-To: Message-ID: I don't know if this has been mentioned before so I apologize if this is a repeat. I am currently running Horde 3.0.4/Imp H3 4.0.3 on Solaris 9 (SPARC) with a postgres backend for prefs, datatree, etc. Everything works well except for one occasional "glitch." Sometimes, when refreshing or advancing through mail messages in imp (not reading them, just displaying the message listings), the interface loses it formatting in the listings "frame" and the subject, arrival time, etc. gets all scrunched together instead of being displayed in equal-spaced columns. This only happens using the Firefox web browser on a Windows XP platform (as far as I can tell). Using Firefox on a Solaris platform works fine. I have also tested this with Mozilla, IE and Safari. Those browsers are fine as well. Has anyone seen this behavior? If it is a known issue, I don't want to post a duplicate bug report, etc. Also, if it is a known issue does anyone have a fix for it? Thanks, Jim From kevin_myer at iu13.org Mon Jun 27 13:05:38 2005 From: kevin_myer at iu13.org (Kevin Myer) Date: Mon, 27 Jun 2005 16:05:38 -0400 Subject: [imp] Formatting "glitch" in imp? In-Reply-To: References: Message-ID: <20050627160538.b6d7kpayn5s0gk4c@webapps.iu13.org> Quoting Jim Rohacik : > If it is a known issue, I don't want to post a duplicate bug report, > etc. Also, if it is a known issue does anyone have a fix for it? Its a bug in the Gecko code. It is reportedly fixed in Firefox 1.1. http://bugs.horde.org/ticket/?id=1671 (my logging, which is a duplicate of 1025, contains a link to the Gecko bug). Kevin -- Kevin M. Myer Senior Systems Administrator Lancaster-Lebanon Intermediate Unit 13 http://www.iu13.org From sguney at metu.edu.tr Tue Jun 28 02:03:34 2005 From: sguney at metu.edu.tr (Servet Guney) Date: Tue, 28 Jun 2005 12:03:34 +0300 Subject: [imp] Localization file Turkish In-Reply-To: <20050627111810.re647ijr40wko8s8@neo.wg.de> References: <42BFBAE7.8060902@metu.edu.tr> <20050627111810.re647ijr40wko8s8@neo.wg.de> Message-ID: <42C11266.3020704@metu.edu.tr> Jan Schneider wrote: >Zitat von Servet Guney : > > > >>Hi, >>I downloaded and installed IMP from cvs...But I am expericing >>difficulties with locales.. >>I am trying to use the IMP with language turkish but it has many bugs in >>localization file.....I have realized that the locale file tr_TR.po is >>not changed since Dec 28 2002....Is there a new version?.....Or let me >> >> > >No. > > > >>put another way...Is there a plan to update the locale file for turkish >>in soon (if yes when?).... >> >> > >If someone contributes an updated translation... > >Jan. > > > Hi, if there is no update plan, then we want to contribute the translation...We can start the translation for (turkish) locale file immediately (today actually :) )... Servet Guney Ahmet Ozturk From Nicolas.Schmitz at ec-nantes.fr Tue Jun 28 03:00:27 2005 From: Nicolas.Schmitz at ec-nantes.fr (Nicolas Schmitz) Date: Tue, 28 Jun 2005 12:00:27 +0200 Subject: [imp] Show new messages in subfolders In-Reply-To: <1119882475.6144.8.camel@localhost.localdomain> References: <1119882475.6144.8.camel@localhost.localdomain> Message-ID: <42C11FBB.30609@ec-nantes.fr> A quick hack to enable this in the left menu is to comment the "if ($imptree->isPolled($mailbox))" in horde/imp/lib/Block/tree_folders.php. This sould be "by default", or at least a (global) pref. diff -Nu tree_folders.php tree_folders.php.new --- tree_folders.php 2005-06-28 12:19:58.426759830 +0200 +++ tree_folders.php.new 2005-06-28 12:19:32.102983539 +0200 @@ -69,7 +69,7 @@ if (!$imptree->isContainer($mailbox)) { /* We are dealing with mailboxes here. Determine if we * need to poll this mailbox for new messages. */ - if ($imptree->isPolled($mailbox)) { + /*if ($imptree->isPolled($mailbox)) {*/ /* If we need message information for this folder, * update it now. */ $msgs_info = $imptree->getElementInfo($mailbox['value']); @@ -80,7 +80,7 @@ $unseen += $msgs_info['unseen']; $mailbox['label'] = '' . $mailbox['label'] . ' (' . $msgs_info['unseen'] . ') '; } - } + /* }*/ } /* If this is the INBOX, save it to later rewrite our parent Petr Vyhnal a ?crit : >Hello, > >I have IMAP server with Horde/IMP as a webmail. Only thing I can't solve >is problem with new mails in subfolders When user login he can see x new >mails in Inbox, but he can't see if he has some new mail in another >subfolders. I know that he can use something like check all selected >folders in folders menu, but I want this automatically at login. Is >there any solution? > >Rudiik > > -- Nicolas Schmitz From linuxbox at wavenet.at Tue Jun 28 04:55:28 2005 From: linuxbox at wavenet.at (martin hochreiter) Date: Tue, 28 Jun 2005 13:55:28 +0200 Subject: [imp] Imp shows error message while opening folders Message-ID: <42C13AB0.2090707@wavenet.at> Hi! I am knew at horde and imp. I try this plattform as substitution for my imap server (with integrated, but very slow) webmail. I installed and configured horde and imp and could successfully log on to imp and receive my emails. But if I click on folders just the 'Inbox' folder is shown and 3 'Undefined property: messages in ....horde/tree.php' occurs. How can I fix that? lg From slusarz at mail.curecanti.org Tue Jun 28 08:53:44 2005 From: slusarz at mail.curecanti.org (Michael M Slusarz) Date: Tue, 28 Jun 2005 09:53:44 -0600 Subject: [imp] Show new messages in subfolders In-Reply-To: <42C11FBB.30609@ec-nantes.fr> References: <1119882475.6144.8.camel@localhost.localdomain> <42C11FBB.30609@ec-nantes.fr> Message-ID: <20050628095344.6y5awhmq8c0ssscc@bigworm.curecanti.org> Quoting Nicolas Schmitz : > A quick hack to enable this in the left menu is to comment the "if > ($imptree->isPolled($mailbox))" in horde/imp/lib/Block/tree_folders.php. > This sould be "by default", or at least a (global) pref. > > diff -Nu tree_folders.php tree_folders.php.new > --- tree_folders.php 2005-06-28 12:19:58.426759830 +0200 > +++ tree_folders.php.new 2005-06-28 12:19:32.102983539 +0200 > @@ -69,7 +69,7 @@ > if (!$imptree->isContainer($mailbox)) { > /* We are dealing with mailboxes here. Determine if we > * need to poll this mailbox for new messages. */ > - if ($imptree->isPolled($mailbox)) { > + /*if ($imptree->isPolled($mailbox)) {*/ > /* If we need message information for this folder, > * update it now. */ > $msgs_info = > $imptree->getElementInfo($mailbox['value']); > @@ -80,7 +80,7 @@ > $unseen += $msgs_info['unseen']; > $mailbox['label'] = ' dir="ltr">' . $mailbox['label'] . ' (' . > $msgs_info['unseen'] . ') '; > } > - } > + /* }*/ > } > > /* If this is the INBOX, save it to later rewrite > our parent Or a much better way is simply to check all folders in the IMP folders screen and select "Check folder for new mail" from the drop down list. That's the whole purpose of isPolled(). michael _______________________________________ Michael Slusarz [slusarz at curecanti.org] From kevin_myer at iu13.org Tue Jun 28 09:18:08 2005 From: kevin_myer at iu13.org (Kevin Myer) Date: Tue, 28 Jun 2005 12:18:08 -0400 Subject: [imp] Show new messages in subfolders In-Reply-To: <20050628095344.6y5awhmq8c0ssscc@bigworm.curecanti.org> References: <1119882475.6144.8.camel@localhost.localdomain> <42C11FBB.30609@ec-nantes.fr> <20050628095344.6y5awhmq8c0ssscc@bigworm.curecanti.org> Message-ID: <20050628121808.yqus21iwatmosgk4@webapps.iu13.org> Quoting Michael M Slusarz : > Or a much better way is simply to check all folders in the IMP folders > screen and select "Check folder for new mail" from the drop down list. > That's the whole purpose of isPolled(). I could be wrong, but I believe the desired feature is to have a preference so that all folders are polled by default, without having to go into the Folder Navigator and choose them. A poll all-by-default feature would mean an admin wouldn't have to update a default polled folders preference ever (since your list of default folders may change, as you add and delete them). His hack, in essence, does that. But its obviously more convenient to have it as a preference than it is to comment out a line in the code. Kevin -- Kevin M. Myer Senior Systems Administrator Lancaster-Lebanon Intermediate Unit 13 http://www.iu13.org From Nicolas.Schmitz at ec-nantes.fr Tue Jun 28 09:22:56 2005 From: Nicolas.Schmitz at ec-nantes.fr (Nicolas Schmitz) Date: Tue, 28 Jun 2005 18:22:56 +0200 Subject: [imp] Show new messages in subfolders In-Reply-To: <20050628095344.6y5awhmq8c0ssscc@bigworm.curecanti.org> References: <1119882475.6144.8.camel@localhost.localdomain> <42C11FBB.30609@ec-nantes.fr> <20050628095344.6y5awhmq8c0ssscc@bigworm.curecanti.org> Message-ID: <42C17960.6070000@ec-nantes.fr> > >Or a much better way is simply to check all folders in the IMP folders >screen and select "Check folder for new mail" from the drop down list. >That's the whole purpose of isPolled(). > >michael > > I can eventually tell my users to do that ONCE, I don't like the idea of asking 1min of the time of 2000 persons for a basic functionality, but ok... Now the trouble is that I will also have to tell them "If you create a folder (with thunderbird, Mail, imp...) , you need to redo the select in IMP" Who will remember that the day he creates a folder ? Nobody. Imp is great... I don't understand why such a basic function is not even an option. -- Nicolas Schmitz From ross at rbecker.org Tue Jun 28 09:45:57 2005 From: ross at rbecker.org (Ross Becker) Date: Tue, 28 Jun 2005 09:45:57 -0700 Subject: [imp] Memory usage in new IMP Message-ID: Hiyas folks, I've been running IMP 3.2.1 for about a year now, and this week we had an issue with users being unable to send attachments. The underlying problem turned out to be related to amavisd/clamav, but in the process of tracking this down, we discovered some problems with IMP; turns out that if a message had even a 2 megabyte attachment, when it was saved in the "sent" folder, the attachment would be silently missing. I tracked this down to be PHP running out of memory when copying the message to the sent folder. The configured memory limit of PHP on this machine was 16 megabytes. Can anyone tell me if IMP 4.x has improved memory use in situations like this? It doesnt seem to me that a 2 megabyte attachment ought to run PHP out of memory at 16 meg process limit. Thanks Ross From ross at rbecker.org Tue Jun 28 09:47:53 2005 From: ross at rbecker.org (Ross Becker) Date: Tue, 28 Jun 2005 09:47:53 -0700 Subject: [imp] Imp+sorting=terrible slow down In-Reply-To: <20050623082725.frdslyo4ooso8ocs@bigworm.curecanti.org> References: <42BAA068.4080509@hotmail.com> <20050623082725.frdslyo4ooso8ocs@bigworm.curecanti.org> Message-ID: Another option is to try out the dovecot IMAP server. It's designed to make stuff like this work quickly. --Ross Michael M Slusarz wrote: > Quoting Joe7 : > > >>Hello Experts, >>I just realized that my problem with mailboxes -which has more then >>10.000mails in inbox-, >>IS sorting. > > > Sorting 10,000 messages on any server is going to take a substantial > amount of time. As you have noted, this has absolutely nothing to do > with IMP. > > >>(if I disable this in courier imapd config, >>everything goes at lightning speed, login takes <1sec (instead of >>1MINUTE or failure), and to go to >>the next page in inbox is just about 1sec instead of 30.. >>So my question is how to make sorting faster. > > > How to make sorting faster? The only surefire solution is to reduce > the number of messages in your mailbox. Or use the default sorting > algorithim that your underlying mailbox uses (most likely this is > arrival time). > > michael > > _______________________________________ > Michael Slusarz [slusarz at curecanti.org] From jigish.gohil at gmail.com Tue Jun 28 10:12:02 2005 From: jigish.gohil at gmail.com (Jigish Gohil) Date: Tue, 28 Jun 2005 22:42:02 +0530 Subject: [imp] Imp+sorting=terrible slow down In-Reply-To: References: <42BAA068.4080509@hotmail.com> <20050623082725.frdslyo4ooso8ocs@bigworm.curecanti.org> Message-ID: Just wanted to know, does imap proxy have any performance advantage in this kind of situation, i.e. large mailboxes and sorting? Jigish On 6/28/05, Ross Becker wrote: > Another option is to try out the dovecot IMAP server. It's designed to > make stuff like this work quickly. > > --Ross > > Michael M Slusarz wrote: > > Quoting Joe7 : > > > > > >>Hello Experts, > >>I just realized that my problem with mailboxes -which has more then > >>10.000mails in inbox-, > >>IS sorting. > > > > > > Sorting 10,000 messages on any server is going to take a substantial > > amount of time. As you have noted, this has absolutely nothing to do > > with IMP. > > > > > >>(if I disable this in courier imapd config, > >>everything goes at lightning speed, login takes <1sec (instead of > >>1MINUTE or failure), and to go to > >>the next page in inbox is just about 1sec instead of 30.. > >>So my question is how to make sorting faster. > > > > > > How to make sorting faster? The only surefire solution is to reduce > > the number of messages in your mailbox. Or use the default sorting > > algorithim that your underlying mailbox uses (most likely this is > > arrival time). > > > > michael > > > > _______________________________________ > > Michael Slusarz [slusarz at curecanti.org] > > -- > IMP mailing list - Join the hunt: http://horde.org/bounties/#imp > Frequently Asked Questions: http://horde.org/faq/ > To unsubscribe, mail: imp-unsubscribe at lists.horde.org > From rrcomp at hotmail.com Tue Jun 28 10:21:37 2005 From: rrcomp at hotmail.com (Joe7) Date: Tue, 28 Jun 2005 19:21:37 +0200 Subject: [imp] Imp+sorting=terrible slow down In-Reply-To: References: <42BAA068.4080509@hotmail.com> <20050623082725.frdslyo4ooso8ocs@bigworm.curecanti.org> Message-ID: <42C18721.3060601@hotmail.com> I use that too..so i guess not ;) Joe7 Jigish Gohil wrote: >Just wanted to know, does imap proxy have any performance advantage in >this kind of situation, i.e. large mailboxes and sorting? > >Jigish > >On 6/28/05, Ross Becker wrote: > > >>Another option is to try out the dovecot IMAP server. It's designed to >>make stuff like this work quickly. >> >>--Ross >> >>Michael M Slusarz wrote: >> >> >>>Quoting Joe7 : >>> >>> >>> >>> >>>>Hello Experts, >>>>I just realized that my problem with mailboxes -which has more then >>>>10.000mails in inbox-, >>>>IS sorting. >>>> >>>> >>>Sorting 10,000 messages on any server is going to take a substantial >>>amount of time. As you have noted, this has absolutely nothing to do >>>with IMP. >>> >>> >>> >>> >>>>(if I disable this in courier imapd config, >>>>everything goes at lightning speed, login takes <1sec (instead of >>>>1MINUTE or failure), and to go to >>>>the next page in inbox is just about 1sec instead of 30.. >>>>So my question is how to make sorting faster. >>>> >>>> >>>How to make sorting faster? The only surefire solution is to reduce >>>the number of messages in your mailbox. Or use the default sorting >>>algorithim that your underlying mailbox uses (most likely this is >>>arrival time). >>> >>>michael >>> >>>_______________________________________ >>>Michael Slusarz [slusarz at curecanti.org] >>> >>> >>-- >>IMP mailing list - Join the hunt: http://horde.org/bounties/#imp >>Frequently Asked Questions: http://horde.org/faq/ >>To unsubscribe, mail: imp-unsubscribe at lists.horde.org >> >> >> From kevin at ualberta.net Tue Jun 28 12:03:49 2005 From: kevin at ualberta.net (Kevin Konowalec) Date: Tue, 28 Jun 2005 13:03:49 -0600 Subject: [imp] "message not found" Message-ID: A little while back I posted a question from a user saying that periodically if you were to click on a message in the inbox it would come back with "message not found". Someone replied that this had been fixed in the CVS head. My question is... what is the best or most common upgrade strategy for imp and horde in general? Should we be continually upgrading to the CVS head with production systems or should we be sticking with official stable releases and just patching major issues until the next full release? How important is it to be keeping current (if not bleeding-edge current)? Incidentally... if there's a patch I can apply to fix the above problem please let me know... From lst_hoe01 at kwsoft.de Tue Jun 28 13:40:31 2005 From: lst_hoe01 at kwsoft.de (lst_hoe01@kwsoft.de) Date: Tue, 28 Jun 2005 22:40:31 +0200 Subject: [imp] Memory usage in new IMP In-Reply-To: References: Message-ID: <20050628224031.6fjj3s79b4cg4k8g@webmail.kwsoft.de> Zitat von Ross Becker : > Hiyas folks, > I've been running IMP 3.2.1 for about a year now, and this week we > had an issue with users being unable to send attachments. The > underlying problem turned out to be related to amavisd/clamav, but in > the process of tracking this down, we discovered some problems with IMP; > turns out that if a message had even a 2 megabyte attachment, when it > was saved in the "sent" folder, the attachment would be silently > missing. I tracked this down to be PHP running out of memory when > copying the message to the sent folder. The configured memory limit of > PHP on this machine was 16 megabytes. > > Can anyone tell me if IMP 4.x has improved memory use in situations like > this? It doesnt seem to me that a 2 megabyte attachment ought to run > PHP out of memory at 16 meg process limit. 16M is way too low. Be aware that this limit is for the whole script which means all the Horde/IMP code, the mime encoded message and much more. We use a 64MB limit with 6MByte max. attachment size. This is enough to save us from trouble. If you are low on memory limit the number of processes for the webserver. Regards Andreas From slusarz at mail.curecanti.org Tue Jun 28 15:02:14 2005 From: slusarz at mail.curecanti.org (Michael M Slusarz) Date: Tue, 28 Jun 2005 16:02:14 -0600 Subject: [imp] Imp+sorting=terrible slow down In-Reply-To: References: <42BAA068.4080509@hotmail.com> <20050623082725.frdslyo4ooso8ocs@bigworm.curecanti.org> Message-ID: <20050628160214.dvmoy0pku84w4w4c@bigworm.curecanti.org> Quoting Jigish Gohil : > Just wanted to know, does imap proxy have any performance advantage in > this kind of situation, i.e. large mailboxes and sorting? No. It will have a performance advantage in general due to the reduced overhead in creating the connection to the IMAP server, but a proxy is not going to speed up the actual sorting of messages in a mailbox which is occurring exclusively on the IMAP server. michael _______________________________________ Michael Slusarz [slusarz at curecanti.org] From kevin_myer at iu13.org Tue Jun 28 15:04:49 2005 From: kevin_myer at iu13.org (Kevin Myer) Date: Tue, 28 Jun 2005 18:04:49 -0400 Subject: [imp] "message not found" In-Reply-To: References: Message-ID: <20050628180449.0i1z0j7t3r34k4g8@webapps.iu13.org> The fix for session handling has been merged to the FRAMEWORK_3 release as well. Just my opinion but if you run production sites, you should stick with FRAMEWORK_3 code. If you can, stick with official releases but if something critical comes up that gets fixed and you can't wait until an official release, you'll have to merge any changes since the last official release. My experience is that too many things are experimental in HEAD code to run it in a production environment and you don't want behavior of your application to react one way one day, and a different way another day (that is afterall why its the HEAD branch). Backwards compatibility can be broken in HEAD, but its attempted to be maintained in FRAMEWORK_3. But if you absolutely need a feature (like PDA syncing), you don't have any choice but to use some HEAD components. Kevin -- Kevin M. Myer Senior Systems Administrator Lancaster-Lebanon Intermediate Unit 13 http://www.iu13.org From slusarz at mail.curecanti.org Tue Jun 28 15:04:50 2005 From: slusarz at mail.curecanti.org (Michael M Slusarz) Date: Tue, 28 Jun 2005 16:04:50 -0600 Subject: [imp] "message not found" In-Reply-To: References: Message-ID: <20050628160450.r97a760o8gog8wsc@bigworm.curecanti.org> Quoting Kevin Konowalec : > A little while back I posted a question from a user saying that > periodically if you were to click on a message in the inbox it would > come back with "message not found". Someone replied that this had > been fixed in the CVS head. I think this statement is incorrect. I believe the consensus was this was occurring when people were accessing IMP in multiple browser windows, which can not be done. michael _______________________________________ Michael Slusarz [slusarz at curecanti.org] From jan at horde.org Tue Jun 28 15:10:52 2005 From: jan at horde.org (Jan Schneider) Date: Wed, 29 Jun 2005 00:10:52 +0200 Subject: [imp] "message not found" In-Reply-To: <20050628160450.r97a760o8gog8wsc@bigworm.curecanti.org> References: <20050628160450.r97a760o8gog8wsc@bigworm.curecanti.org> Message-ID: <20050629001052.q1t8qku89wk404w8@neo.wg.de> Zitat von Michael M Slusarz : > Quoting Kevin Konowalec : > >> A little while back I posted a question from a user saying that >> periodically if you were to click on a message in the inbox it would >> come back with "message not found". Someone replied that this had >> been fixed in the CVS head. > > I think this statement is incorrect. I believe the consensus was this > was occurring when people were accessing IMP in multiple browser > windows, which can not be done. No, it was a side effect of the non-locking session handlers. Jan. -- Do you need professional PHP or Horde consulting? http://horde.org/consulting/ From slusarz at mail.curecanti.org Tue Jun 28 15:14:06 2005 From: slusarz at mail.curecanti.org (Michael M Slusarz) Date: Tue, 28 Jun 2005 16:14:06 -0600 Subject: [imp] Show new messages in subfolders In-Reply-To: <42C17960.6070000@ec-nantes.fr> References: <1119882475.6144.8.camel@localhost.localdomain> <42C11FBB.30609@ec-nantes.fr> <20050628095344.6y5awhmq8c0ssscc@bigworm.curecanti.org> <42C17960.6070000@ec-nantes.fr> Message-ID: <20050628161406.kaqpt9l0080s8ksk@bigworm.curecanti.org> Quoting Nicolas Schmitz : > I can eventually tell my users to do that ONCE, I don't like the idea of > asking 1min of the time of 2000 persons for a basic functionality, but > ok... > > Now the trouble is that I will also have to tell them "If you create a > folder (with thunderbird, Mail, imp...) , you need to redo the select in > IMP" Who will remember that the day he creates a folder ? Nobody. > > Imp is great... I don't understand why such a basic function is not even > an option. Most likely because noone has asked for it before. Enter an enhancement request on http://bugs.horde.org/ michael _______________________________________ Michael Slusarz [slusarz at curecanti.org] From kevin_myer at iu13.org Tue Jun 28 17:23:46 2005 From: kevin_myer at iu13.org (Kevin Myer) Date: Tue, 28 Jun 2005 20:23:46 -0400 Subject: [imp] "message not found" In-Reply-To: References: Message-ID: <20050628202346.gmd17cd7yldco804@webapps.iu13.org> Quoting Kevin Konowalec : > A little while back I posted a question from a user saying that > periodically if you were to click on a message in the inbox it would > come back with "message not found". Someone replied that this had > been fixed in the CVS head. http://bugs.horde.org/ticket/?id=1580 http://lists.horde.org/archives/cvs/Week-of-Mon-20050620/046436.html is Chuck's merge. Kevin -- Kevin M. Myer Senior Systems Administrator Lancaster-Lebanon Intermediate Unit 13 http://www.iu13.org From slusarz at mail.curecanti.org Tue Jun 28 19:55:35 2005 From: slusarz at mail.curecanti.org (Michael M Slusarz) Date: Tue, 28 Jun 2005 20:55:35 -0600 Subject: [imp] "message not found" In-Reply-To: <20050629001052.q1t8qku89wk404w8@neo.wg.de> References: <20050628160450.r97a760o8gog8wsc@bigworm.curecanti.org> <20050629001052.q1t8qku89wk404w8@neo.wg.de> Message-ID: <20050628205535.75y1hj20kgc8cwwo@bigworm.curecanti.org> Quoting Jan Schneider : > Zitat von Michael M Slusarz : > >> Quoting Kevin Konowalec : >> >>> A little while back I posted a question from a user saying that >>> periodically if you were to click on a message in the inbox it would >>> come back with "message not found". Someone replied that this had >>> been fixed in the CVS head. >> >> I think this statement is incorrect. I believe the consensus was this >> was occurring when people were accessing IMP in multiple browser >> windows, which can not be done. > > No, it was a side effect of the non-locking session handlers. My mistake - I was recalling a different thread that dealt with two open browser windows at once. michael _______________________________________ Michael Slusarz [slusarz at curecanti.org] From mclainet at gmail.com Tue Jun 28 23:22:56 2005 From: mclainet at gmail.com (Man Chiu Lai) Date: Wed, 29 Jun 2005 14:22:56 +0800 Subject: [imp] IMP conf.php problem Message-ID: <73ad67d005062823222c374ee@mail.gmail.com> Dear all, Horde 3 but not lastest Imp 3 I have a question about configuration in IMP & Horde. Can I use the existing conf.php, pref.php in the lastest verions of horde 3 and imp 4 ? Also, I can't find an option to disable fetchmail. It seems not more configuration setting than imp 3. Do you have any idea ? Thank you ! Regards, Gordon From v.couvreur at efranque.com Wed Jun 29 00:44:03 2005 From: v.couvreur at efranque.com (Vincent Couvreur) Date: Wed, 29 Jun 2005 09:44:03 +0200 Subject: [imp] Problem Folder Creation Message-ID: <007301c57c7e$5f9c00b0$0e01a8c0@casimir> My configuration : - Postfix - Cyrus 2.1.19-3 - IMP H3-4.0.3 When i sent mail via imp, and it tried to create the sent-mail folder, imp repond 'permission denied'. It 's the same for the trash folder, spam folder. But when i create a folder under the INBOX, no problem. I read on the mailling archive, i must configure servers.php, namespace to 'INBOX.' : $servers['cyrus'] = array( 'name' => 'Cyrus IMAP Server', 'server' => 'localhost', 'hordeauth' => false, 'protocol' => 'imap/notls', 'port' => 143, 'folders' => '', 'namespace' => 'INBOX.', So can you help me please. From linuxbox at wavenet.at Wed Jun 29 03:57:37 2005 From: linuxbox at wavenet.at (martin hochreiter) Date: Wed, 29 Jun 2005 12:57:37 +0200 Subject: [imp] CSS and horde Message-ID: <42C27EA1.7070908@wavenet.at> Hi! I overwrited horde/config/horde.php to change the css - but nothing happenend - does horde caches the data somewhere? lg From jlewis at lewis.org Wed Jun 29 04:47:24 2005 From: jlewis at lewis.org (Jon Lewis) Date: Wed, 29 Jun 2005 07:47:24 -0400 (EDT) Subject: [imp] hardening imp against spammers Message-ID: We've been having trouble recently with Nigerian spammers signing up with stolen credit card info and sending their 419 spams to hundreds of recipients/message through our webmail system. Is there any reason not to have something like: /* impose limit on number of recipients */ if (substr_count($recips,"@") > $conf['user']['max_recipients']) { Horde::raiseMessage(_("Too many recipients. Try again with fewer."), HORDE_ERROR); $get_sig = false; break; } /* end impose limit on number of recipients */ in compose.php in case SEND_MESSAGE: right after $recips is filled in? It seems to work for me anyway. Also, I've been using iptables to block entire CIDR blocks from which we see Nigerian spammer logins. As of last night, I've noticed Nigerians logging in to spam through open proxies. Has anyone done a patch for imp to deny access (maybe just deny sending) for IPs in various DNSBLs? ---------------------------------------------------------------------- Jon Lewis | I route Senior Network Engineer | therefore you are Atlantic Net | _________ http://www.lewis.org/~jlewis/pgp for PGP public key_________ From Nicolas.Schmitz at ec-nantes.fr Wed Jun 29 04:54:18 2005 From: Nicolas.Schmitz at ec-nantes.fr (Nicolas Schmitz) Date: Wed, 29 Jun 2005 13:54:18 +0200 Subject: [imp] Problem Folder Creation In-Reply-To: <007301c57c7e$5f9c00b0$0e01a8c0@casimir> References: <007301c57c7e$5f9c00b0$0e01a8c0@casimir> Message-ID: <42C28BEA.2@ec-nantes.fr> You also need to tell imp which server will be used for Sent, Trash, Drafts folder. You can do that in imp/prefs.php : // sent mail folder $_prefs['sent_mail_folder'] = array( 'value' => 'Sent', 'locked' => true, 'shared' => false, 'type' => 'implicit'); // drafts folder $_prefs['drafts_folder'] = array( 'value' => 'Drafts', 'locked' => true, 'shared' => false, 'type' => 'implicit'); .. For cyrus and namespace INBOX. the good value is simply "Sent", "Drafts", etc... Vincent Couvreur a ?crit : >My configuration : > - Postfix > - Cyrus 2.1.19-3 > - IMP H3-4.0.3 > > >When i sent mail via imp, and it tried to create the sent-mail folder, imp repond 'permission denied'. It 's the same for the trash folder, spam folder. >But when i create a folder under the INBOX, no problem. > >I read on the mailling archive, i must configure servers.php, namespace to 'INBOX.' : > >$servers['cyrus'] = array( > 'name' => 'Cyrus IMAP Server', > 'server' => 'localhost', > 'hordeauth' => false, > 'protocol' => 'imap/notls', > 'port' => 143, > 'folders' => '', > 'namespace' => 'INBOX.', > >So can you help me please. > > -- Nicolas Schmitz Centre de Ressources Informatiques | tel : 02 40 37 68 06 Centrale de Nantes | fax : 02 40 37 25 78 1 rue de la Noe - BP 92101 44321 NANTES CEDEX 03 http://www.ec-nantes.fr From horde at harbell.net Wed Jun 29 05:20:42 2005 From: horde at harbell.net (Jaz) Date: Wed, 29 Jun 2005 08:20:42 -0400 Subject: [imp] Redirect loop on IMP auth Message-ID: <42C2921A.8090208@harbell.net> IMP, at authentication, is cycling the following into my Apache2 log in an endless loop. This is after upgrading Apache from 1.3 to 2.0.54 and PHP from 4.3 to 5.0.4 (and PEAR). I have hordeauth set to true in imp/servers.php -- set to false the result is a simple IMP login failure.) 172.16.30.101 - - [28/Jun/2005:19:43:04 -0400] "GET /horde/imp/redirect.php?actionID=login&autologin=1 HTTP/1.1" 200 26 172.16.30.101 - - [28/Jun/2005:19:43:05 -0400] "GET /horde/imp/login.php HTTP/1.1" 302 26 172.16.30.101 - - [28/Jun/2005:19:43:06 -0400] "GET /horde/imp/redirect.php?actionID=login&autologin=1 HTTP/1.1" 200 26 172.16.30.101 - - [28/Jun/2005:19:43:06 -0400] "GET /horde/imp/login.php HTTP/1.1" 302 26 The browser keeps refreshing (redirecting) every 2-3 seconds until I hit stop or Escape. Each redirect is logged as above. This horde/imp/etc environment had been working fine for months, the only change is Apache2 + PHP5 + PEAR. I realize this is likely an Apache or PHP config problem, but I'm hoping horde/IMP pros might recognize the behavior. Several other PHP-driven apps work fine (as do other horde modules) on this new Apache2/PHP5 setup. Worth noting is that although Mcal is no longer a separate extension and is supposedly bundled into PHP5, horde's test.php script reports no support for Mcal -- the same is true for domxml (again, supposedly). Please see http://harbell.homeip.net/horde/test.php. I upgraded because Chuck pointed me to a bug in PHP4 on win32 that causes regeneration to strip the version line from config's. This problem is gone, tho I hope the Mcal, domxml, etc. differences don't prevent me from using this environment. Any advice on the cause or how to attack/debug? -Jaz From jan at horde.org Wed Jun 29 05:42:30 2005 From: jan at horde.org (Jan Schneider) Date: Wed, 29 Jun 2005 14:42:30 +0200 Subject: [imp] hardening imp against spammers In-Reply-To: References: Message-ID: <20050629144230.t0mg71shcs80wkc4@neo.wg.de> Zitat von Jon Lewis : > Is there any reason not to have something like: > > /* impose limit on number of recipients */ > if (substr_count($recips,"@") > $conf['user']['max_recipients']) { > Horde::raiseMessage(_("Too many recipients. Try again with > fewer."), HORDE_ERROR); > $get_sig = false; > break; > } > /* end impose limit on number of recipients */ > > in compose.php in case SEND_MESSAGE: right after $recips is filled in? It > seems to work for me anyway. Beside that it's for a very special problem (that I currently have at a customer's site too, btw), no. Jan. -- Do you need professional PHP or Horde consulting? http://horde.org/consulting/ From jlewis at lewis.org Wed Jun 29 06:37:07 2005 From: jlewis at lewis.org (Jon Lewis) Date: Wed, 29 Jun 2005 09:37:07 -0400 (EDT) Subject: [imp] hardening imp against spammers In-Reply-To: <20050629144230.t0mg71shcs80wkc4@neo.wg.de> References: <20050629144230.t0mg71shcs80wkc4@neo.wg.de> Message-ID: On Wed, 29 Jun 2005, Jan Schneider wrote: > > /* impose limit on number of recipients */ > > if (substr_count($recips,"@") > $conf['user']['max_recipients']) { > > Horde::raiseMessage(_("Too many recipients. Try again with > > fewer."), HORDE_ERROR); > > $get_sig = false; > > break; > > } > > /* end impose limit on number of recipients */ > > Beside that it's for a very special problem (that I currently have at a > customer's site too, btw), no. Shouldn't there be at least the option to configure such a limit? This really frustrated me because we have imp invoking qmail's sendmail, and short of much more difficult hacks to qmail, there appears to be no other way to limit the number of recipients. Also, I wasn't quite working on all cylinders this AM after spending a while trying to hack this into qmail. That patch should probably be: /* impose limit on number of recipients */ if ($conf['user']['max_recipients'] > 0 && substr_count($recips,"@") > $conf['user']['max_recipients']) { Horde::raiseMessage(_("Too many recipients. Try again with fewer."), HORDE_ERROR); $get_sig = false; break; } /* end impose limit on number of recipients */ so that if max_recipients isn't set or is set to 0, you get the default behavior of no limit rather than the breakage I assume would happen as substr_count would be compared to 0 or undefined and likely be greater. If we can't shake the Nigerians (they appear to have images of or at least all the info including CVV2 codes for their stolen cards and are now using open proxies to access our webmail...so we're having a real hard time either stopping them from signing up or blocking them by IP from using webmail), I suspect the next things we'll need are the DNSBL support I mentioned (which I suspect is easy enough I might end up doing it), and some form of per-user message rate limiting...i.e. after sending X messages in Y time, you're done. That'd probably require a new SQL table holding a key, username, and timestamp in each row so that compose.php could then do a select and count up how many messages the user has sent recently and decide if the current message can be sent. I don't suppose someone's already done something like this? Another possibility is forcing the outgoing mail through spamassassin. ---------------------------------------------------------------------- Jon Lewis | I route Senior Network Engineer | therefore you are Atlantic Net | _________ http://www.lewis.org/~jlewis/pgp for PGP public key_________ From chuck at horde.org Wed Jun 29 06:40:57 2005 From: chuck at horde.org (Chuck Hagenbuch) Date: Wed, 29 Jun 2005 09:40:57 -0400 Subject: [imp] CSS and horde In-Reply-To: <42C27EA1.7070908@wavenet.at> References: <42C27EA1.7070908@wavenet.at> Message-ID: <20050629094057.o4mponpfuh8g4wkw@marina.horde.org> Quoting martin hochreiter : > I overwrited horde/config/horde.php to change the css - but nothing > happenend - does horde caches the data somewhere? Huh? No version of Horde ever stored CSS in config/horde.php. The latest versions don't even have that file. And if anything caches CSS, it's your browser. -chuck -- "But she goes not abroad in search of monsters to destroy." - John Quincy Adams From chuck at horde.org Wed Jun 29 11:52:28 2005 From: chuck at horde.org (Chuck Hagenbuch) Date: Wed, 29 Jun 2005 14:52:28 -0400 Subject: [imp] hardening imp against spammers In-Reply-To: References: <20050629144230.t0mg71shcs80wkc4@neo.wg.de> Message-ID: <20050629145228.mf0vldooqio0ko0s@marina.horde.org> Quoting Jon Lewis : > Shouldn't there be at least the option to configure such a limit? "Shouldn't" is a very, very loaded word. Please consider that you are dealing with volunteers, that no one may have hit this situation before, that no one may have thought of it, etc. And Jan _said_ that there wasn't a reason not to add it, and that he was seeing the same situation at a customer. > Also, I wasn't quite working on all cylinders this AM after spending > a while trying to hack this into qmail. That patch should probably > be: > > /* impose limit on number of recipients */ > if ($conf['user']['max_recipients'] > 0 && substr_count($recips,"@") >> $conf['user']['max_recipients']) { > Horde::raiseMessage(_("Too many recipients. Try again with > fewer."), HORDE_ERROR); > $get_sig = false; > break; > } > /* end impose limit on number of recipients */ I'd use !empty() to be even more forgiving. Otherwise, create an enhancment request on bugs.horde.org with an actual unified diff, including the changes to conf.xml, and we'll get it committed. > webmail), I suspect the next things we'll need are the DNSBL support I > mentioned (which I suspect is easy enough I might end up doing it), and We could use this for lots of other aplications, too - Agora, Volos, etc. Would be a very useful contribution. > some form of per-user message rate limiting...i.e. after sending X > messages in Y time, you're done. That'd probably require a new SQL table > holding a key, username, and timestamp in each row so that compose.php > could then do a select and count up how many messages the user has sent > recently and decide if the current message can be sent. I don't suppose > someone's already done something like this? I haven't heard of it. That to me sounds like the kind of thing you're better off doing at the MTA level, instead of just in a web layer, though. -chuck -- "But she goes not abroad in search of monsters to destroy." - John Quincy Adams From slusarz at mail.curecanti.org Wed Jun 29 11:53:37 2005 From: slusarz at mail.curecanti.org (Michael M Slusarz) Date: Wed, 29 Jun 2005 12:53:37 -0600 Subject: [imp] hardening imp against spammers In-Reply-To: References: <20050629144230.t0mg71shcs80wkc4@neo.wg.de> Message-ID: <20050629125337.g73myhodso8k08ko@bigworm.curecanti.org> Quoting Jon Lewis : > If we can't shake the Nigerians (they appear to have images of or at least > all the info including CVV2 codes for their stolen cards and are now using > open proxies to access our webmail...so we're having a real hard time > either stopping them from signing up or blocking them by IP from using > webmail), I suspect the next things we'll need are the DNSBL support I > mentioned (which I suspect is easy enough I might end up doing it), and > some form of per-user message rate limiting...i.e. after sending X > messages in Y time, you're done. That'd probably require a new SQL table > holding a key, username, and timestamp in each row so that compose.php > could then do a select and count up how many messages the user has sent > recently and decide if the current message can be sent. I don't suppose > someone's already done something like this? DNSBL is a *very bad thing*. See http://www.acme.com/mail_filtering/shame_frameset.html for a good description of the issues. Personal example: user sets up a machine on a home-based network that is on a business broadbank link (i.e. small business operator from home). The business broadband provider also happens to provide home broadband support also. Complete idiot DNSBL maintainers blacklist the user's address because a few (most definitely not all or even some) users on the home broadband have either infected computers or are doing bad things. Therefore, because DNSBL maintainers are lazy or uneducated or both, instead of marking the individual addresses as bad they instead mark the entire block of addresses registered to the broadband provider as "bad" (We are talking entire Class C blocks here). Since broadband provider does not provide information on how their blocks are allocated, businesses lose the ability to run their own servers due to ineptitude of DNSBL maintainers. Quite honestly, it is a subtle form of discrimination in that DNSBL maintainers can, by their actions, make certain broadband providers less desirable due to the fact that their network connection is now "tainted". michael _______________________________________ Michael Slusarz [slusarz at curecanti.org] From slusarz at mail.curecanti.org Wed Jun 29 12:01:20 2005 From: slusarz at mail.curecanti.org (Michael M Slusarz) Date: Wed, 29 Jun 2005 13:01:20 -0600 Subject: [imp] Redirect loop on IMP auth In-Reply-To: <42C2921A.8090208@harbell.net> References: <42C2921A.8090208@harbell.net> Message-ID: <20050629130120.nf02wh9qyo4gkwgk@bigworm.curecanti.org> Quoting Jaz : > > IMP, at authentication, is cycling the following into my Apache2 log in > an endless loop. This is after upgrading Apache from 1.3 to 2.0.54 and > PHP from 4.3 to 5.0.4 (and PEAR). I have hordeauth set to true in > imp/servers.php -- set to false the result is a simple IMP login failure.) Are you sure the horde password is the same as the IMP password? michael _______________________________________ Michael Slusarz [slusarz at curecanti.org] From lst_hoe01 at kwsoft.de Wed Jun 29 12:54:49 2005 From: lst_hoe01 at kwsoft.de (lst_hoe01@kwsoft.de) Date: Wed, 29 Jun 2005 21:54:49 +0200 Subject: [imp] hardening imp against spammers In-Reply-To: <20050629125337.g73myhodso8k08ko@bigworm.curecanti.org> References: <20050629144230.t0mg71shcs80wkc4@neo.wg.de> <20050629125337.g73myhodso8k08ko@bigworm.curecanti.org> Message-ID: <20050629215449.mnnpfopftzocc8wo@webmail.kwsoft.de> Zitat von Michael M Slusarz : > > DNSBL is a *very bad thing*. See > http://www.acme.com/mail_filtering/shame_frameset.html for a good > description of the issues. > > Personal example: user sets up a machine on a home-based network that > is on a business broadbank link (i.e. small business operator from > home). The business broadband provider also happens to provide home > broadband support also. Complete idiot DNSBL maintainers blacklist the > user's address because a few (most definitely not all or even some) > users on the home broadband have either infected computers or are doing > bad things. Therefore, because DNSBL maintainers are lazy or > uneducated or both, instead of marking the individual addresses as bad > they instead mark the entire block of addresses registered to the > broadband provider as "bad" (We are talking entire Class C blocks > here). Since broadband provider does not provide information on how > their blocks are allocated, businesses lose the ability to run their > own servers due to ineptitude of DNSBL maintainers. > > Quite honestly, it is a subtle form of discrimination in that DNSBL > maintainers can, by their actions, make certain broadband providers > less desirable due to the fact that their network connection is now > "tainted". Let's do not go for this discussion again. Not DNSBL are bad, but using them without understanding what they do is. At least read and understand the listing/delisting policy and choose if it matches your requirements. Regards Andreas From horde at harbell.net Wed Jun 29 13:09:02 2005 From: horde at harbell.net (Jaz) Date: Wed, 29 Jun 2005 16:09:02 -0400 Subject: [imp] Redirect loop on IMP auth In-Reply-To: <20050629130120.nf02wh9qyo4gkwgk@bigworm.curecanti.org> References: <42C2921A.8090208@harbell.net> <20050629130120.nf02wh9qyo4gkwgk@bigworm.curecanti.org> Message-ID: <42C2FFDE.4040200@harbell.net> >>IMP, at authentication, is cycling the following into my Apache2 log in >>an endless loop. This is after upgrading Apache from 1.3 to 2.0.54 and >>PHP from 4.3 to 5.0.4 (and PEAR). I have hordeauth set to true in >>imp/servers.php -- set to false the result is a simple IMP login failure.) >> >> > >Are you sure the horde password is the same as the IMP password? > > > horde is uses IMP for authentication (in horde's conf.php file: $conf['auth']['driver'] = 'imap'; ) and IMP should use the session (imp's servers.php file: 'hordeauth' => true, ) Nothing in my horde tree changed when I upgraded to Apache2 & PHP5. So I'm guessing it's something to do with tighter session stuff in one or both of the newer Apache/PHP(??) I'm thinking the fix is somewhere in php.ini or httpd.conf. Jaz From jlewis at lewis.org Wed Jun 29 13:45:40 2005 From: jlewis at lewis.org (Jon Lewis) Date: Wed, 29 Jun 2005 16:45:40 -0400 (EDT) Subject: [imp] hardening imp against spammers In-Reply-To: <20050629145228.mf0vldooqio0ko0s@marina.horde.org> References: <20050629144230.t0mg71shcs80wkc4@neo.wg.de> <20050629145228.mf0vldooqio0ko0s@marina.horde.org> Message-ID: On Wed, 29 Jun 2005, Chuck Hagenbuch wrote: > Quoting Jon Lewis : > > > Shouldn't there be at least the option to configure such a limit? > > "Shouldn't" is a very, very loaded word. Please consider that you are > dealing with volunteers, that no one may have hit this situation > before, that no one may have thought of it, etc. And Jan _said_ that > there wasn't a reason not to add it, and that he was seeing the same > situation at a customer. Sorry, I've been dealing with Nigerian webmail abusers on and off for months and dealing with many other fires recently. I wasn't as much complaining about the lack of such a feature as suggesting "here it is, and it'd be great if someone would do whatever cleanup is required and merge this into the code"...and Jan's message seemed to imply that he didn't think it was worth incorporating (or did I misinterpret it) even though he recently needed (wrote?) the same feature for another IMP site? This one's trivial enough that if I have to maintain it in our own hacked up IMP, it's no big deal, but others will likely benefit from having it, and I'd always rather see it in a future version than have to keep my own patch set. > > webmail), I suspect the next things we'll need are the DNSBL support I > > mentioned (which I suspect is easy enough I might end up doing it), and > > We could use this for lots of other aplications, too - Agora, Volos, > etc. Would be a very useful contribution. I just did this, but the code is even rougher than the max-recipients thing, so I really doubt it'll be accepted without some serious cleanup (like moving the dnsbls and codes to $conf rather than hardcoding them in compose.php), but here it is anyway. I'm checking njabl for proxies and spamsources, and sbl-xbl for any return code. I put this function at the top of compose.php: /** * Returns a dnsbl the client IP is listed in or FALSE */ function dnsblcheck() { $dnsbl = array(0 => 'dnsbl.njabl.org', 1 => 'sbl-xbl.spamhaus.org'); $dnsblcode = array(0 => '127.0.0.[49]', 1 => 0); $rev = array_reverse(explode('.', $_SERVER['REMOTE_ADDR'])); for($dnsblc=0; array_key_exists($dnsblc,$dnsbl); $dnsblc++) { $lookup = implode('.', $rev) . '.' . $dnsbl[$dnsblc]; $result = gethostbyname($lookup); if ($lookup != $result) { if (($dnsblcode[$dnsblc]) && preg_match("/$dnsblcode[$dnsblc]/", $result)) { return $dnsbl[$dnsblc]; } if ($dnsblcode[$dnsblc] == 0) { return $dnsbl[$dnsblc]; } } } return FALSE; } The at the tops of case BOUNCE_MESSAGE: and SEND_MESSAGE:, I added: if (($dnsblname = dnsblcheck()) != FALSE) { Horde::logMessage(sprintf("dnsblhit in %s from %s",$dnsblname,$_SERVER['REMOTE_ADDR']), __FILE__, __LINE__, LOG_ERR); Horde::raiseMessage(sprintf(_("Sorry. Your IP is dnsbl listed in %s. You cannot send mail."),$dnsblname), HORDE_ERROR); $get_sig = false; break; } > I haven't heard of it. That to me sounds like the kind of thing you're > better off doing at the MTA level, instead of just in a web layer, > though. Trouble is, then its MTA-specific. Doing it in IMP makes it more portable and IMP already does db work, knows the username of the logged in user, and can give the user a nice error message (like my max-recipients or dnsbl messages) when they try to send and exceed their rate limit. Anyway, hopefully what I and others here have already done will convince the Nigerians to move along again to a service easier to abuse. ---------------------------------------------------------------------- Jon Lewis | I route Senior Network Engineer | therefore you are Atlantic Net | _________ http://www.lewis.org/~jlewis/pgp for PGP public key_________ From chuck at horde.org Wed Jun 29 14:13:34 2005 From: chuck at horde.org (Chuck Hagenbuch) Date: Wed, 29 Jun 2005 17:13:34 -0400 Subject: [imp] hardening imp against spammers In-Reply-To: References: <20050629144230.t0mg71shcs80wkc4@neo.wg.de> <20050629145228.mf0vldooqio0ko0s@marina.horde.org> Message-ID: <20050629171334.2xotvjziqhz0g8ok@marina.horde.org> Quoting Jon Lewis : > Sorry, I've been dealing with Nigerian webmail abusers on and off for > months and dealing with many other fires recently. I wasn't as much > complaining about the lack of such a feature as suggesting "here it is, > and it'd be great if someone would do whatever cleanup is required and > merge this into the code"...and Jan's message seemed to imply that he > didn't think it was worth incorporating (or did I misinterpret it) Yes. You asked if there was a reason not to include it. He said no. -chuck -- "But she goes not abroad in search of monsters to destroy." - John Quincy Adams From jlewis at lewis.org Wed Jun 29 19:47:39 2005 From: jlewis at lewis.org (Jon Lewis) Date: Wed, 29 Jun 2005 22:47:39 -0400 (EDT) Subject: [imp] hardening imp against spammers In-Reply-To: References: <20050629144230.t0mg71shcs80wkc4@neo.wg.de> Message-ID: On Wed, 29 Jun 2005, Jon Lewis wrote: > On Wed, 29 Jun 2005, Jan Schneider wrote: > > > > /* impose limit on number of recipients */ > > > if (substr_count($recips,"@") > $conf['user']['max_recipients']) { > > > Horde::raiseMessage(_("Too many recipients. Try again with > > > fewer."), HORDE_ERROR); > > > $get_sig = false; > > > break; > > > } > > > /* end impose limit on number of recipients */ > > > > Beside that it's for a very special problem (that I currently have at a > > customer's site too, btw), no. Ok...I think I did misinterpret this and thought you meant "no, it shouldn't be accepted" when you really meant "no, there's no reason not to incorporate this feature even though it's only needed in special cases." Are you dealing with the same problem at that customer's site? Maybe I'll be a little swifter on the uptake after actually sleeping tonight. I'm a little bummed that thus far, the only hits I've gotten on the dnsbl code appear to be legitimate customers on remote IPs that either are or recently were systems infected with spam proxies. ---------------------------------------------------------------------- Jon Lewis | I route Senior Network Engineer | therefore you are Atlantic Net | _________ http://www.lewis.org/~jlewis/pgp for PGP public key_________ From implist at paypc.com Wed Jun 29 19:59:56 2005 From: implist at paypc.com (Lord Apollyon) Date: Wed, 29 Jun 2005 19:59:56 -0700 Subject: [imp] hardening imp against spammers In-Reply-To: References: <20050629144230.t0mg71shcs80wkc4@neo.wg.de> Message-ID: <1120100396.42c3602ce2a19@www.paypc.com> > Ok...I think I did misinterpret this and thought you meant "no, it > shouldn't be accepted" when you really meant "no, there's no reason not to > incorporate this feature even though it's only needed in special cases." > > Are you dealing with the same problem at that customer's site? > > Maybe I'll be a little swifter on the uptake after actually sleeping > tonight. > > I'm a little bummed that thus far, the only hits I've gotten on the dnsbl > code appear to be legitimate customers on remote IPs that either are or > recently were systems infected with spam proxies. Well, I know that sendmail has a configuration item for this. Unless you're running some kind of mailing list, there's little good reason to allow more than 40 recipients in a given email transaction. =R= From jlewis at lewis.org Wed Jun 29 20:32:41 2005 From: jlewis at lewis.org (Jon Lewis) Date: Wed, 29 Jun 2005 23:32:41 -0400 (EDT) Subject: [imp] hardening imp against spammers In-Reply-To: <20050629125337.g73myhodso8k08ko@bigworm.curecanti.org> References: <20050629144230.t0mg71shcs80wkc4@neo.wg.de> <20050629125337.g73myhodso8k08ko@bigworm.curecanti.org> Message-ID: On Wed, 29 Jun 2005, Michael M Slusarz wrote: > DNSBL is a *very bad thing*. See > http://www.acme.com/mail_filtering/shame_frameset.html for a good > description of the issues. Overgeneralized and throwing out the baby with the bathwater. I know the people who run the DNSBLs I plan to use. I'm not at all worried about them becoming power hungry weenies. > Personal example: user sets up a machine on a home-based network that > is on a business broadbank link (i.e. small business operator from > home). The business broadband provider also happens to provide home > broadband support also. Complete idiot DNSBL maintainers blacklist the > user's address because a few (most definitely not all or even some) > users on the home broadband have either infected computers or are doing > bad things. Therefore, because DNSBL maintainers are lazy or > uneducated or both, instead of marking the individual addresses as bad > they instead mark the entire block of addresses registered to the > broadband provider as "bad" (We are talking entire Class C blocks > here). I think there's alot you don't understand about DNSBLs. > Quite honestly, it is a subtle form of discrimination in that DNSBL > maintainers can, by their actions, make certain broadband providers > less desirable due to the fact that their network connection is now > "tainted". If you live in an IP ghetto, complain to your landlord or move. Don't blame the DNSBLs for calling a spade a spade. Besides, the DNSBL data I'm using for IMP blocking is almost entirely machine generated (not some lazy DNSBL operator) via spamtraps and actual open proxy testing in response to received mail. Now, sure, it would be really foolish to use any DUL sort of DNSBL for blocking access to IMP, but that's not the DNSBL's fault...it's just a foolish application of the data. ---------------------------------------------------------------------- Jon Lewis | I route Senior Network Engineer | therefore you are Atlantic Net | _________ http://www.lewis.org/~jlewis/pgp for PGP public key_________ From jlewis at lewis.org Wed Jun 29 20:39:44 2005 From: jlewis at lewis.org (Jon Lewis) Date: Wed, 29 Jun 2005 23:39:44 -0400 (EDT) Subject: [imp] hardening imp against spammers In-Reply-To: <1120100396.42c3602ce2a19@www.paypc.com> References: <20050629144230.t0mg71shcs80wkc4@neo.wg.de> <1120100396.42c3602ce2a19@www.paypc.com> Message-ID: On Wed, 29 Jun 2005, Lord Apollyon wrote: > Well, I know that sendmail has a configuration item for this. Unless you're > running some kind of mailing list, there's little good reason to allow more > than 40 recipients in a given email transaction. I knew sendmail had this feature, though I'm unsure if it's applied to a locally invoked sendmail vs an SMTP session. That was why I started out trying to hack it into qmail. I gave up when I couldn't get my hacked up qmail/sendmail to link. Doing it in IMP turned out to be much simpler and has the advantage of being portable to any mailer system. ---------------------------------------------------------------------- Jon Lewis | I route Senior Network Engineer | therefore you are Atlantic Net | _________ http://www.lewis.org/~jlewis/pgp for PGP public key_________ From formiga at ecologia.ufrgs.br Wed Jun 29 23:28:36 2005 From: formiga at ecologia.ufrgs.br (Felipe Formiga) Date: Thu, 30 Jun 2005 03:28:36 -0300 Subject: [imp] imp filters Message-ID: <1120112916.42c3911479280@webmail.ecologia.ufrgs.br> Hello Where are the filters rules stored!? tenks, -- ========================================== Felipe Formiga - formiga at ecologia.ufrgs.br Universidade Federal do RS - UFRGS Centro de Ecologia da UFRGS - CENECO Porto Alegre - RS - Brasil +55 51 3316-6781 +55 51 9208-5880 ========================================== "Sou pior do que pensam e melhor do que imaginam, cr?ticas n?o me abalam, elogios n?o me iludem, sou o que sou e n?o o que pensam..." --------------------------------------------------------------- Centro de Ecologia da Universidade Federal do Rio Grande do Sul From slusarz at mail.curecanti.org Wed Jun 29 23:57:28 2005 From: slusarz at mail.curecanti.org (Michael M Slusarz) Date: Thu, 30 Jun 2005 00:57:28 -0600 Subject: [imp] hardening imp against spammers In-Reply-To: <20050629215449.mnnpfopftzocc8wo@webmail.kwsoft.de> References: <20050629144230.t0mg71shcs80wkc4@neo.wg.de> <20050629125337.g73myhodso8k08ko@bigworm.curecanti.org> <20050629215449.mnnpfopftzocc8wo@webmail.kwsoft.de> Message-ID: <20050630005728.8ogsvma9k4ocsosc@bigworm.curecanti.org> Quoting lst_hoe01 at kwsoft.de: > Zitat von Michael M Slusarz : > >> >> DNSBL is a *very bad thing*. See >> http://www.acme.com/mail_filtering/shame_frameset.html for a good >> description of the issues. >> >> Personal example: user sets up a machine on a home-based network that >> is on a business broadbank link (i.e. small business operator from >> home). The business broadband provider also happens to provide home >> broadband support also. Complete idiot DNSBL maintainers blacklist the >> user's address because a few (most definitely not all or even some) >> users on the home broadband have either infected computers or are doing >> bad things. Therefore, because DNSBL maintainers are lazy or >> uneducated or both, instead of marking the individual addresses as bad >> they instead mark the entire block of addresses registered to the >> broadband provider as "bad" (We are talking entire Class C blocks >> here). Since broadband provider does not provide information on how >> their blocks are allocated, businesses lose the ability to run their >> own servers due to ineptitude of DNSBL maintainers. >> >> Quite honestly, it is a subtle form of discrimination in that DNSBL >> maintainers can, by their actions, make certain broadband providers >> less desirable due to the fact that their network connection is now >> "tainted". > > Let's do not go for this discussion again. Not DNSBL are bad, but using them > without understanding what they do is. At least read and understand the > listing/delisting policy and choose if it matches your requirements. You completely misread what I wrote. The issue is that most users *can't* read or select the listing/delisting policy because they have no choice. I have no say in whether *your* provider uses DNSBL, but that choice directly affects *me*. Simply because your provider uses a DNSBL that has lazily adopted the idea that "all mail that come from (supposed) dynamic home IP address blocks" (even though there information is incorrect) should be blocked now means that I can't send you emails. stupid. But this list is not the place to start a flame war on this topic so I promise I will shut up now. michael _______________________________________ Michael Slusarz [slusarz at curecanti.org] From formiga at ecologia.ufrgs.br Thu Jun 30 00:20:19 2005 From: formiga at ecologia.ufrgs.br (Felipe Formiga) Date: Thu, 30 Jun 2005 04:20:19 -0300 Subject: [imp] filters rules stored Message-ID: <1120116019.42c39d3396b89@webmail.ecologia.ufrgs.br> Hello Where are the filters rules stored!? tenks, -- ========================================== Felipe Formiga - formiga at ecologia.ufrgs.br Universidade Federal do RS - UFRGS Centro de Ecologia da UFRGS - CENECO Porto Alegre - RS - Brasil +55 51 3316-6781 +55 51 9208-5880 ========================================== "Sou pior do que pensam e melhor do que imaginam, cr?ticas n?o me abalam, elogios n?o me iludem, sou o que sou e n?o o que pensam..." --------------------------------------------------------------- Centro de Ecologia da Universidade Federal do Rio Grande do Sul From jan at horde.org Thu Jun 30 00:51:22 2005 From: jan at horde.org (Jan Schneider) Date: Thu, 30 Jun 2005 09:51:22 +0200 Subject: [imp] imp filters In-Reply-To: <1120112916.42c3911479280@webmail.ecologia.ufrgs.br> References: <1120112916.42c3911479280@webmail.ecologia.ufrgs.br> Message-ID: <20050630095122.dynb362ys088oss4@neo.wg.de> Zitat von Felipe Formiga : > Where are the filters rules stored!? Is there afterlife? Care to be more specific, e.g. providing a version number for the start? Jan. -- Do you need professional PHP or Horde consulting? http://horde.org/consulting/ From formiga at ecologia.ufrgs.br Thu Jun 30 01:10:05 2005 From: formiga at ecologia.ufrgs.br (Felipe Formiga) Date: Thu, 30 Jun 2005 05:10:05 -0300 Subject: [imp] imp filters In-Reply-To: <20050630095122.dynb362ys088oss4@neo.wg.de> References: <1120112916.42c3911479280@webmail.ecologia.ufrgs.br> <20050630095122.dynb362ys088oss4@neo.wg.de> Message-ID: <1120119005.42c3a8ddeec68@webmail.ecologia.ufrgs.br> OK. My versions: Horde: 2.2.7 IMP: 3.2.6 (run IMP tests) Turba: 1.2.2 Kronolith: 1.1.2 -- ========================================== Felipe Formiga - formiga at ecologia.ufrgs.br Universidade Federal do RS - UFRGS Centro de Ecologia da UFRGS - CENECO Porto Alegre - RS - Brasil +55 51 3316-6781 +55 51 9208-5880 ========================================== "Sou pior do que pensam e melhor do que imaginam, cr?ticas n?o me abalam, elogios n?o me iludem, sou o que sou e n?o o que pensam..." Citando Jan Schneider : > Zitat von Felipe Formiga : > > > Where are the filters rules stored!? > > Is there afterlife? > > Care to be more specific, e.g. providing a version number for the start? > > Jan. > > -- > Do you need professional PHP or Horde consulting? > http://horde.org/consulting/ > > -- > IMP mailing list - Join the hunt: http://horde.org/bounties/#imp > Frequently Asked Questions: http://horde.org/faq/ > To unsubscribe, mail: imp-unsubscribe at lists.horde.org > --------------------------------------------------------------- Centro de Ecologia da Universidade Federal do Rio Grande do Sul From jan at horde.org Thu Jun 30 01:32:30 2005 From: jan at horde.org (Jan Schneider) Date: Thu, 30 Jun 2005 10:32:30 +0200 Subject: [imp] imp filters In-Reply-To: <1120119005.42c3a8ddeec68@webmail.ecologia.ufrgs.br> References: <1120112916.42c3911479280@webmail.ecologia.ufrgs.br> <20050630095122.dynb362ys088oss4@neo.wg.de> <1120119005.42c3a8ddeec68@webmail.ecologia.ufrgs.br> Message-ID: <20050630103230.hh2q61zck0cgos0o@neo.wg.de> The the answer is: in the user preferences. Zitat von Felipe Formiga : > OK. > My versions: > Horde: 2.2.7 > IMP: 3.2.6 (run IMP tests) > Turba: 1.2.2 > Kronolith: 1.1.2 > > -- > ========================================== > Felipe Formiga - formiga at ecologia.ufrgs.br > Universidade Federal do RS - UFRGS > Centro de Ecologia da UFRGS - CENECO > Porto Alegre - RS - Brasil > +55 51 3316-6781 +55 51 9208-5880 > ========================================== > > "Sou pior do que pensam e melhor do que imaginam, cr?ticas n?o me abalam, > elogios n?o me iludem, sou o que sou e n?o o que pensam..." > > > Citando Jan Schneider : > >> Zitat von Felipe Formiga : >> >> > Where are the filters rules stored!? >> >> Is there afterlife? >> >> Care to be more specific, e.g. providing a version number for the start? >> >> Jan. >> >> -- >> Do you need professional PHP or Horde consulting? >> http://horde.org/consulting/ >> >> -- >> IMP mailing list - Join the hunt: http://horde.org/bounties/#imp >> Frequently Asked Questions: http://horde.org/faq/ >> To unsubscribe, mail: imp-unsubscribe at lists.horde.org >> > > > --------------------------------------------------------------- > Centro de Ecologia da Universidade Federal do Rio Grande do Sul > -- > IMP mailing list - Join the hunt: http://horde.org/bounties/#imp > Frequently Asked Questions: http://horde.org/faq/ > To unsubscribe, mail: imp-unsubscribe at lists.horde.org > > Jan. -- Do you need professional PHP or Horde consulting? http://horde.org/consulting/ From formiga at ecologia.ufrgs.br Thu Jun 30 01:47:58 2005 From: formiga at ecologia.ufrgs.br (Felipe Formiga) Date: Thu, 30 Jun 2005 05:47:58 -0300 Subject: [imp] imp filters In-Reply-To: <20050630103230.hh2q61zck0cgos0o@neo.wg.de> References: <1120112916.42c3911479280@webmail.ecologia.ufrgs.br> <20050630095122.dynb362ys088oss4@neo.wg.de> <1120119005.42c3a8ddeec68@webmail.ecologia.ufrgs.br> <20050630103230.hh2q61zck0cgos0o@neo.wg.de> Message-ID: <1120121278.42c3b1bec7ead@webmail.ecologia.ufrgs.br> Yes. In the user preferenes, user can create filter with base in e-mail, subject, etc. Where is this information stored? tks, -- ========================================== Felipe Formiga - formiga at ecologia.ufrgs.br Universidade Federal do RS - UFRGS Centro de Ecologia da UFRGS - CENECO Porto Alegre - RS - Brasil +55 51 3316-6781 +55 51 9208-5880 ========================================== "Sou pior do que pensam e melhor do que imaginam, cr?ticas n?o me abalam, elogios n?o me iludem, sou o que sou e n?o o que pensam..." --------------------------------------------------------------- Centro de Ecologia da Universidade Federal do Rio Grande do Sul From kevin_myer at iu13.org Thu Jun 30 04:48:25 2005 From: kevin_myer at iu13.org (Kevin Myer) Date: Thu, 30 Jun 2005 07:48:25 -0400 Subject: [imp] hardening imp against spammers In-Reply-To: References: <20050629144230.t0mg71shcs80wkc4@neo.wg.de> <1120100396.42c3602ce2a19@www.paypc.com> Message-ID: <20050630074825.6k3n3dz0hdvocsw8@webapps.iu13.org> Quoting Jon Lewis : > I knew sendmail had this feature, though I'm unsure if it's applied to a > locally invoked sendmail vs an SMTP session. That was why I started out > trying to hack it into qmail. I gave up when I couldn't get my hacked up > qmail/sendmail to link. Doing it in IMP turned out to be much simpler and > has the advantage of being portable to any mailer system. But IMP isn't a MTA. If you need recipient count limitations, pick a MTA that provides that feature. If your MTA doesn't provide support for that, and the feature is important enough to you, choose a MTA that does. I guess I missed something in this thread - how is it that spammers are getting access to IMP in the first place? Kevin -- Kevin M. Myer Senior Systems Administrator Lancaster-Lebanon Intermediate Unit 13 http://www.iu13.org From asa at isac.ernet.in Thu Jun 30 04:23:10 2005 From: asa at isac.ernet.in (Anant S Athavale) Date: Thu, 30 Jun 2005 16:53:10 +0530 Subject: [imp] Address Book in Compose related.... Message-ID: <20050630115514.BEF3210EA@mail.isac.ernet.in> Dear members, I am using HORDE 3/IMP 4 (latest stable releases). When Address book is selected in compose window, The names are sorted by lastname.? I want them to be listed by first name.? What do I need to do?? There is no preference to choose. Regards, Anant Athavale, From jlewis at lewis.org Thu Jun 30 04:55:48 2005 From: jlewis at lewis.org (Jon Lewis) Date: Thu, 30 Jun 2005 07:55:48 -0400 (EDT) Subject: [imp] hardening imp against spammers In-Reply-To: <20050630074825.6k3n3dz0hdvocsw8@webapps.iu13.org> References: <20050629144230.t0mg71shcs80wkc4@neo.wg.de> <1120100396.42c3602ce2a19@www.paypc.com> <20050630074825.6k3n3dz0hdvocsw8@webapps.iu13.org> Message-ID: On Thu, 30 Jun 2005, Kevin Myer wrote: > I guess I missed something in this thread - how is it that spammers are > getting access to IMP in the first place? They're signing up for accounts using stolen credit cards / credit card info. I don't know how they get it, but they have card numbers, expiration dates, CVV2 codes from the backs of the cards, and the billing address info. ---------------------------------------------------------------------- Jon Lewis | I route Senior Network Engineer | therefore you are Atlantic Net | _________ http://www.lewis.org/~jlewis/pgp for PGP public key_________ From linuxbox at wavenet.at Thu Jun 30 05:25:30 2005 From: linuxbox at wavenet.at (martin hochreiter) Date: Thu, 30 Jun 2005 14:25:30 +0200 Subject: [imp] Turba & IMP & Ldap Message-ID: <42C3E4BA.7070202@wavenet.at> Hi! I have the lasted version of turba H3 on my Suse 9.2 Linux. We are using no personal addressbooks, just a company address book. I configured the localldap section in the sources.php and tested those parameters with /turba/test.php - it's working. But if I want to call the adressbook within imp or horde is nothing happening - no error message, just 'page loading' How can I solve that? lg From sguney at metu.edu.tr Thu Jun 30 05:20:57 2005 From: sguney at metu.edu.tr (Servet Guney) Date: Thu, 30 Jun 2005 15:20:57 +0300 Subject: [imp] Localization with UTF-8 Message-ID: <42C3E3A9.5080202@metu.edu.tr> Hi, We are the members of Technical Support Group in METU Computer Center...Recently we download and installed the Horde and Imp....But we have experienced language difficulties in imp for turkish...So we decided to contribute the translation and we started to localizaiton for turkish...(For now, horde and imp uses tr_TR.po file which is not updated since Dec 2002)...We have conctacted with the Genco Yilmaz who is former supporter for the turkish localization...He agreed with us that we should update the recent file.....We want to ask that Genco Yilmaz used charset ISO-8859-9 during localization for turkish but we want to use UTF-8 charset....What are the opinions about this? From jan at horde.org Thu Jun 30 05:31:57 2005 From: jan at horde.org (Jan Schneider) Date: Thu, 30 Jun 2005 14:31:57 +0200 Subject: [imp] Localization with UTF-8 In-Reply-To: <42C3E3A9.5080202@metu.edu.tr> References: <42C3E3A9.5080202@metu.edu.tr> Message-ID: <20050630143157.4wgwifegw00w8g8c@neo.wg.de> Zitat von Servet Guney : > Hi, > We are the members of Technical Support Group in METU Computer > Center...Recently we download and installed the Horde and Imp....But > we have experienced language difficulties in imp for turkish...So we > decided to contribute the translation and we started to localizaiton > for turkish...(For now, horde and imp uses tr_TR.po file which is not > updated since Dec 2002)...We have conctacted with the Genco Yilmaz > who is former supporter for the turkish localization...He agreed with > us that we should update the recent file.....We want to ask that > Genco Yilmaz used charset ISO-8859-9 during localization for turkish > but we want to use UTF-8 charset....What are the opinions about this? Please keep the translation in iso-8859-9 and please ask questions regarding translations on the i18n mailing list. Jan. -- Do you need professional PHP or Horde consulting? http://horde.org/consulting/ From eculp at encontacto.net Thu Jun 30 06:52:10 2005 From: eculp at encontacto.net (Edwin L. Culp) Date: Thu, 30 Jun 2005 08:52:10 -0500 Subject: [imp] Turba & IMP & Ldap In-Reply-To: <42C3E4BA.7070202@wavenet.at> References: <42C3E4BA.7070202@wavenet.at> Message-ID: <20050630085210.84peunh1g088g0wg@mail.encontacto.net> Quoting martin hochreiter : > Hi! > > I have the lasted version of turba H3 on my Suse 9.2 Linux. > We are using no personal addressbooks, just a company address book. > I configured the localldap section in the sources.php and tested > those parameters with /turba/test.php - it's working. > > But if I want to call the adressbook within imp or horde is nothing > happening - no error message, just 'page loading' First does it work with turba? How have you configured the address book options in imp? Do you see that slapd is being accessed when you use turba and imp? ed From yves.bilgeri at gibw.ch Thu Jun 30 07:34:14 2005 From: yves.bilgeri at gibw.ch (Yves Bilgeri) Date: Thu, 30 Jun 2005 16:34:14 +0200 Subject: [imp] Spell Checking in de_CH Swiss German Message-ID: <42C402E6.20003@gibw.ch> Hi, I'm using Horde3.0.4, IMP4.02, Turba2.0.2 on a Debian/Sarge Server with the official packages from Debian. First the spell checking works fine for all installed languages on our server. But the thing is that our company is in Switzerland and the Swiss German is a bit different from the real German. Now how can i tell IMP to use the de_CH aspell dictionary for users that are logged in with German in IMP? I read the horde/TRANSLATIONS and horde/po/README docs. Maybe there is a simple way to do that in Horde/IMP? Thanks in advance, Yves From kevin_myer at iu13.org Thu Jun 30 07:49:23 2005 From: kevin_myer at iu13.org (Kevin Myer) Date: Thu, 30 Jun 2005 10:49:23 -0400 Subject: [imp] Spell Checking in de_CH Swiss German In-Reply-To: <42C402E6.20003@gibw.ch> References: <42C402E6.20003@gibw.ch> Message-ID: <20050630104923.0htfoivkr9c00880@webapps.iu13.org> Quoting Yves Bilgeri : > Now how can i tell IMP to use the de_CH aspell dictionary for users that > are logged in with German in IMP? In horde/config/nls.php, look at the spelling section. You can specify which dictionaries to use, depending on the language. Kevin -- Kevin M. Myer Senior Systems Administrator Lancaster-Lebanon Intermediate Unit 13 http://www.iu13.org From yves.bilgeri at gibw.ch Thu Jun 30 08:27:01 2005 From: yves.bilgeri at gibw.ch (Yves Bilgeri) Date: Thu, 30 Jun 2005 17:27:01 +0200 Subject: [imp] Spell Checking in de_CH Swiss German In-Reply-To: <20050630104923.0htfoivkr9c00880@webapps.iu13.org> References: <42C402E6.20003@gibw.ch> <20050630104923.0htfoivkr9c00880@webapps.iu13.org> Message-ID: <42C40F45.6080702@gibw.ch> Kevin Myer wrote: > In horde/config/nls.php, look at the spelling section. You can specify which > dictionaries to use, depending on the language. Thanks for your answer. Now I got it! I completely overlooked the spelling section in nls.php, now the line for de_DE looks so: $nls['spelling']['de_DE'] = '-T latin1 -d swiss'; From cgysin at gmx.ch Thu Jun 30 08:34:58 2005 From: cgysin at gmx.ch (Christoph Gysin) Date: Thu, 30 Jun 2005 17:34:58 +0200 Subject: [imp] [PATCH] Re: Spell Checking in de_CH Swiss German In-Reply-To: <20050630104923.0htfoivkr9c00880@webapps.iu13.org> References: <42C402E6.20003@gibw.ch> <20050630104923.0htfoivkr9c00880@webapps.iu13.org> Message-ID: <42C41122.5000204@gmx.ch> Kevin Myer wrote: > In horde/config/nls.php, look at the spelling section. You can specify which > dictionaries to use, depending on the language. Is there any chance of getting the three locales of switzerland in CVS? patch attached... Christoph -- echo mailto: NOSPAM !#$.'<*>'|sed 's. ..'|tr "<*> !#:2" org at fr33z3 -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: nls.patch Url: http://lists.horde.org/archives/imp/attachments/20050630/0a08b8ee/nls.ksh From kevin_myer at iu13.org Thu Jun 30 08:44:16 2005 From: kevin_myer at iu13.org (Kevin Myer) Date: Thu, 30 Jun 2005 11:44:16 -0400 Subject: [imp] [PATCH] Re: Spell Checking in de_CH Swiss German In-Reply-To: <42C41122.5000204@gmx.ch> References: <42C402E6.20003@gibw.ch> <20050630104923.0htfoivkr9c00880@webapps.iu13.org> <42C41122.5000204@gmx.ch> Message-ID: <20050630114416.zggmnf42x0rxcc88@webapps.iu13.org> Sure, just so it doesn't get lost in the shuffle, log an enhancement at bugs.horde.org and attach your patch. Kevin -- Kevin M. Myer Senior Systems Administrator Lancaster-Lebanon Intermediate Unit 13 http://www.iu13.org From jan at horde.org Tue Jun 28 08:35:26 2005 From: jan at horde.org (Jan Schneider) Date: Tue, 28 Jun 2005 17:35:26 +0200 Subject: [imp] [PATCH] Re: Spell Checking in de_CH Swiss German In-Reply-To: <42C41122.5000204@gmx.ch> References: <42C402E6.20003@gibw.ch> <20050630104923.0htfoivkr9c00880@webapps.iu13.org> <42C41122.5000204@gmx.ch> Message-ID: <20050628173526.lrf4zq64cg8kgw0k@neo.wg.de> Zitat von Christoph Gysin : > Kevin Myer wrote: >> In horde/config/nls.php, look at the spelling section. You can >> specify which >> dictionaries to use, depending on the language. > > Is there any chance of getting the three locales of switzerland in CVS? As they don't provide anything additional beside the spell check configuration, I don't want to overload the language list with that. Jan. -- Do you need professional PHP or Horde consulting? http://horde.org/consulting/ From cgysin at gmx.ch Thu Jun 30 09:03:45 2005 From: cgysin at gmx.ch (Christoph Gysin) Date: Thu, 30 Jun 2005 18:03:45 +0200 Subject: [imp] [PATCH] Re: Spell Checking in de_CH Swiss German In-Reply-To: <20050628173526.lrf4zq64cg8kgw0k@neo.wg.de> References: <42C402E6.20003@gibw.ch> <20050630104923.0htfoivkr9c00880@webapps.iu13.org> <42C41122.5000204@gmx.ch> <20050628173526.lrf4zq64cg8kgw0k@neo.wg.de> Message-ID: <42C417E1.7000001@gmx.ch> Jan Schneider wrote: > As they don't provide anything additional beside the spell check > configuration, I don't want to overload the language list with that. Well, they select different locales. Isn't there more in horde that depends on the selected locale? If not, I think I can live without it. Thanks anyway. Christoph -- echo mailto: NOSPAM !#$.'<*>'|sed 's. ..'|tr "<*> !#:2" org at fr33z3 From horde at harbell.net Thu Jun 30 09:17:18 2005 From: horde at harbell.net (Jaz) Date: Thu, 30 Jun 2005 12:17:18 -0400 Subject: [imp] Redirect loop on IMP auth In-Reply-To: <42C2FFDE.4040200@harbell.net> References: <42C2921A.8090208@harbell.net> <20050629130120.nf02wh9qyo4gkwgk@bigworm.curecanti.org> <42C2FFDE.4040200@harbell.net> Message-ID: <42C41B0E.5080305@harbell.net> Jaz wrote: >>>IMP, at authentication, is cycling the following into my Apache2 log in >>>an endless loop. This is after upgrading Apache from 1.3 to 2.0.54 and >>>PHP from 4.3 to 5.0.4 (and PEAR). I have hordeauth set to true in >>>imp/servers.php -- set to false the result is a simple IMP login failure.) >>> >>> >>> >>Are you sure the horde password is the same as the IMP password? >> >> >horde is uses IMP for authentication (in horde's conf.php file: >$conf['auth']['driver'] = 'imap'; ) and IMP should use the session >(imp's servers.php file: 'hordeauth' => true, ) > >Nothing in my horde tree changed when I upgraded to Apache2 & PHP5. So >I'm guessing it's something to do with tighter session stuff in one or >both of the newer Apache/PHP(??) I'm thinking the fix is somewhere in >php.ini or httpd.conf. > > More... I saw these in horde.log, which led me to believe that perhaps it's a stored certificate or cookie in my browser: Jun 30 11:50:03 HORDE [notice] [imp] 172.16.30.101 [on line 31 of "D:\HTSERV\HTDOCS\horde\imp\login.php"] Jun 30 11:50:04 HORDE [info] [imp] Invalid server key "" from client [172.16.30.101] [on line 143 of "D:\HTSERV\HTDOCS\horde\imp\redirect.php"] So I set hordeauth to false to force a separate IMP login: Jun 30 11:51:18 HORDE [notice] [imp] 172.16.30.101 [on line 31 of "D:\HTSERV\HTDOCS\horde\imp\login.php"] Jun 30 11:51:35 HORDE [error] [imp] FAILED LOGIN 172.16.30.101 to 127.0.0.1:143[imap/notls] as jaz [on line 247 of "D:\HTSERV\HTDOCS\horde\imp\lib\Auth\imp.php"] Jun 30 11:51:36 HORDE [debug] [] SQL Query by Prefs_sql::retrieve(): SELECT pref_scope, pref_name, pref_value FROM horde_prefs WHERE pref_uid = 'jaz' AND (pref_scope = 'imp' OR pref_scope = 'horde') ORDER BY pref_scope [on line 147 of "D:\HTSERV\HTDOCS\horde\lib\Horde\Prefs\sql.php"] Jun 30 11:51:36 HORDE [notice] [imp] 172.16.30.101 failed [on line 31 of "D:\HTSERV\HTDOCS\horde\imp\login.php"] I don't see a stored certificate but did remove auth_key and imp_key cookies, but no improvement. I can login to horde using IMAP for authentication, but can't get into IMP. Does anyone get anything out of this? Jaz From missconduct at hell-kitten.com Thu Jun 30 10:41:35 2005 From: missconduct at hell-kitten.com (Miss Conduct) Date: Thu, 30 Jun 2005 10:41:35 -0700 Subject: [imp] messages in my inbox deleted Message-ID: <20050630104135.2jhp6aom6mww8okc@www.hell-kitten.com> I'm not very familiar with this kind of thing, but somehow ALL of the messages in my inbox were deleted before my eyes and I don't know why or how. Is there any way to get them back? They're not in the trash and the search function keeps timing out. Any advice? From chuck at horde.org Thu Jun 30 10:45:22 2005 From: chuck at horde.org (Chuck Hagenbuch) Date: Thu, 30 Jun 2005 13:45:22 -0400 Subject: [imp] Turba & IMP & Ldap In-Reply-To: <42C3E4BA.7070202@wavenet.at> References: <42C3E4BA.7070202@wavenet.at> Message-ID: <20050630134522.aftr6751dj2occ4o@marina.horde.org> Quoting martin hochreiter : > But if I want to call the adressbook within imp or horde is nothing > happening - no error message, just 'page loading' Please stop reposting your question, and please ask questions about Turba only on the Turba list. -chuck -- "But she goes not abroad in search of monsters to destroy." - John Quincy Adams From dfrazier at glengroup.com Thu Jun 30 11:49:22 2005 From: dfrazier at glengroup.com (Daniel Frazier) Date: Thu, 30 Jun 2005 14:49:22 -0400 Subject: [imp] virtual users and their from addys... In-Reply-To: <42C0463A.6040300@glengroup.com> References: <42C0463A.6040300@glengroup.com> Message-ID: <42C43EB2.7000708@glengroup.com> anyone? I've been playing with various hooks for the last 3 days, but the specifics of what variables I need to be modifying are eluding me... I've gotten the from address to show as "virtuser%virtdomain@" by unsetting the maildomain in imp/config/servers.php, but that's no good. It needs to be "virtuser at virtdomain" so my users don't complain... I'll keep plugging away, but would really, really appreciate some guidance from someone who knows what they're doing. thanks in advance.. Daniel Frazier wrote: > greetz all, > > I'm using horde-3.0.3, imp-h3-4.0.2 and turba-h3-2.0.2 on a qmail > server which uses vpopmail for virtual domain management. I have > searched the FAQ and the mailing lists but haven't found a solution to > my problem (although it has been asked before), and am finally > resorting to asking for help. > > I've got an issue with the From addy that's used when a virtual user > composes an email. The addy is shown as virtuser%virtdomain at realdomain. > Mail gets sent, but replying to that addy won't work. I'm hoping > there's a way to fix this so that I don't have to just tell the users > to update their identity prior to sending any emails. I'd like to > have the from address automagically set to virtuser at virtdomain. > > Have I overlooked some functionality that's already there? I > looked at the virtual user hook, but that looks like it will set the > from address to virtuser at realdomain, which isn't what I need. Now, I'm > not a PHP coder, so it's entirely possible I misinterpreted that code. > If the code's already there can someone let me know what I need to > enable to get the right address, otherwise would someone be so kind as > to provide a patch or a snippit of code that I can manually add? > > Thanks... > -- ---------------------------------------------------------------------- Daniel Frazier Tel: 603-356-3030 Ext. 331 Systems Administrator Glen Group WWW: http://www.glengroup.com/ "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." - Benjamin Franklin, Historical Review of Pennsylvania, 1759. From kevin_myer at iu13.org Thu Jun 30 11:59:38 2005 From: kevin_myer at iu13.org (Kevin Myer) Date: Thu, 30 Jun 2005 14:59:38 -0400 Subject: [imp] virtual users and their from addys... In-Reply-To: <42C43EB2.7000708@glengroup.com> References: <42C0463A.6040300@glengroup.com> <42C43EB2.7000708@glengroup.com> Message-ID: <20050630145938.hrv3qw7m6zeso0gs@webapps.iu13.org> Quoting Daniel Frazier : > anyone? I've been playing with various hooks for the last 3 days, but > the specifics of what variables I need to be modifying are eluding me... > I've gotten the from address to show as "virtuser%virtdomain@" by > unsetting the maildomain in imp/config/servers.php, but that's no good. > It needs to be "virtuser at virtdomain" so my users don't complain... I'll > keep plugging away, but would really, really appreciate some guidance > from someone who knows what they're doing. I don't pretend to know what I'm doing but if you've gotten it to the state of virtuser%virtdomain, just do a preg_replace on it and replace @ with nothing and the % with @. Kevin -- Kevin M. Myer Senior Systems Administrator Lancaster-Lebanon Intermediate Unit 13 http://www.iu13.org From dfrazier at glengroup.com Thu Jun 30 13:00:19 2005 From: dfrazier at glengroup.com (Daniel Frazier) Date: Thu, 30 Jun 2005 16:00:19 -0400 Subject: [imp] virtual users and their from addys... In-Reply-To: <20050630145938.hrv3qw7m6zeso0gs@webapps.iu13.org> References: <42C0463A.6040300@glengroup.com> <42C43EB2.7000708@glengroup.com> <20050630145938.hrv3qw7m6zeso0gs@webapps.iu13.org> Message-ID: <42C44F53.2010402@glengroup.com> Kevin Myer wrote: > Quoting Daniel Frazier : > > >>anyone? I've been playing with various hooks for the last 3 days, but >>the specifics of what variables I need to be modifying are eluding me... >>I've gotten the from address to show as "virtuser%virtdomain@" by >>unsetting the maildomain in imp/config/servers.php, but that's no good. >>It needs to be "virtuser at virtdomain" so my users don't complain... I'll >>keep plugging away, but would really, really appreciate some guidance >>from someone who knows what they're doing. > > > I don't pretend to know what I'm doing but if you've gotten it to the state of > virtuser%virtdomain, just do a preg_replace on it and replace @ with nothing > and the % with @. > > Kevin > Thanks for the input, Kevin. It's not so much the how to do it that's got me boggled, it's the "what" and "where". What variables need to be massaged and where the heck are they? I know perl well enough to hack at the php, and I've got some expert developers here who can help if needed. I've tried adding... $conf['hooks']['username'] = true; ...to horde/imp/config/conf.php, and added this entry to /horde/config/hooks.php: if (!function_exists('_imp_hook_username')) { function _imp_hook_username($userid) { if (strstr($userid, '%')) { $parts = explode('%', $userid); $userid = $parts[0] . '@' . $parts[1]; return $userid; } else { return $userid; } } } But it's just not working! I added a hook for sam as well, in order to get the prefs added to mysql correctly, and that one works like a champ. if (!function_exists('_sam_hook_username')) { function _sam_hook_username($horde_uid) { if (strstr($horde_uid, '%')) { $parts = explode('%', $horde_uid); $horde_uid = $parts[0] . '@' . $parts[1]; return $horde_uid; } else { return $horde_uid; } } } As you can see, it's basically the same code. I've tried it using both $userid and $horde_uid, but neither affects the login. I can't tell if this hook is being called at all, or if I just haven't tried the right username variable. If I log in using "virtuser at virtdomain" everything works as it should, but I want to enforce using a "%" 'cause that's what they have to use when using their normal email clients and I don't want to confuse my users any more than necessary. I've also played with the the vinfo hook, but that doesn't give me what I need. It seems to want to use the same vdomain for everyone who logs in, which is no good. I just want users to log in using their normal username, "vuser%vdomain", and have imp change that to "vuser at vdomain" immediately after logging in. -- ---------------------------------------------------------------------- Daniel Frazier Tel: 603-356-3030 Ext. 331 Systems Administrator Glen Group WWW: http://www.glengroup.com/ "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." - Benjamin Franklin, Historical Review of Pennsylvania, 1759. From grahamcw at hurleybulldogs.com Thu Jun 30 14:35:23 2005 From: grahamcw at hurleybulldogs.com (Bill Graham) Date: Thu, 30 Jun 2005 16:35:23 -0500 Subject: [imp] messages in my inbox deleted In-Reply-To: <20050630104135.2jhp6aom6mww8okc@www.hell-kitten.com> References: <20050630104135.2jhp6aom6mww8okc@www.hell-kitten.com> Message-ID: <20050630163523.umk2516e08joggwc@www.hurleybulldogs.com> I have had a long time problem with this same thing.It only happened to one user. Is it fixed it, I don't know. Using RH 7.3 UW-imap Postfix 2.1.5 php 4.3.11 with phpa Apache/1.3.27 I also updated PEAR modules and a cvs version of horde, et. al. I finally recreated the mailboxes and went through the user's options. I found that they had had Mailboxes set up for outlook sharing ( fore instance Sent Items instead of sent-items ) I cleaned out the mailbox structure. Made sure the options were set correctly. Recreated mailboxes. I updated c-client. Updated php. And I have not seen it in several months. I never received any error messages, but I could tell the trash file had been recreated when it occured. Now that I have said this , I am sure it will hit me again. I also had intermittant imap authorization failures - rare but enuf to be a pain. I updated the xinetd parms for the imap daemon cps = 80 15 Hope this at least helps some Bill Quoting Miss Conduct : > I'm not very familiar with this kind of thing, but somehow ALL of the > messages in my inbox were > deleted before my eyes and I don't know why or how. Is there any way > to get them back? They're not > in the trash and the search function keeps timing out. Any advice? > > -- > IMP mailing list - Join the hunt: http://horde.org/bounties/#imp > Frequently Asked Questions: http://horde.org/faq/ > To unsubscribe, mail: imp-unsubscribe at lists.horde.org > -- Bill Graham Systems Administrator Hurley Public Schools Hurley,SD 57036 USA grahamcw at hurleybulldogs.com ---------------------------------------------------------------- This electronic mail sent from Hurley Public Schools - Hurley, South Dakota http://www.hurleybulldogs.com NOTICE: This E-mail (including attachments) is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential and may be legally privileged. If you are not the intended recipient, you are hereby notified that any retention, dissemination, distribution, or copying of this communication is strictly prohibited. Please reply to the sender that you have received the message in error, then delete it. Thank you. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-keys Size: 1375 bytes Desc: PGP Public Key Url : http://lists.horde.org/archives/imp/attachments/20050630/9737c450/attachment.bin From nhall at siscomsrl.com.ar Thu Jun 30 17:20:36 2005 From: nhall at siscomsrl.com.ar (Normando Hall) Date: Thu, 30 Jun 2005 21:20:36 -0300 Subject: [imp] imp filters References: <1120112916.42c3911479280@webmail.ecologia.ufrgs.br><20050630095122.dynb362ys088oss4@neo.wg.de><1120119005.42c3a8ddeec68@webmail.ecologia.ufrgs.br><20050630103230.hh2q61zck0cgos0o@neo.wg.de> <1120121278.42c3b1bec7ead@webmail.ecologia.ufrgs.br> Message-ID: In DB prefs table "Felipe Formiga" escribió en el mensaje news:1120121278.42c3b1bec7ead at webmail.ecologia.ufrgs.br... Yes. In the user preferenes, user can create filter with base in e-mail, subject, etc. Where is this information stored? tks, -- ========================================== Felipe Formiga - formiga at ecologia.ufrgs.br Universidade Federal do RS - UFRGS Centro de Ecologia da UFRGS - CENECO Porto Alegre - RS - Brasil +55 51 3316-6781 +55 51 9208-5880 ========================================== "Sou pior do que pensam e melhor do que imaginam, críticas não me abalam, elogios não me iludem, sou o que sou e não o que pensam..." --------------------------------------------------------------- Centro de Ecologia da Universidade Federal do Rio Grande do Sul -- IMP mailing list - Join the hunt: http://horde.org/bounties/#imp Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: imp-unsubscribe at lists.horde.org From linuxbox at wavenet.at Thu Jun 30 22:46:09 2005 From: linuxbox at wavenet.at (Martin Hochreiter) Date: Fri, 01 Jul 2005 07:46:09 +0200 Subject: [imp] Turba & IMP & Ldap In-Reply-To: <20050630085210.84peunh1g088g0wg@mail.encontacto.net> References: <42C3E4BA.7070202@wavenet.at> <20050630085210.84peunh1g088g0wg@mail.encontacto.net> Message-ID: <42C4D8A1.3000609@wavenet.at> >First does it work with turba? How have you configured the address >book options in imp? >Do you see that slapd is being accessed when you use turba and imp? > > > Hi Ed! I don't see any address book options in the horde configuration tool for imp, the addressbook is in the menu since I added turba. If I use /turba/test.php the ldap server is queried correctly, if I use the addressbook, nothing happens. lg From linuxbox at wavenet.at Thu Jun 30 22:47:54 2005 From: linuxbox at wavenet.at (Martin Hochreiter) Date: Fri, 01 Jul 2005 07:47:54 +0200 Subject: [imp] Turba & IMP & Ldap In-Reply-To: <20050630134522.aftr6751dj2occ4o@marina.horde.org> References: <42C3E4BA.7070202@wavenet.at> <20050630134522.aftr6751dj2occ4o@marina.horde.org> Message-ID: <42C4D90A.2030701@wavenet.at> >Please stop reposting your question, and please ask questions about >Turba only on the Turba list. > > > > Hi Chuck! I would have done that if there is any action on the turba forum at all but I didn't see a posting for the last 3 days (execpt mine) lg From jan at horde.org Fri Jul 1 01:26:35 2005 From: jan at horde.org (Jan Schneider) Date: Fri, 01 Jul 2005 10:26:35 +0200 Subject: [imp] [horde] Quota e In-Reply-To: <2B85C91A83238C42877C9282C9950CEA4375C2@ENIF.portoalegre.pucrsnet.br> References: <2B85C91A83238C42877C9282C9950CEA4375C2@ENIF.portoalegre.pucrsnet.br> Message-ID: <20050701102635.wkg1wb5n8c008kg0@neo.wg.de> Let's continue the discussion on the imp list. Zitat von Luiz Alfredo Baggiotto : > I was edited the file imp/lib/Quota/command.php and changed the line > 70 of the file: > > 70: $cmdline = $this->_params['quota_path'] . " -u $imap_user | " . > 71: $this->_params['grep_path'] . " $homedir[1]"; > 72: $junk = exec($cmdline, $quota_data, $return_code); > 73: if (($return_code == 0) && (count($quota_data) == 1)) { > 74: $quota = split("[[:blank:]]+", trim($quota_data[0])); > 75: return array('usage' => $quota[1] * 1024, 'limit' => > $quota[2] * 1024); > 76: } > 77: return PEAR::raiseError(_("Unable to retrieve quota"), 'horde.error'); > > to > > 70: $cmdline = $this->_params['quota_path'] . " -v $imap_user | " . > > It?s because in Solaris the quota command has a different syntax: > > # /usr/sbin/quota -v user1 | /usr/bin/grep /home > /home 22 102400 102400 0 0 0 > > When I logged in horde via browser, using the "user1" account, I > receive "Unable to retrieve quota". :-( > I was tested some options, but the result are ever "Unable to > retrieve quota". Then I change the following line, to test the > behavior of script: > > 73: if (($return_code == 0) && (count($quota_data) == 1)) { > > to > > 73: if ($return_code == 1) { > > and then I received the following error in browser: > > Notice: Undefined offset: 0 in .../Quota/command.php on line 74 > Notice: Undefined offset: 1 in .../Quota/command.php on line 75 > Notice: Undefined offset: 2 in .../Quota/command.php on line 75 Maybe quota doesn't echo the output to stdout on your system? Because that's what goes into $quota_data. Maybe try $cmdline = $this->_params['quota_path'] . " -u $imap_user | " . $this->_params['grep_path'] . " $homedir[1] 2>&1"; $junk should also contain the last line of the output. Jan. -- Do you need professional PHP or Horde consulting? http://horde.org/consulting/ From jan at horde.org Fri Jul 1 01:30:14 2005 From: jan at horde.org (Jan Schneider) Date: Fri, 1 Jul 2005 18:30:14 +1000 Subject: [imp] [horde] Quota e In-Reply-To: <2B85C91A83238C42877C9282C9950CEA4375C2@ENIF.portoalegre.pucrsnet.br> References: <2B85C91A83238C42877C9282C9950CEA4375C2@ENIF.portoalegre.pucrsnet.br> Message-ID: <000001c57e17$1ac346c0$640aa8c0@SafeWorld.local> Let's continue the discussion on the imp list. Zitat von Luiz Alfredo Baggiotto : > I was edited the file imp/lib/Quota/command.php and changed the line > 70 of the file: > > 70: $cmdline = $this->_params['quota_path'] . " -u $imap_user | " . > 71: $this->_params['grep_path'] . " $homedir[1]"; > 72: $junk = exec($cmdline, $quota_data, $return_code); > 73: if (($return_code == 0) && (count($quota_data) == 1)) { > 74: $quota = split("[[:blank:]]+", trim($quota_data[0])); > 75: return array('usage' => $quota[1] * 1024, 'limit' => > $quota[2] * 1024); > 76: } > 77: return PEAR::raiseError(_("Unable to retrieve quota"), 'horde.error'); > > to > > 70: $cmdline = $this->_params['quota_path'] . " -v $imap_user | " . > > It?s because in Solaris the quota command has a different syntax: > > # /usr/sbin/quota -v user1 | /usr/bin/grep /home > /home 22 102400 102400 0 0 0 > > When I logged in horde via browser, using the "user1" account, I > receive "Unable to retrieve quota". :-( > I was tested some options, but the result are ever "Unable to > retrieve quota". Then I change the following line, to test the > behavior of script: > > 73: if (($return_code == 0) && (count($quota_data) == 1)) { > > to > > 73: if ($return_code == 1) { > > and then I received the following error in browser: > > Notice: Undefined offset: 0 in .../Quota/command.php on line 74 > Notice: Undefined offset: 1 in .../Quota/command.php on line 75 > Notice: Undefined offset: 2 in .../Quota/command.php on line 75 Maybe quota doesn't echo the output to stdout on your system? Because that's what goes into $quota_data. Maybe try $cmdline = $this->_params['quota_path'] . " -u $imap_user | " . $this->_params['grep_path'] . " $homedir[1] 2>&1"; $junk should also contain the last line of the output. Jan. -- Do you need professional PHP or Horde consulting? http://horde.org/consulting/ -- Horde mailing list - Join the hunt: http://horde.org/bounties/#horde Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: horde-unsubscribe at lists.horde.org From luiz at pucrs.br Fri Jul 1 05:33:29 2005 From: luiz at pucrs.br (Luiz Alfredo Baggiotto) Date: Fri, 1 Jul 2005 09:33:29 -0300 Subject: [imp] RES: [horde] Quota e Message-ID: <2B85C91A83238C42877C9282C9950CEA437621@ENIF.portoalegre.pucrsnet.br> Hello Jan Thank?s a lot for your help. :-) I made the change in the line "74" of imp/lib/Quota/command.php file, following your suggestion below, but the problem persists. I think the output of quota command is Ok (at least, when I run it in the console, the results are showed in the monitor), but by any reason PHP can?t get it. To test the $junk variable, I was changed the following line too: 73: if (($return_code == 0) && (count($quota_data) == 1)) { to 73: if ($junk == 0) { Then, I logged in the browser and the code subsequent has been executed (is it that because the variable is empty, true?), showing the error Notice: Undefined offset: 0 in .../Quota/command.php on line 74 Notice: Undefined offset: 1 in .../Quota/command.php on line 75 Notice: Undefined offset: 2 in .../Quota/command.php on line 75 Can you see any other alternative? Thanks again for your patience. Regards > -----Mensagem original----- > De: horde-bounces at lists.horde.org > [mailto:horde-bounces at lists.horde.org] Em nome de Jan Schneider > Enviada em: sexta-feira, 1 de julho de 2005 05:27 > Para: horde at lists.horde.org > Cc: imp at lists.horde.org > Assunto: Re: [horde] Quota e > > Let's continue the discussion on the imp list. > > Zitat von Luiz Alfredo Baggiotto : > > > I was edited the file imp/lib/Quota/command.php and changed > the line > > 70 of the file: > > > > 70: $cmdline = $this->_params['quota_path'] . " -u > $imap_user | " . > > 71: $this->_params['grep_path'] . " $homedir[1]"; > > 72: $junk = exec($cmdline, $quota_data, $return_code); > > 73: if (($return_code == 0) && (count($quota_data) == 1)) { > > 74: $quota = split("[[:blank:]]+", trim($quota_data[0])); > > 75: return array('usage' => $quota[1] * 1024, 'limit' => > > $quota[2] * 1024); > > 76: } > > 77: return PEAR::raiseError(_("Unable to retrieve > quota"), 'horde.error'); > > > > to > > > > 70: $cmdline = $this->_params['quota_path'] . " -v > $imap_user | " . > > > > It?s because in Solaris the quota command has a different syntax: > > > > # /usr/sbin/quota -v user1 | /usr/bin/grep /home > > /home 22 102400 102400 0 0 0 > > > > When I logged in horde via browser, using the "user1" account, I > > receive "Unable to retrieve quota". :-( I was tested some > options, but > > the result are ever "Unable to retrieve quota". Then I change the > > following line, to test the behavior of script: > > > > 73: if (($return_code == 0) && (count($quota_data) == 1)) { > > > > to > > > > 73: if ($return_code == 1) { > > > > and then I received the following error in browser: > > > > Notice: Undefined offset: 0 in .../Quota/command.php on line 74 > > Notice: Undefined offset: 1 in .../Quota/command.php on line 75 > > Notice: Undefined offset: 2 in .../Quota/command.php on line 75 > > Maybe quota doesn't echo the output to stdout on your system? > Because that's what goes into $quota_data. Maybe try $cmdline > = $this->_params['quota_path'] . " -u $imap_user | " . > $this->_params['grep_path'] . " $homedir[1] 2>&1"; > > $junk should also contain the last line of the output. > > Jan. > > -- > Do you need professional PHP or Horde consulting? > http://horde.org/consulting/ > > -- > Horde mailing list - Join the hunt: > http://horde.org/bounties/#horde Frequently Asked Questions: > http://horde.org/faq/ To unsubscribe, mail: > horde-unsubscribe at lists.horde.org > From eculp at encontacto.net Fri Jul 1 05:48:21 2005 From: eculp at encontacto.net (Edwin L. Culp) Date: Fri, 01 Jul 2005 07:48:21 -0500 Subject: [imp] Turba & IMP & Ldap In-Reply-To: <42C4D8A1.3000609@wavenet.at> References: <42C3E4BA.7070202@wavenet.at> <20050630085210.84peunh1g088g0wg@mail.encontacto.net> <42C4D8A1.3000609@wavenet.at> Message-ID: <20050701074821.leb5hxjc9w4s044g@mail.encontacto.net> Quoting Martin Hochreiter : > >> First does it work with turba? How have you configured the address >> book options in imp? >> Do you see that slapd is being accessed when you use turba and imp? >> >> >> > Hi Ed! > > I don't see any address book options in the horde configuration tool for > imp, the addressbook > is in the menu since I added turba. > If I use /turba/test.php the ldap server is queried correctly, if I use > the addressbook, nothing happens. I would recommend that when reporting a problem give give a relevant, detailed report of the problem with log file results, etc. "nothing happens" isn't really isn't very helpful for someone to take the time to help you solve your problem. Nothing happens - could mean that sources.php is not configured or configured correctly or possibly that it isn't even installed ;) I'm assuming that that in this case "nothing happens" = "what you expect to happen doesn't". Let's try the following and see if we are lucky. 1. Set display_errors = On in your php.ini and don't forget to restart apache. Don't forget to revert later. 2. Check that your horde, IMP and turba versions are compatible? [Check on the horde site.] 3. Please run a php -l horde/turba/config/sources.php ? [ I will sometimes make typos and not see them until the screen comes up blank ] 4. Please compare your log/slapd.log or equivalent on your system while using horde/turba/test.php and while actually accessing the addressbook through turba? There would almost have to be differences in the logs or it would work. If you can't/don't see what they are, why don't you cut and paste them into a reply? Hopefully, somewhere down the line this will result in a working turba. good luck, ed From dfrazier at glengroup.com Fri Jul 1 06:08:31 2005 From: dfrazier at glengroup.com (Daniel Frazier) Date: Fri, 01 Jul 2005 09:08:31 -0400 Subject: [imp] virtual users and their from addys... In-Reply-To: <42C44F53.2010402@glengroup.com> References: <42C0463A.6040300@glengroup.com> <42C43EB2.7000708@glengroup.com> <20050630145938.hrv3qw7m6zeso0gs@webapps.iu13.org> <42C44F53.2010402@glengroup.com> Message-ID: <42C5404F.6090503@glengroup.com> FWIW, I finally got this working. hope this helps someone down the road... horde/config/hooks.conf: if (!function_exists('_prefs_hook_from_addr')) { function _prefs_hook_from_addr($user = null) { if (is_null($user)) { $user = Auth::getAuth(); } if (strstr($user, '%')) { return preg_replace('|%|', '@', $user); } else { return $user; } } } horde/config/prefs.php: $_prefs['from_addr'] = array( 'value' => '', 'locked' => true, 'shared' => true, 'type' => 'text', 'hook' => 'true', 'desc' => _("Your From: address:") ); Daniel Frazier wrote: > Kevin Myer wrote: > >>Quoting Daniel Frazier : >> >> >> >>>anyone? I've been playing with various hooks for the last 3 days, but >>>the specifics of what variables I need to be modifying are eluding me... >>>I've gotten the from address to show as "virtuser%virtdomain@" by >>>unsetting the maildomain in imp/config/servers.php, but that's no good. >>>It needs to be "virtuser at virtdomain" so my users don't complain... I'll >>>keep plugging away, but would really, really appreciate some guidance >> >>>from someone who knows what they're doing. >> >> >>I don't pretend to know what I'm doing but if you've gotten it to the state of >>virtuser%virtdomain, just do a preg_replace on it and replace @ with nothing >>and the % with @. >> >>Kevin >> > > > Thanks for the input, Kevin. It's not so much the how to do it that's > got me boggled, it's the "what" and "where". What variables need to be > massaged and where the heck are they? I know perl well enough to hack > at the php, and I've got some expert developers here who can help if > needed. I've tried adding... > > $conf['hooks']['username'] = true; > > ...to horde/imp/config/conf.php, and added this entry to > /horde/config/hooks.php: > > if (!function_exists('_imp_hook_username')) > { > function _imp_hook_username($userid) > { > if (strstr($userid, '%')) > { > $parts = explode('%', $userid); > $userid = $parts[0] . '@' . $parts[1]; > return $userid; > } else { > return $userid; > } > } > } > > But it's just not working! I added a hook for sam as well, in order > to get the prefs added to mysql correctly, and that one works like a > champ. > > if (!function_exists('_sam_hook_username')) { > function _sam_hook_username($horde_uid) > { > if (strstr($horde_uid, '%')) { > $parts = explode('%', $horde_uid); > $horde_uid = $parts[0] . '@' . $parts[1]; > return $horde_uid; > } else { > return $horde_uid; > } > } > } > > As you can see, it's basically the same code. I've tried it using > both $userid and $horde_uid, but neither affects the login. I can't > tell if this hook is being called at all, or if I just haven't tried the > right username variable. If I log in using "virtuser at virtdomain" > everything works as it should, but I want to enforce using a "%" 'cause > that's what they have to use when using their normal email clients and I > don't want to confuse my users any more than necessary. > > I've also played with the the vinfo hook, but that doesn't give me what > I need. It seems to want to use the same vdomain for everyone who logs > in, which is no good. I just want users to log in using their normal > username, "vuser%vdomain", and have imp change that to "vuser at vdomain" > immediately after logging in. > -- ---------------------------------------------------------------------- Daniel Frazier Tel: 603-356-3030 Ext. 331 Systems Administrator Glen Group WWW: http://www.glengroup.com/ "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." - Benjamin Franklin, Historical Review of Pennsylvania, 1759. From horde at harbell.net Fri Jul 1 07:33:34 2005 From: horde at harbell.net (Jaz) Date: Fri, 01 Jul 2005 10:33:34 -0400 Subject: [imp] Redirect loop on IMP auth In-Reply-To: <42C41B0E.5080305@harbell.net> References: <42C2921A.8090208@harbell.net> <20050629130120.nf02wh9qyo4gkwgk@bigworm.curecanti.org> <42C2FFDE.4040200@harbell.net> <42C41B0E.5080305@harbell.net> Message-ID: <42C5543E.1010900@harbell.net> >>>Are you sure the horde password is the same as the IMP password? >>> >>> >>horde is using IMP for authentication (in horde's conf.php file: >>$conf['auth']['driver'] = 'imap'; ) and IMP should use the session >>(imp's servers.php file: 'hordeauth' => true, ) >> >>Nothing in my horde tree changed when I upgraded to Apache2 & PHP5. So >>I'm guessing it's something to do with tighter session stuff in one or >>both of the newer Apache/PHP(??) I'm thinking the fix is somewhere in >>php.ini or httpd.conf. >> >I set hordeauth to false to force a separate IMP login: > >Jun 30 11:51:35 HORDE [error] [imp] FAILED LOGIN 172.16.30.101 to >127.0.0.1:143[imap/notls] as jaz [on line 247 of >"D:\HTSERV\HTDOCS\horde\imp\lib\Auth\imp.php"] > > Is it possible that this IMP login problem is sue to incompatible use of domxml? Dennis Ortsen wrote is an old horde faq mailing list (circa 2003) that lack of domxml support might cause login failure. If I check my PHP environment via http://harbell.homeip.net/phpv.php it says I have domxml enabled. But if I use horde's test http://harbell.homeip.net/horde/test.php it say I don't. According to PHP, in PHP5 domxml has been replaced by DOM. Domxml extension is not compatible with PHP5, and DOM is built into PHP5 (http://us3.php.net/domxml , http://us3.php.net/manual/en/ref.dom.php). Please correct me if I'm not reading this correctly. So the questions are: 1) does anyone suppose that domxml is at the root of this login problem? 2) If yes, then has anyone gotten IMP to login with PHP5? 3) ... on Win32? Jaz From chuck at horde.org Fri Jul 1 08:01:38 2005 From: chuck at horde.org (Chuck Hagenbuch) Date: Fri, 01 Jul 2005 11:01:38 -0400 Subject: [imp] Redirect loop on IMP auth In-Reply-To: <42C5543E.1010900@harbell.net> References: <42C2921A.8090208@harbell.net> <20050629130120.nf02wh9qyo4gkwgk@bigworm.curecanti.org> <42C2FFDE.4040200@harbell.net> <42C41B0E.5080305@harbell.net> <42C5543E.1010900@harbell.net> Message-ID: <20050701110138.dmf3ylyhcywwoo00@marina.horde.org> Quoting Jaz : > Is it possible that this IMP login problem is sue to incompatible use of > domxml? No. > Dennis Ortsen wrote is an old horde faq mailing list (circa 2003) that > lack of domxml support might cause login failure. Without a link I don't know what you're talking about, but there's pretty much no way that can be true. > If I check my PHP > environment via http://harbell.homeip.net/phpv.php it says I have domxml > enabled. But if I use horde's test > http://harbell.homeip.net/horde/test.php it say I don't. test.php needs to be updated to test for the php5 DOM support as well. > So the questions are: 1) does anyone suppose that domxml is at the root > of this login problem? No. > 2) If yes, then has anyone gotten IMP to login with PHP5? Yes. > 3) ... on Win32? Yes. -chuck -- "But she goes not abroad in search of monsters to destroy." - John Quincy Adams From kevin_myer at iu13.org Fri Jul 1 15:11:25 2005 From: kevin_myer at iu13.org (Kevin Myer) Date: Fri, 1 Jul 2005 18:11:25 -0400 Subject: [imp] Multiple email accounts? In-Reply-To: <20050621101955.u93v79v5uswccg00@bigworm.curecanti.org> References: <20050621101955.u93v79v5uswccg00@bigworm.curecanti.org> Message-ID: <20050701181125.j1jpe6iarmm8ws0w@webapps.iu13.org> Quoting Michael M Slusarz : > If you are asking if an IMAP/POP password (used to log in to the IMP > backend) could somehow be stored in the preference backend so it could > be recalled when logging into Horde, then the answer is most certainly > *NO*. The last thing anyone needs to be doing is storing unencrypted > critical passwords in the preferences backend. Fetchmail passwords are stored unencrypted in the fm_accounts preference.. Kevin -- Kevin M. Myer Senior Systems Administrator Lancaster-Lebanon Intermediate Unit 13 http://www.iu13.org From jan at horde.org Sun Jul 3 03:05:34 2005 From: jan at horde.org (Jan Schneider) Date: Sun, 03 Jul 2005 12:05:34 +0200 Subject: [imp] RES: [horde] Quota e In-Reply-To: <2B85C91A83238C42877C9282C9950CEA437621@ENIF.portoalegre.pucrsnet.br> References: <2B85C91A83238C42877C9282C9950CEA437621@ENIF.portoalegre.pucrsnet.br> Message-ID: <20050703120534.fabd3otthwskc084@neo.wg.de> Zitat von Luiz Alfredo Baggiotto : > Hello Jan > > Thank?s a lot for your help. :-) > I made the change in the line "74" of imp/lib/Quota/command.php file, > following your suggestion below, but the problem persists. I think > the output of quota command is Ok (at least, when I run it in the > console, the results are showed in the monitor), but by any reason > PHP can?t get it. > To test the $junk variable, I was changed the following line too: > > 73: if (($return_code == 0) && (count($quota_data) == 1)) { > > to > > 73: if ($junk == 0) { > > Then, I logged in the browser and the code subsequent has been > executed (is it that because the variable is empty, true?), showing > the error > > Notice: Undefined offset: 0 in .../Quota/command.php on line 74 > Notice: Undefined offset: 1 in .../Quota/command.php on line 75 > Notice: Undefined offset: 2 in .../Quota/command.php on line 75 > > Can you see any other alternative? You could rewrite the command quota driver to use popen() instead. Jan. -- Do you need professional PHP or Horde consulting? http://horde.org/consulting/ From jan at horde.org Sun Jul 3 03:07:34 2005 From: jan at horde.org (Jan Schneider) Date: Sun, 03 Jul 2005 12:07:34 +0200 Subject: [imp] virtual users and their from addys... In-Reply-To: <42C5404F.6090503@glengroup.com> References: <42C0463A.6040300@glengroup.com> <42C43EB2.7000708@glengroup.com> <20050630145938.hrv3qw7m6zeso0gs@webapps.iu13.org> <42C44F53.2010402@glengroup.com> <42C5404F.6090503@glengroup.com> Message-ID: <20050703120734.b80uanytwsco4g4s@neo.wg.de> Zitat von Daniel Frazier : > FWIW, I finally got this working. hope this helps someone down the > road... > > horde/config/hooks.conf: > > if (!function_exists('_prefs_hook_from_addr')) { > function _prefs_hook_from_addr($user = null) > { > if (is_null($user)) { > $user = Auth::getAuth(); > } return str_replace('%', '@', $user); > } > } is much easier. Jan. -- Do you need professional PHP or Horde consulting? http://horde.org/consulting/ From jan at horde.org Sun Jul 3 03:13:05 2005 From: jan at horde.org (Jan Schneider) Date: Sun, 03 Jul 2005 12:13:05 +0200 Subject: [imp] [PATCH] Re: Spell Checking in de_CH Swiss German In-Reply-To: <42C417E1.7000001@gmx.ch> References: <42C402E6.20003@gibw.ch> <20050630104923.0htfoivkr9c00880@webapps.iu13.org> <42C41122.5000204@gmx.ch> <20050628173526.lrf4zq64cg8kgw0k@neo.wg.de> <42C417E1.7000001@gmx.ch> Message-ID: <20050703121305.s17kcuj5kwk80w4c@neo.wg.de> Zitat von Christoph Gysin : > Jan Schneider wrote: >> As they don't provide anything additional beside the spell check >> configuration, I don't want to overload the language list with that. > > Well, they select different locales. Isn't there more in horde that > depends on the selected locale? That's true, but I don't think that stuff like sorting and number formats is much different from Swiss to Germany. And I fear that people start requesting to add their locales to the language list even if they don't even have translations. If really necessary it might make sense to add user options to set LC_* vars independent from the language. But this discussion really belongs to the i18n list now. Jan. -- Do you need professional PHP or Horde consulting? http://horde.org/consulting/ From mani at mcsf02.net Sun Jul 3 01:36:07 2005 From: mani at mcsf02.net (Muhammad Imran) Date: Sun, 3 Jul 2005 01:36:07 -0700 Subject: [imp] Your Internet Address has changed since the beginning of your Mail session. To protect your security, you must login again. Message-ID: <000401c5805c$56001640$a021ce42@mani1> hi , every one, I have strated using Horde with mail enable on one of my windows 2003 webservers few days ago, the problem i am facing that some of my clints = are getting following error "Your Internet Address has changed since the beginning of your Mail session. To protect your security, you must = login again." After googling about this issue and reading about this in your mailing lists i have come to know that this is caused by ISP's using chnaging proxies. have read the documents on internet and have made the following changes $conf['auth']['checkip'] =false; i have also commented the lines in function gerclearsession() but issue is still not solved , please help me out , let me know if i will have to make any other chnages. Thanks, Ch.Muhammad Imran 0300-4587273 042-7830860 mani at mcsf02.net http://mani.mcsf02.net