julien tayon | 1 Jun 2007 01:16

Re: What is causing this error?


Bruce  <at>  VLM Technologies a écrit :
> I should also say that out of 30 domains this is the only one having this
> issue, all the other domains work fine.
>
As a sysadmin that never used this plugin, I would check that the vlogin
plugin version is compatible with the installed squirrelmail.

I would check carefully that I have either an integrated version
(debian/bsd) or a svn version. It makes a difference.

If other squirrellmail with the same plugin were installed without any
problem, I'd check installed version of both squirrelmail and vlogin on
the working domains, vs the non working one.

Then I'do a phpinfo in a test page and diff the result. (php.ini would be
involved or php_admin_flag in apache)

Then I'd first do a diff of the working/non working  dirs with the vlogin
plugins (always checking the easier one first), than the squirrelmail src
dir

I would expect no difference except in the config for the domains.

If all was still equal I would check my httpd conf in case there are some
fancy stuff automagically added, and then I would check for .htaccess
files.

Does it help ?

(Continue reading)

Ian Rogers | 1 Jun 2007 05:48
Favicon

New ContactClean plugin to upload

Admin question:

I have a new version of the "Address ContactClean (MailLocate)" plugin 
available (which I developed originally).

I've read http://squirrelmail.org/docs/devel/devel-4.html#ss4.11 etc. 
but can't remember how I used to access the squirrelmail website to 
maintain http://squirrelmail.org/plugin_view.php?id=169

The new version is at 
http://www.contactclean.com/download/squirrelmail.php for now.

Can someone please remind me how to upload the plugin to 
squirrelmail.org (the wiki is not a whole lot of use %-}

Thanks,

Ian.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
--
squirrelmail-plugins mailing list
Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-plugins <at> lists.sourceforge.net
List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.plugins
List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=3931
(Continue reading)

Tomas Kuliavas | 1 Jun 2007 07:32
Picon
Gravatar

Re: What is causing this error?

> Warning: Invalid argument supplied for foreach() in
> /var/www/vhosts/myemailcentral.com/httpdocs/plugins/vlogin/functions.php
> on line 1340
>
> Warning: Cannot modify header information - headers already sent by
> (output started at
> /var/www/vhosts/myemailcentral.com/httpdocs/plugins/vlogin/functions.php:1340)
> in /var/www/vhosts/myemailcentral.com/httpdocs/src/redirect.php on line
> 101

Invalid argument supplied for foreach() in plugins/vlogin/functions.php
on line 1340

You forgot most important information. Version of vlogin plugin and all
changes made in plugins/vlogin/functions.php.

Without version information the only thing close to line 1340 is invalid
$notPartOfDomainName configuration setting in vlogin 3.9.1 plugin. But it
is in line 1339 and not in 1340.

Other vlogin versions don't have foreach calls close to line 1340.

--

-- 
Tomas

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
(Continue reading)

KEREM ERKAN | 1 Jun 2007 08:25
Picon

Re: PHP Captcha help

>
> The submission page did not always render, and when I
> submitted my answer the result
> page did not always render (showed just a blank page).
>
> I note that IE6 pops up a warning about needing to install
> Pan-European Text Display
> Support, so perhaps you're using non-standard font characters?
>
My server used iso-8859-9 as default character set. And it somehow overrode the character set declaration on the pgae. I now removed it and it should be solved.

Can you test it again?

Best regards and thanks.

Kerem

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
--
squirrelmail-plugins mailing list
Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-plugins <at> lists.sourceforge.net
List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.plugins
List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=3931
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins
Alan in Toronto | 1 Jun 2007 14:19

Re: PHP Captcha help

On Fri, June 1, 2007 2:25 am, KEREM ERKAN wrote:
>>
>> The submission page did not always render, and when I
>> submitted my answer the result
>> page did not always render (showed just a blank page).
>>
>> I note that IE6 pops up a warning about needing to install
>> Pan-European Text Display
>> Support, so perhaps you're using non-standard font characters?
>>
> My server used iso-8859-9 as default character set. And it somehow overrode
> the character set declaration on the pgae. I now removed it and it should be
> solved.
>
> Can you test it again?

That's better.

Still a lot of wrong answers due to the difficulty in reading the images. Can you
avoid using the digit zero and the letter "O"? It's a complete guess as to whether a
circle in an unknown font is a zero or an "O".

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
--
squirrelmail-plugins mailing list
Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-plugins <at> lists.sourceforge.net
List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.plugins
List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=3931
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins

KEREM ERKAN | 1 Jun 2007 14:37
Picon

Re: PHP Captcha help

Hi Alan,

>
> That's better.
>
> Still a lot of wrong answers due to the difficulty in reading
> the images. Can you
> avoid using the digit zero and the letter "O"? It's a
> complete guess as to whether a
> circle in an unknown font is a zero or an "O".
>
I do not use "zero" when choosing numbers. So that will never be a problem. I also check if you entered "zero" and replace it with "O".

So far, the letters that cause the problems most are "D" and "O", "X" and "K", "I" and "1".

Still configuring though.

I would love to have 95% right guesses but it seems like we will always be between 83 and 87%. It is by now, far better than most open source implementations out there (and better than paid ones also).

Still there are not a lot of people helping me on this.

Best regards,

Kerem

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
--
squirrelmail-plugins mailing list
Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-plugins <at> lists.sourceforge.net
List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.plugins
List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=3931
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins
Paul Lesniewski | 3 Jun 2007 01:40
Favicon

Re: PHP Captcha help

On 5/31/07, julien tayon <deneg <at> ti0n.net> wrote:
>
> KEREM ERKAN a écrit :
> >
> > Hi Julien,
> >>
> >> You can call me paranoïd, but am I the only one here to see the great
> >> potential offered to wiki/web spammers by the captcha plugin
> >> in order to
> >> decypher anti webspam measure based on images ?
> >>
> > Can you open the question a little more? My English was insufficient to
> > understand it :-)
>
> I was seeing how one can break captcha with a captcha sort of site. My
> mind was running to fast. Let me explain 1) the principle 2) the
> algorithm, 3) why it can work.
>
> For instance, given a xxx website with sufficient hit/seconds, this site
> could use a captcha picture from a distant website and grant access to his
> website when and only when the copied captcha result has been validated by
> a bot on the distant website.
> You then can use human to feed bots and break captcha with a captcha
> mimetic mechanism. (see below)
>
> This will have all the more probability to happen that captcha is widely
> used. Since the ratio gain/cost will increases, given that the only cost
> is writing the code once.
>
> Algortihm to break captcha using an external website :
>
> human X connect to my xxx site (predator)
> xxx web site trigger a bot on an external yyy web (victim) page protected
> by captcha
> while [ bot hasn't broken captcha ]; do
>   get image
>   present a CAPTCHA webpage with the external picture to decipher
>   show it to human X
>   ask X for result
>   bot submit result to site yyy
>   check that that bot  can enter yyy
> done
> Grant X access to my site xxx
>
> It is not very sophisticated but this way you can break captcha.

This is a known approach supposedly used by some pornographic sites.
However, whether or not a certain CAPTCHA implementation is subject to
this hack depends on how it is implemented.  I have finished a
SquirrelMail CAPTCHA plugin (Kerem, you can integrate your CAPTCHA as
one of its backends when you're ready), and luckily, the way
SquirrelMail uses the CAPTCHA, it is perfectly acceptable to throw
away the CAPTCHA code (correct answer) *every* time the user tries to
log in (whether or not the attempted CAPTCHA response was correctly
entered).

That means that in your scenario, the code that the bot was trying to
crack would have to be different for *every* crack attempt, *in
addition* to the fact that the bot would still have to do something to
try and guess the username and password.... and I think that's too
many variables to make that a viable approach.  Additionally, the
lockout plugin could be used to simply deny access for anyone who
fails too many times in a row.

The better approach for the hacker IMO would be to get ahold of some
of the packages out there that can successfully pull apart some types
of CAPTCHA images.

 - Paul

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
--
squirrelmail-plugins mailing list
Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-plugins <at> lists.sourceforge.net
List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.plugins
List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=3931
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins

Paul Lesniewski | 3 Jun 2007 01:44
Favicon

Re: a reCAPTCHA plugin?

On 5/28/07, WJCarpenter <bill-squirrelmail <at> carpenter.org> wrote:
> No, I haven't written one.  I'm wondering if someone else has?
>
> I'd like to add the CMU reCAPTCHA thing (<http://recatpcha.net>) to my
> SM login page.  (I like it better than other implementations because
> of the kind of cool idea behind it.)  It integrates with PHP pretty
> easily (<http://recaptcha.net/plugins/php/>), but still it could stand
> a little bit of packaging up for use in SM.
>
> This would be an easy first plugin for someone looking to learn the
> plugin ropes.  I promise that if you write it (and do a decent job :-),
> I will use it.

I have completed such a plugin.  It has approx 13 backends to choose
from, including reCAPTCHA.  Due to some of the backends having some
font files, it's about 1.5M, so I'll send it only to those who ask for
it offlist.  If I can get some feedback, I'll put it on the general SM
site for public release.

 -paul

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
--
squirrelmail-plugins mailing list
Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-plugins <at> lists.sourceforge.net
List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.plugins
List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=3931
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins

Paul Lesniewski | 3 Jun 2007 06:08
Favicon

Re: Changing the way User's Address appears when sending mail

On 5/29/07, 17seconds <17seconds <at> webmail.co.za> wrote:
>
> Hi, I need some help.

Thanks for using SquirrelMail!

> My domain usernames and passwords are set up like this:
> email       = john <at> cnn.com
> username = john.cnn.com
> password = 12345
>
> For logging in, I used vlogin so all the user has to type is username: john
> password: 12345
> And he is in... all works great.
>
> However, when john <at> cnn.com sends a message, the message appears to come from
> the following address:
> john.cnn.com <at> cnn.com
> i.e. It still uses the full username instead of just the email address.

What do you mean "still"?  When did you ever give it anything *beside*
the username?  SM has one and only one username, which is what is
needed to log into the IMAP server.  However, that is what the email
and name fields are for on the personal information options screen.
If you want those to be prepopulated, there are several plugins that
can help you do so.  Please browse the plugins to see which one works
for you.

> If I click Reply (On Outlook), it sends to john <at> cnn.com which is great. (I
> changed this in the Personal Information settings - "Reply to" box)

Comparisons to another email client are not relevant.

> However, it will be very confusing to people he sends mail to.. as some will
> no doubt try to send  to: john.cnn.com <at> cnn.com.
>
> Where can I change this so that mail appears to come from EMAIL
> (john <at> cnn.com) instead of USERNAME <at> DOMAIN

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
--
squirrelmail-plugins mailing list
Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-plugins <at> lists.sourceforge.net
List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.plugins
List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=3931
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins

Paul Lesniewski | 3 Jun 2007 06:29
Favicon

Re: Can Outlook Syncronize iCalendars with SquirrelMail?

PLEASE do not top post.

On 5/30/07, Mauricio Larrea Salinas <Mauricio.Larrea <at> wiserkronox.com> wrote:
> Hi Paul,
>
> I've tried your calendar plug-in but I don't know why Outlook cannot
> recognize squirrel mail calendar file format. For instance, I create a
> calendar in Squirrelmail and then I subscribe it. After all, I get this link
> where I can publish the calendar :
> http://localhost/sqmail2/plugins/calendar/dav.php.ics?calID=sm_cal_20070531T
> 034959Z. If I go to this link I get a message to open or save this file
> "dav.php.ics"

You can try just renaming the file (on the server - in the plugin!) to
dav.php.ics and wherever else the filename shows up although...

>. If I choose to open with outlook, it cannot open it ("The
> file "dav.php[1].ics" is not a valid Internet Calendar  file ")

No, it's not.  It's not a file to download; and it's not one to go to
in your browser.  You have to put that URL into your other
iCal-compliant application.  I have done so with Sunbird, but you'll
have to ask an Outlook guru to see if Outlook knows how to connect to
a WebDAV server.

> In the other hand, while trying to publish a Outlook Calendar into the SM
> WEBDAV I get a error: "this address can not be recognized":
> http://localhost/sqmail2/plugins/calendar/dav.php.ics?newCal=yes. What I'm
> doing wrong?, Could you help me please?

Dunno, if you validated that this address does in fact exist on the
web server, then try changing it to a .php file, otherwise, Outlook
may be choking...?

> Well, I wonder if at the end, using the shared_calendars-2.1-1.2.7beta3
> plug-in I'll be able to put a appointment into my published outlook calendar
> (published into the SM WEBDAV) in order to let the others to get this
> appointments updated into their published outlook calendars?.

Why do you ask questions like this?  They sound rude to me.

> I do need a Help in this issue, please whenever you want and have time have
> a look to this issue.

Sorry I personally don't have time to dig into the code much ATM.  Try
switching the filename to dav.ics.php.

> Thanks very much in advance.
>
> Mauricio
>
>
> -----Mensaje original-----
> De: pdontthink <at> gmail.com [mailto:pdontthink <at> gmail.com] En nombre de Paul
> Lesniewski
> Enviado el: viernes, 25 de mayo de 2007 14:56
> Para: Mauricio Larrea Salinas
> Asunto: Re: [SM-PLUGINS] Can Outlook Syncronize iCalendars with
> SquirrelMail?
>
> On 5/25/07, Mauricio Larrea Salinas <Mauricio.Larrea <at> wiserkronox.com> wrote:
> > Paul,
> >
> > I would like to try your beta code for the Shared Calendars plugin
> > that has WEBDAV server functionality.
>
> See attached
>
> > If that seems to work, I would like you to finish the code.
>
> I would like to finish it too, but I won't be doing so any time soon, as I
> have other projects I am working on.  Forgive me, but your language sounds
> like you are ordering me to finish it, which is very rude for a free
> software product.
>
> > Thanks very much for your help!
> >
> > Mauricio
> > If using WEBDAV, I guess MAC clients could connect too., right?
>
> Yes.  It has been minimally tested by someone doing just that.  I also
> tested with Mozilla Sunbird.
>
>  - Paul
>
>
> > -----Mensaje original-----
> > De: squirrelmail-plugins-bounces <at> lists.sourceforge.net
> > [mailto:squirrelmail-plugins-bounces <at> lists.sourceforge.net] En nombre
> > de Paul Lesniewski Enviado el: viernes, 25 de mayo de 2007 14:33
> > CC: squirrelmail-plugins <at> lists.sourceforge.net
> > Asunto: Re: [SM-PLUGINS] Can Outlook Syncronize iCalendars with
> > SquirrelMail?
> >
> > Please send plain text messages to this list, thank you.
> >
> > > I'm looking for support related with SquirrelMail. We've installed
> > > an
> > e-mail
> > > server focused to be used primarily as an iCAL SERVER (Calendars
> Sharing).
> > >
> > > We have installed everything and is running properly, but the main
> > > goal is to connect and synchronize our outlook calendars  to a
> > > public iCALENDAR stored in a DataBase manage by SquirrelMail.
> > >
> > > IS there a way to perform this syncronizarion?. If so I would like
> > > to do it!.
> > >
> > > =============    DETAILS (if you need more details , please read this
> > > section) =============
> > >
> > > I'll explain you in detail
> > >
> > > We've already installed these plug-ins to our squirrelMail
> > > installation
> > > (squirrelmail-1.5.1):
> > >
> > > - compatibility-2.0.7-1.0
> > >
> > > - calendar_sql_backend-1.1-2.0
> > >
> > > - shared_calendars-2.0.1-1.4.0
> > >
> > > And we created our MAIN SHARED CALENDAR in SquirrelMail .
> > >
> > > Our team  works in Windows based Computers and they use MS Outlook
> > > to add shared task or appointments.
> > >
> > > For example: I want to add a new appointment in my outlook calendar
> > > and
> > then
> > > to synchronize it to the MAIN SHARED CALENDAR in SquirrelMail, in
> > > order to let the others know about this new appointment (and vice
> verse).
> > >
> > > So, I need a plug-in (iCal connector) for outlook in order to
> > > synchronize with a SHARED CALENDAR in SquirrelMail. The help I need
> > > for you, is to
> > know
> > > if there is a way to do this.... ??
> > >
> > > I've downloaded several iCal Connectors for outlook, but these ones
> > > works just with Google ical or other ical servers but any of these
> > > couldn't be connect to SquirrelMail iCal....
> >
> > You might provide the links to these applications.  There is no such
> > application that I know of that bothers telling Outlook to push an
> > iCal file to SquirrelMail, but there may be a way to hack it up.
> >
> > > I found that Outlook can connect to any iCal Server but I have to
> > > give the path where the calendars are stored (using WEBDAV), do you
> > > know how can I get the Squirrelmail iCallendars? .
> >
> > Well this is different than telling Outlook to synch an appointment
> > added to its personal calendar with SM --- if all you need to do is
> > let Outlook clients connect via WEBDAV to the SM calendar server, then
> > I do have some beta code for the Shared Calendars plugin that has
> > WEBDAV server functionality, but it is definitely beta quality right
> > now.  Ask offlist for a copy.
> >
> > > =====                  END DETAILS                     =======
> > >
> > > Thanks very much in advance for your help.
> > >
> > > Answer soon please
> >
> > Since help here is given in spare time and based on good will, I
> > suggest you do not place any time contraints on your help request
> > unless you are offering to pay for your support.
> >
> >  - Paul

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
--
squirrelmail-plugins mailing list
Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-plugins <at> lists.sourceforge.net
List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.plugins
List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=3931
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins


Gmane