[SM-USERS] ms-tnet trouble and solution

2003-05-31 Thread Luis Aravena A.
Hello,

A time ago until now i had a problem with ms-tnef attachments and my
"squirrel sessions" in the form: the browser (any) was hoping per
indetermine time, and it was necessary to kill the session.
  Good, I found the cause and "a" solution:
cause:  2 followed null characters within the message body (generated by
outlook 97 clients), which match up when there are 2 or more files
attached in the message.
solution:  transfer the characters using the "tr" command.  The operation
I have made it adding the following lines to my procmailrc file:
 ---
:0 f w
* B ?? ^Content.*ms-tnef
|tr '\0\0' ++


If somebody has a better solution, please post it.

atte
Luis

PS:  Squirrelmail is the only email client that use at the moment, and
the problem was really serious for me.





---
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users


[SM-USERS] SquirrelMail Login Failure with Mercury IMAP Win 2000 IIS5

2003-05-31 Thread Rad
I have seen this problem listed but have not found an answer yet.

I have PHP 4.3.1 tested and running on IIS 5 (Windows 2000 Server),
Mercury/32 v3.32 tested and running.  My SM (v1.4.0) login page is there.
I type in my username and password and get this error "You must be logged in
to access this page."  I check Mercury IMAP4 Server and it states the
connection was made but then closed.
I "Go to Login Page" and try again.  This time I get "Unknown user or
password incorrect."  I check Mercury and get a password failure message
from my username.  btw the password is the correct one.
Anyone have any ideas as to why I can't login to the Mercury IMAP Server
with SM?  I can get to it via Outlook Express, Opera Mail and Pegasus Mail
but not SM.

Also I can't figure this problem out "Notice: Undefined variable: theme_css
in d:\web\tim\mail\include\load_prefs.php on line 74"

Thanks
Rad





---
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users


[SM-USERS] Squirrelmail Error: Could Not Complete Request

2003-05-31 Thread asablich
After users login. They receive the below error all the time.
Any Ideas? Reccomendations?



ERROR : Could not complete request.
Unknown response from IMAP server: 1.* 1 EXISTS


(This Error repeats as many times as there are messages in the Inbox)

Someone else posted this, but I am also getting the same errors and wanted
to just let you all know that it's not a single issue.
-Adam



---
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users


[SM-USERS] Can't View INBOX

2003-05-31 Thread Nate Sanders
To sum up the problem:

Fatal error: Maximum execution time of 30 seconds exceeded in
/home/httpd/ssldocs/squirrelmail/functions/imap_general.php on line 489

 Now to clarify some things. I have all ready read:
http://www.squirrelmail.org/wiki/en_US/NewUserCannotLogin and these did
help point me in the right direction, but not fix my problem.

 A very few select of my users are having a problem where they cannot
view their INBOX. As soon as they login, the page takes for ever to load,
and eventually shows the error above. They can still send email, browse
other Folders, etc.

 It appears to be related to large attachments but I'm not positive. The
first users had an mbox of 380,000 lines. 260,000 of those lines were ONE
PDF file. I removed all 260,000 lines and the user could log back in. Two
days later if happened again, but I couldn't find any more huge
attachments this time.

 Also, two of his friends are having the same problem. I keep checking
their mbox's for large attachments but sometimes I find nothing. One of
them had an mbox of only 1,000 lines, and he couldn't login.

 My mbox is 280,000 lines and has only 100 some emails in it. I login just
fine. What exactly is happening here? I checked permissions, I tried
raising the Timeout and Memory settings in php.ini, nothing is fixing the
problem.

Any further suggestions I could look into?

This is a Solaris 8 system running SM 1.4.0 with SendMail 8.12.8p1/8.12.5

-- 
Calm down. It's all just ones and zeros.



---
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users


Re: [SM-USERS] Can't View INBOX

2003-05-31 Thread Brett N
Ok, well something is taking a long time to process. What mail server are
you running (sendmail is the MTA, not the IMAP server)? With UW there are
problems with having folders with many messages. That slowed my system
down a lot (sometimes a few minutes to log in). It didn't matter if the
messages were in the mail spool, or stored in the users personal folders
on the server. Having a lot of messages took a long time to process.

I replaced my UW installation with Courier IMAP and got a magnitude speed
improvement. Not only is Squirrelmail easy to use now, it's FAST. It uses
Maildir format instead of mbox which is better for folders with lots of
messages (lots=in the 100s or more). Think of it this way, if you have 5
folders with 100 messages each, your IMAP server has to open 5 pretty
large files when you login.. If you have squirrelmail showing how many
messages are in each folder it will be MUCH MUCH slower with mbox format.
Not only does it have to open these 5 large files, not it has to scan them
for message status.

Something else that might help troubleshoot is to move the user preference
file out of the way (create a backup!). Sometimes user preferences
(perhaps linked to a plugin) could be slowing things down.. for example,
what I said above, about showing message count on each folder could be the
culprit:
mv /var/squirrelmail/.pref /var/squirrelmail/.pref.bak


Good luck! Tell us your IMAP server software. :)
-Brett


> To sum up the problem:
>
> Fatal error: Maximum execution time of 30 seconds exceeded in
> /home/httpd/ssldocs/squirrelmail/functions/imap_general.php on line 489
>
>  Now to clarify some things. I have all ready read:
> http://www.squirrelmail.org/wiki/en_US/NewUserCannotLogin and these did
> help point me in the right direction, but not fix my problem.
>
>  A very few select of my users are having a problem where they cannot
> view their INBOX. As soon as they login, the page takes for ever to load,
> and eventually shows the error above. They can still send email, browse
> other Folders, etc.
>
>  It appears to be related to large attachments but I'm not positive. The
> first users had an mbox of 380,000 lines. 260,000 of those lines were ONE
> PDF file. I removed all 260,000 lines and the user could log back in. Two
> days later if happened again, but I couldn't find any more huge
> attachments this time.
>
>  Also, two of his friends are having the same problem. I keep checking
> their mbox's for large attachments but sometimes I find nothing. One of
> them had an mbox of only 1,000 lines, and he couldn't login.
>
>  My mbox is 280,000 lines and has only 100 some emails in it. I login just
> fine. What exactly is happening here? I checked permissions, I tried
> raising the Timeout and Memory settings in php.ini, nothing is fixing the
> problem.
>
> Any further suggestions I could look into?
>
> This is a Solaris 8 system running SM 1.4.0 with SendMail 8.12.8p1/8.12.5
>
> --
> Calm down. It's all just ones and zeros.
>
>
>
> ---
> This SF.net email is sponsored by: eBay
> Get office equipment for less on eBay!
> http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
> --
> squirrelmail-users mailing list
> List Address: [EMAIL PROTECTED]
> List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
> List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
>
>



---
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users


RE: [SM-USERS] mcrypt failure

2003-05-31 Thread Jon Reynolds
On Fri, 2003-05-30 at 04:22, p dont think wrote:
> Please, for the sake of completeness on the mailing list, give us a
> brief summary of how you fixed the problem.  There will be people in the
> future who will be grateful.
> 
> Thanks,
> 
>   Paul
> 
> > Nevermind. It was my mistake and I fond it.
> > 
> > On Fri, 2003-05-30 at 01:16, Jon Reynolds wrote:
> > > I am wondering if anyone else has seen this. I am using
> > > squirrelmail-1.2.9 with vmailmgr and the vadmin plugin with
> libmcrypt.
> > > Whenever I try to log into the Admin plugin I get these errors:
> > >
> > > Warning: mcrypt_module_open(): Could not open encryption module in
> > >
> /var/www/squirrelmail-1.2.9/plugins/vadmin/includes/vadmin_functions.inc
> > > on line 299
> > >
> > > Warning: mcrypt_enc_get_iv_size(): supplied argument is not a valid
> > > MCrypt resource in
> > >
> /var/www/squirrelmail-1.2.9/plugins/vadmin/includes/vadmin_functions.inc
> > > on line 300
> > >
> > > Warning: mcrypt_create_iv(): Can not create an IV with size 0 or
> smaller
> > > in
> > >
> /var/www/squirrelmail-1.2.9/plugins/vadmin/includes/vadmin_functions.inc
> > > on line 300
> > >
> > > Warning: mcrypt_generic(): supplied argument is not a valid MCrypt
> > > resource in
> > >
> /var/www/squirrelmail-1.2.9/plugins/vadmin/includes/vadmin_functions.inc
> > > on line 304
> > >
> > > Warning: mcrypt_generic_end(): supplied argument is not a valid
> MCrypt
> > > resource in
> > >
> /var/www/squirrelmail-1.2.9/plugins/vadmin/includes/vadmin_functions.inc
> > > on line 310
> > >
> > > Warning: mcrypt_module_open(): Could not open encryption module in
> > >
> /var/www/squirrelmail-1.2.9/plugins/vadmin/includes/vadmin_functions.inc
> > > on line 299
> > >
> > > Warning: mcrypt_enc_get_iv_size(): supplied argument is not a valid
> > > MCrypt resource in
> > >
> /var/www/squirrelmail-1.2.9/plugins/vadmin/includes/vadmin_functions.inc
> > > on line 300
> > >
> > > Warning: mcrypt_create_iv(): Can not create an IV with size 0 or
> smaller
> > > in
> > >
> /var/www/squirrelmail-1.2.9/plugins/vadmin/includes/vadmin_functions.inc
> > > on line 300
> > >
> > > Warning: mcrypt_generic(): supplied argument is not a valid MCrypt
> > > resource in
> > >
> /var/www/squirrelmail-1.2.9/plugins/vadmin/includes/vadmin_functions.inc
> > > on line 304
> > >
> > > Warning: mcrypt_generic_end(): supplied argument is not a valid
> MCrypt
> > > resource in
> > >
> /var/www/squirrelmail-1.2.9/plugins/vadmin/includes/vadmin_functions.inc
> > > on line 310
> > >
> > > Warning: mcrypt_module_open(): Could not open encryption module in
> > >
> /var/www/squirrelmail-1.2.9/plugins/vadmin/includes/vadmin_functions.inc
> > > on line 299
> > >
> > > Warning: mcrypt_enc_get_iv_size(): supplied argument is not a valid
> > > MCrypt resource in
> > >
> /var/www/squirrelmail-1.2.9/plugins/vadmin/includes/vadmin_functions.inc
> > > on line 300
> > >
> > > Warning: mcrypt_create_iv(): Can not create an IV with size 0 or
> smaller
> > > in
> > >
> /var/www/squirrelmail-1.2.9/plugins/vadmin/includes/vadmin_functions.inc
> > > on line 300
> > >
> > > Warning: mcrypt_generic(): supplied argument is not a valid MCrypt
> > > resource in
> > >
> /var/www/squirrelmail-1.2.9/plugins/vadmin/includes/vadmin_functions.inc
> > > on line 304
> > >
> > > Warning: mcrypt_generic_end(): supplied argument is not a valid
> MCrypt
> > > resource in
> > >
> /var/www/squirrelmail-1.2.9/plugins/vadmin/includes/vadmin_functions.inc
> > > on line 310
> > >
> > > Any help would be very appreciated,
> > --
> > Jon Reynolds <[EMAIL PROTECTED]>
Oh Paul, I almost hate to admit this. :) 

What I did was when I was setting up vadmin and running through the
./installer.sh was when it asked for my encryption I chose 3des instead
of tripledes. This was totally my own fault that caused this. I spammed
2 different lists for this problem and it turns out I am the enemy. So
if any one has this problem check your apache.inc file and make sure
your encryption is correct.



---
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users


[SM-USERS] Converting from Openwebmail to SM

2003-05-31 Thread James Nessen
Hello,
  We currently use Openwebmail for our webmail app.  I would like to
convert that over to SM, but the address book format is a little
different that expected.  Has anyone out here performed such an upgrade
and how did it go?

Thanks!

Jim
-- 
,,,
   (o o)
===ooO==(_)==Ooo===
James Nessen - System Administrator
CalNet Internet Services  Office: 530.757.8070 x113
[EMAIL PROTECTED]   Mobile: 530.681.2584
http://www.cal.net   Fax: 530.757.8091
===
--
  "I am Homer of Borg. Prepare to be ...h donuts!" 


---
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users


Re: [SM-USERS] Can't View INBOX

2003-05-31 Thread Nate Sanders
  Doh, stupid me listing sendmail. It's been a hellish week. I'm running
UW's Imap-2002b. I'll try removing pref files, but I think you're on to
something with their Folders. My INBOX stores only 80 emails or so. Some
of these dolts were storing 600 emails in their INBOX. I have about 11
other Folders with email on my account, and I've still never experienced
their problems.

Is there any info about migration from UW-imap to Courier?

> Ok, well something is taking a long time to process. What mail server are
> you running (sendmail is the MTA, not the IMAP server)? With UW there are
> problems with having folders with many messages. That slowed my system
> down a lot (sometimes a few minutes to log in). It didn't matter if the
> messages were in the mail spool, or stored in the users personal folders
> on the server. Having a lot of messages took a long time to process.
>
> I replaced my UW installation with Courier IMAP and got a magnitude speed
> improvement. Not only is Squirrelmail easy to use now, it's FAST. It uses
> Maildir format instead of mbox which is better for folders with lots of
> messages (lots=in the 100s or more). Think of it this way, if you have 5
> folders with 100 messages each, your IMAP server has to open 5 pretty
> large files when you login.. If you have squirrelmail showing how many
> messages are in each folder it will be MUCH MUCH slower with mbox format.
> Not only does it have to open these 5 large files, not it has to scan them
> for message status.
>
> Something else that might help troubleshoot is to move the user preference
> file out of the way (create a backup!). Sometimes user preferences
> (perhaps linked to a plugin) could be slowing things down.. for example,
> what I said above, about showing message count on each folder could be the
> culprit:
> mv /var/squirrelmail/.pref /var/squirrelmail/.pref.bak
>
>
> Good luck! Tell us your IMAP server software. :)
> -Brett
>
>
>> To sum up the problem:
>>
>> Fatal error: Maximum execution time of 30 seconds exceeded in
>> /home/httpd/ssldocs/squirrelmail/functions/imap_general.php on line 489
>>
>>  Now to clarify some things. I have all ready read:
>> http://www.squirrelmail.org/wiki/en_US/NewUserCannotLogin and these did
>> help point me in the right direction, but not fix my problem.
>>
>>  A very few select of my users are having a problem where they cannot
>> view their INBOX. As soon as they login, the page takes for ever to
>> load,
>> and eventually shows the error above. They can still send email, browse
>> other Folders, etc.
>>
>>  It appears to be related to large attachments but I'm not positive. The
>> first users had an mbox of 380,000 lines. 260,000 of those lines were
>> ONE
>> PDF file. I removed all 260,000 lines and the user could log back in.
>> Two
>> days later if happened again, but I couldn't find any more huge
>> attachments this time.
>>
>>  Also, two of his friends are having the same problem. I keep checking
>> their mbox's for large attachments but sometimes I find nothing. One of
>> them had an mbox of only 1,000 lines, and he couldn't login.
>>
>>  My mbox is 280,000 lines and has only 100 some emails in it. I login
>> just
>> fine. What exactly is happening here? I checked permissions, I tried
>> raising the Timeout and Memory settings in php.ini, nothing is fixing
>> the
>> problem.
>>
>> Any further suggestions I could look into?
>>
>> This is a Solaris 8 system running SM 1.4.0 with SendMail
>> 8.12.8p1/8.12.5
>>
>> --
>> Calm down. It's all just ones and zeros.
>>
>>
>>
>> ---
>> This SF.net email is sponsored by: eBay
>> Get office equipment for less on eBay!
>> http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
>> --
>> squirrelmail-users mailing list
>> List Address: [EMAIL PROTECTED]
>> List Archives:
>> http://sourceforge.net/mailarchive/forum.php?forum_id=2995
>> List Info:
>> https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
>>
>>
>


-- 
Calm down. It's all just ones and zeros.


---
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users


Re: [SM-USERS] Can't View INBOX -> Converting to Courier-IMAP

2003-05-31 Thread Brett N
Yeah there is some references, but from my experience it's pretty poorly
documented. Here's what I did in a nutshell, and if you'd like more help
from me, it'd probably make sense to follow up outside the mailing list.

I didn't want to turn my entire mail server upside down.. so what I did
was install courier-IMAP onto my system. This was tricky since some of the
files conflicted with UW (mainly the pam files.. I just moved them out of
the way so the install would go through, then moved them back).

Then I setup courier to be on a new port (not the standard IMAP). This way
we can leave the old IMAP server running.

I made a new instance of squirrelmail.. pointed this one to the new port
number and of course, set it up for courier. BE SURE TO SELECT "D" from
the main menu in the SM ./configure to load mail server defaults or things
won't work!

First thing I did was to convert the old mboxs to Maildirs.. This was VERY
easy to do with mb2md.pl.. Search for it online, it's great.. I simply
ran:
mb2md.pl -m   #This converts (my version made a copied) the mail spool
to $HOME/Maildir in Maildir format..
mb2md.pl -s mail/ #This converted all the users's folders into Maildir
format into $HOME/Maildir

!!! Be sure to run these as the user you are converting !!!

since I was using sendmail+procmail, new mail likes to goto
/var/spool/mail/ in mbox format, maildir format typically likes
it at $HOME/Maildir.. so I did this to my individual users .procmailrc
(you can probably put this into /etc/procmailrc...)
MAILDIR=$HOME/Maildir/
DEFAULT=$MAILDIR

The "/" at the end of MAILDIR is VERY important.. that tells procmail to
drop it into Maildir format (lots of directories and files) instead of one
huge file. You'll see once it starts doing Maildir format why it is so
much faster..


Things to keep in mind...

A Procmail recipie that used to look like:
:0:
* ^X-Spam-Status: Yes
Spam

Will probably need to look like this now:
:0:
* ^X-Spam-Status: Yes
.Spam/


Note the trailing slash. Courier also identifies mail folders with a dot
at the begining ("." = folder, "/" = Maildir).

So any procmail reciepies will need to be updated to work with the Maildir
format.. I have some scripts that were broken when I converted over (using
ifile for mail sorting..). So be careful.

You'll also need to resubscrbe to your courier folders from Squirrelmail
and also need to re-setup your Trash, Drafts, and Sent-Mail folders (if
you use them).

There is probably a way to script all of this, pretty easily, but I
haven't seen it yet..

Also, it may be better to convert to qmail+maildrop or something that
supports Maildir as the default.. I have and know sendmail, so I didn't
want to muck with it.

If anyone has any other suggestions, let me know! Maybe qmail+maildrop is
a better way altogether?


Good luck, let us know how it goes!
-Brett




>   Doh, stupid me listing sendmail. It's been a hellish week. I'm running
> UW's Imap-2002b. I'll try removing pref files, but I think you're on to
> something with their Folders. My INBOX stores only 80 emails or so. Some
> of these dolts were storing 600 emails in their INBOX. I have about 11
> other Folders with email on my account, and I've still never experienced
> their problems.
>
> Is there any info about migration from UW-imap to Courier?
>
>> Ok, well something is taking a long time to process. What mail server
>> are
>> you running (sendmail is the MTA, not the IMAP server)? With UW there
>> are
>> problems with having folders with many messages. That slowed my system
>> down a lot (sometimes a few minutes to log in). It didn't matter if the
>> messages were in the mail spool, or stored in the users personal folders
>> on the server. Having a lot of messages took a long time to process.
>>
>> I replaced my UW installation with Courier IMAP and got a magnitude
>> speed
>> improvement. Not only is Squirrelmail easy to use now, it's FAST. It
>> uses
>> Maildir format instead of mbox which is better for folders with lots of
>> messages (lots=in the 100s or more). Think of it this way, if you have 5
>> folders with 100 messages each, your IMAP server has to open 5 pretty
>> large files when you login.. If you have squirrelmail showing how many
>> messages are in each folder it will be MUCH MUCH slower with mbox
>> format.
>> Not only does it have to open these 5 large files, not it has to scan
>> them
>> for message status.
>>
>> Something else that might help troubleshoot is to move the user
>> preference
>> file out of the way (create a backup!). Sometimes user preferences
>> (perhaps linked to a plugin) could be slowing things down.. for example,
>> what I said above, about showing message count on each folder could be
>> the
>> culprit:
>> mv /var/squirrelmail/.pref
>> /var/squirrelmail/.pref.bak
>>
>>
>> Good luck! Tell us your IMAP server software. :)
>> -Brett
>>
>>
>>> To sum up the problem:
>>>
>>> Fatal error: Maximum execution time of 30 seconds exceeded in
>>> /home/httpd/ssldocs/squ