[SM-USERS] Why have an user mailing list?

2015-09-17 Thread André Z . D . A .
Why having a user mailing list if no one answer questions that are natural to 
be asked, have no answer or documentation about them, and probably show common 
problems to many users?



> Third try. Anyone around here can give me a bit of help, please?
> 
>> Maybe I started this message with the wrong sentence. So I'm writing again - 
>> but assuming someone will read the original message as needed, because it 
>> has all details that I imagine are needed.
>>
>> As the admin of a few Squirrelmail installations, I have reports of users 
>> that can't search their messages; they are using specific IMAP servers. 
>> Squirrelmail shows a strange error (see original message), which does not 
>> point me to anything to solve the problem, or to find the solution. May you 
>> help me?
>>
>> Another problem is that clicking in the message list headers to choose what 
>> field for message sorting causes an very bad error. Users cannot refresh 
>> message lists anymore! There is no way for them to reset the configuration. 
>> I must manually remove the sort option from each user configuration file.
>>
>> With Squirrelmail configured for each of these different IMAP servers, I run 
>> its configtest. No problem is pointed (see original message). So, why do I 
>> have these and other problems?
>>
>>> I get an error when searching my inbox for some subject. I use an IMAP 
>>> server to this account.
>>>
>>> The error message (in Portuguese) is:
>>>
>>> ===
>>> ERRO:
>>> Erro: pedido não pode ser completado.
>>> Requisição: FETCH (FLAGS UID RFC822.SIZE INTERNALDATE 
>>> BODY.PEEK[HEADER.FIELDS (Date To Cc From Subject X-Priority Importance 
>>> Priority Content-Type)])
>>> Razão alegada: FETCH token is invalid
>>> ===
>>>
>>> Which should be something like this, in English:
>>>
>>> ===
>>> ERROR:
>>> Error: request can't be completed.
>>> Request: FETCH (FLAGS UID RFC822.SIZE INTERNALDATE BODY.PEEK[HEADER.FIELDS 
>>> (Date To Cc From Subject X-Priority Importance Priority Content-Type)])
>>> Informed reason: FETCH token is invalid
>>> ===
>>>
>>> A configtest run on this install, right now, gives:
>>>
>>> 
>>> SquirrelMail configtest
>>>
>>> This script will try to check some aspects of your SquirrelMail 
>>> configuration and point you to errors whereever it can find them. You need 
>>> to go run conf.pl in the config/ directory first before you run this script.
>>> SquirrelMail version: 1.4.22
>>> Config file version: 1.4.0
>>> Config file last modified: 24 08 2015 02:31:37
>>>
>>> Checking PHP configuration...
>>> PHP version 5.3.13 OK.
>>> Running as me(123) / group(1000)
>>> display_errors: 1
>>> error_reporting: 22519
>>> variables_order OK: EGPCS.
>>> PHP extensions OK. Dynamic loading is enabled.
>>> Checking paths...
>>> Data dir OK.
>>> Attachment dir OK.
>>> Plugins OK.
>>> Themes OK.
>>> Default language OK.
>>> Base URL detected as: https://my.domain.name.com/~squirrel/path/src 
>>> (location base autodetected)
>>> Checking outgoing mail service
>>> SMTP server OK (220 carretel.grude.ufmg.br ESMTP Service (Lotus Domino 
>>> Release 8.5.3FP6HF1016) ready at Mon, 24 Aug 2015 02:32:47 -0300)
>>> Checking IMAP service
>>> IMAP server ready (* OK Domino IMAP4 Server Release 8.5.3FP6HF1016 ready 
>>> Mon, 24 Aug 2015 02:32:47 -0300)
>>> Capabilities: * CAPABILITY IMAP4rev1 AUTH=PLAIN LITERAL+ NAMESPACE QUOTA 
>>> UIDPLUS
>>> Checking internationalization (i18n) settings...
>>> gettext - Gettext functions are available. On some systems you must have 
>>> appropriate system locales compiled.
>>> mbstring - Mbstring functions are available.
>>> recode - Recode functions are unavailable.
>>> iconv - Iconv functions are available.
>>> timezone - Webmail users can change their time zone settings.
>>> Checking database functions...
>>> not using database functionality.
>>>
>>> Congratulations, your SquirrelMail setup looks fine to me!
>>>
>>> 
>>>
>>> So. What should I do?
>>>
>>> There are other problems with Squirrelmail that I never tried to fix, but 
>>> might be related: in the message lists, clicking on date, subject, size or 
>>> date, to sort messages with them gives an error that I could only fix by 
>>> manually editing the Squirrel config file, removing this sort option. The 
>>> error makes it impossible to reopen the folder where I clicked the option 
>>> to unclick it. This is very bad because normal users of this Squirrel 
>>> install cannot do this. I do it as the admin, but would't be much fun to do 
>>> this everytime an user clicks on something simple that is there waiting.
>>>
>>> If more information is needed, please ask. Suggestions are also welcome.
>>>
>>> Thank you,
>>>
>>> André
>>>
>>> --
>>> -
>>> squirrelmail-users mailing list
>>> Posting guidelines: http://squirrelmail.org/postingguidelines
>>>

Re: [SM-USERS] Can't make SquirrelMail have chosen attach size. Why?

2015-09-17 Thread André Z . D . A .
I have the following situation:

1. Squirrelmail hosted in its own directory, similar to:

https://me.server.com/squi/

To log into Squirrelmail we use the above URL, and it works from there as 
wanted.

All paths in the following items are relative to this URL, unless noted 
otherwise.

It is an Apache running on Ubuntu 14.04.2 LTS (GNU/Linux 3.13.0-61-generic 
x86_64).

2. The file .htaccess has nothing related to attachment sizes. It did not work 
for these.

3. The php.ini file has, among others, these lines:

magic_quotes_gpc=false
magic_quotes_runtime=false
magic_quotes_sybase=false
post_max_size=50M
memory_limit=300M
upload_max_filesize=20M

4. Running a PHP script now to call php_info() reports (as it was reported long 
ago, it stays the same; the server was rebooted for sure, it was reinstalled ~1 
month ago) :

post_max_size   50M 50M
memory_limit300M300M
upload_max_filesize 20M 20M

5. Since it do not work since I reported it, several weeks ago, I have check 
source code. The src/compose.php file has the lines:

/* php.ini vars which influence the max for uploads */
$configvars = array('post_max_size', 'memory_limit', 
'upload_max_filesize');
foreach($configvars as $var) {
/* skip 0 or empty values, and -1 which means 'unlimited' */
if( $size = getByteSize(ini_get($var)) ) {
if ( $size != '-1' ) {
$sizes[] = $size;
}
}
}

6. Squirrelmail only allows at most 2 MiB sized attachments, or it gives an 
error.

7. I have made an upload test with PHP, in this same folder. I can use size of 
to the reported limits, except in Squirrelmail.

How should it be solved?


---
Date: 2015-04-30 06:11
From: André Z. D. A. andrezd...@yandex.com
To: 'Squirrelmail User Support Mailing List' 
squirrelmail-users@lists.sourceforge.net
> 
> I'll research a bit on what exactly I can do (with my server) in htaccess.
> 
> And I'll post phpinfo output without removing the "uneeded" lines - complete, 
> basically.
> 
> Just give me a couple of days.
> 
> Thank you, very much
> 
>>> Ryan,
>>>
>>> As far as I am aware two php.ini files is a Debianism.. CentOS/RHEL uses
>>
>> only one php.ini which is located in /etc/ . I don't do a huge amount of web
>> oriented stuff, mostly OS/system level and openstack/cloudstack things these
>> days with some admin of various services like the company wiki and chat
>>
>>> servers, so I may be wrong but I have been doing CentOS/RH admin since RH
>>
>> 1.x and have never seen two php.ini files..
>>
>>> Good pointer on the .htaccess stuff.. I forgot all about stuffing vars
>>
>> into there..
>>
>>> Have a good day.
>>> -R
>>
>> Yeah that probably is the case; I use Gentoo mainly, and it has the 2
>> php.ini. As long as you're changing the right file, it should be fine,
>> though it does require an apache restart to take effect (might be a good
>> idea to do so in off-peak time despite generally being very quick). I
>> mentioned the htaccess as there was some discussion about limited access to
>> system modification, in which case htaccess is a simple alternative. I did
>> notice in my own configuration, I changed both upload_max_filesize &
>> post_max_size--though I'm not sure both are required. Not all PHP variables
>> can be managed in htaccess but the list is easily googled.
>>
>> --
>> Ryan
>>
>> --
>> One dashboard for servers and applications across Physical-Virtual-Cloud
>> Widest out-of-the-box monitoring support with 50+ applications
>> Performance metrics, stats and reports that give you Actionable Insights
>> Deep dive visibility with transaction tracing using APM Insight.
>> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>> -
>> squirrelmail-users mailing list
>> Posting guidelines: http://squirrelmail.org/postingguidelines
>> List address: squirrelmail-users@lists.sourceforge.net
>> List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
>> List info (subscribe/unsubscribe/change options): 
>> https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
> 
> --
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> -
> squirrelmail-users mailing list
> Posting guidelines: http://squirrelmail.org/postingguidelines
> List address: squirrelmail-users@lists.sourceforge.net
> List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
> List info (subscribe/unsubscribe/change options): 
> https://lists.sourceforge.net/lists/listinfo/squi

Re: [SM-USERS] Why have an user mailing list?

2015-09-17 Thread J
On Thu, 17 Sep 2015 06:32:07 -0300
André Z. D. A.  wrote:

> Why having a user mailing list if no one answer questions that are natural
> to be asked, have no answer or documentation about them, and probably show
> common problems to many users?
> 
> 

Probably because the answer to your question isn't Squirrelmail related.  See
below.


> 
> > Third try. Anyone around here can give me a bit of help, please?
> > 
> >> Maybe I started this message with the wrong sentence. So I'm writing
> >> again - but assuming someone will read the original message as needed,
> >> because it has all details that I imagine are needed.
> >>
> >> As the admin of a few Squirrelmail installations, I have reports of users
> >> that can't search their messages; they are using specific IMAP servers.
> >> Squirrelmail shows a strange error (see original message), which does not
> >> point me to anything to solve the problem, or to find the solution. May
> >> you help me?
> >>
> >> Another problem is that clicking in the message list headers to choose
> >> what field for message sorting causes an very bad error. Users cannot
> >> refresh message lists anymore! There is no way for them to reset the
> >> configuration. I must manually remove the sort option from each user
> >> configuration file.
> >>
> >> With Squirrelmail configured for each of these different IMAP servers, I
> >> run its configtest. No problem is pointed (see original message). So, why
> >> do I have these and other problems?
> >>
> >>> I get an error when searching my inbox for some subject. I use an IMAP
> >>> server to this account.
> >>>
> >>> The error message (in Portuguese) is:
> >>>
> >>> ===
> >>> ERRO:
> >>> Erro: pedido não pode ser completado.
> >>> Requisição: FETCH (FLAGS UID RFC822.SIZE INTERNALDATE
> >>> BODY.PEEK[HEADER.FIELDS (Date To Cc From Subject X-Priority Importance
> >>> Priority Content-Type)]) Razão alegada: FETCH token is invalid
> >>> ===
> >>>
> >>> Which should be something like this, in English:
> >>>
> >>> ===
> >>> ERROR:
> >>> Error: request can't be completed.
> >>> Request: FETCH (FLAGS UID RFC822.SIZE INTERNALDATE
> >>> BODY.PEEK[HEADER.FIELDS (Date To Cc From Subject X-Priority Importance
> >>> Priority Content-Type)]) Informed reason: FETCH token is invalid
> >>> ===
> >>>
> >>> A configtest run on this install, right now, gives:
> >>>
> >>> 
> >>> SquirrelMail configtest
> >>>
> >>> This script will try to check some aspects of your SquirrelMail
> >>> configuration and point you to errors whereever it can find them. You
> >>> need to go run conf.pl in the config/ directory first before you run
> >>> this script. SquirrelMail version: 1.4.22 Config file version: 1.4.0
> >>> Config file last modified: 24 08 2015 02:31:37
> >>>
> >>> Checking PHP configuration...
> >>> PHP version 5.3.13 OK.
> >>> Running as me(123) / group(1000)
> >>> display_errors: 1
> >>> error_reporting: 22519
> >>> variables_order OK: EGPCS.
> >>> PHP extensions OK. Dynamic loading is enabled.
> >>> Checking paths...
> >>> Data dir OK.
> >>> Attachment dir OK.
> >>> Plugins OK.
> >>> Themes OK.
> >>> Default language OK.
> >>> Base URL detected as: https://my.domain.name.com/~squirrel/path/src
> >>> (location base autodetected) Checking outgoing mail service
> >>> SMTP server OK (220 carretel.grude.ufmg.br ESMTP Service (Lotus Domino
> >>> Release 8.5.3FP6HF1016) ready at Mon, 24 Aug 2015 02:32:47 -0300)
> >>> Checking IMAP service IMAP server ready (* OK Domino IMAP4 Server
> >>> Release 8.5.3FP6HF1016 ready Mon, 24 Aug 2015 02:32:47 -0300)
> >>> Capabilities: * CAPABILITY IMAP4rev1 AUTH=PLAIN LITERAL+ NAMESPACE QUOTA
> >>> UIDPLUS Checking internationalization (i18n) settings... gettext -
> >>> Gettext functions are available. On some systems you must have
> >>> appropriate system locales compiled. mbstring - Mbstring functions are
> >>> available. recode - Recode functions are unavailable. iconv - Iconv
> >>> functions are available. timezone - Webmail users can change their time
> >>> zone settings. Checking database functions...
> >>> not using database functionality.
> >>>

From what I have read, via Google, Lotus Domino does not properly support
all the Fetch options you are sending to it.  This is a IMAP issue, not
Squirrelmail.  Please correct me if this is not true.  I do not use Domino, so
cannot answer with firsthand knowledge.It is also why I did not answer the
first 2 times you sent this.



> >>> Congratulations, your SquirrelMail setup looks fine to me!
> >>>
> >>> 
> >>>
> >>> So. What should I do?

Switch to a Server program that properly supports IMAP.

> >>>
> >>> There are other problems with Squirrelmail that I never tried to fix,
> >>> but might be related: in the message lists, clicking on date, subject,
> >>> size or date, to sort messages with them gives an error that I could
> >>> only fix by manually edit

Re: [SM-USERS] Why have an user mailing list?

2015-09-17 Thread Juergen Nickelsen
On 17.09.2015 11:32, André Z. D. A. wrote:
> Why having a user mailing list if no one answer questions that are natural to 
> be asked, have no answer or documentation about them, and probably show 
> common problems to many users?

I can understand that you are a bit miffed about not getting any help
with your issue. But as I read it, I thought "wow, this is special" and
had no idea how SquirrelMail can have such misunderstandings with an
IMAP server. And then it is Lotus Domino, with which I guess relatively
few SquirrelMail operators have experience.

So, yes, it's unfortunate, but I am afraid this is a case of "you get
what you pay for."

Regards, Juergen.

--
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
-
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): 
https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Re: [SM-USERS] Why have an user mailing list?

2015-09-17 Thread Dave McMurtrie
On Thu, 2015-09-17 at 06:32 -0300, André Z. D. A. wrote:
> Why having a user mailing list if no one answer questions that are natural to 
> be asked, have no answer or documentation about them, and probably show 
> common problems to many users?
> 
> 
> 
> > Third try. Anyone around here can give me a bit of help, please?
> > 
> >> Maybe I started this message with the wrong sentence. So I'm writing again 
> >> - but assuming someone will read the original message as needed, because 
> >> it has all details that I imagine are needed.
> >>
> >> As the admin of a few Squirrelmail installations, I have reports of users 
> >> that can't search their messages; they are using specific IMAP servers. 
> >> Squirrelmail shows a strange error (see original message), which does not 
> >> point me to anything to solve the problem, or to find the solution. May 
> >> you help me?
> >>
> >> Another problem is that clicking in the message list headers to choose 
> >> what field for message sorting causes an very bad error. Users cannot 
> >> refresh message lists anymore! There is no way for them to reset the 
> >> configuration. I must manually remove the sort option from each user 
> >> configuration file.
> >>
> >> With Squirrelmail configured for each of these different IMAP servers, I 
> >> run its configtest. No problem is pointed (see original message). So, why 
> >> do I have these and other problems?
> >>
> >>> I get an error when searching my inbox for some subject. I use an IMAP 
> >>> server to this account.
> >>>
> >>> The error message (in Portuguese) is:
> >>>
> >>> ===
> >>> ERRO:
> >>> Erro: pedido não pode ser completado.
> >>> Requisição: FETCH (FLAGS UID RFC822.SIZE INTERNALDATE 
> >>> BODY.PEEK[HEADER.FIELDS (Date To Cc From Subject X-Priority Importance 
> >>> Priority Content-Type)])
> >>> Razão alegada: FETCH token is invalid
> >>> ===
> >>>
> >>> Which should be something like this, in English:
> >>>
> >>> ===
> >>> ERROR:
> >>> Error: request can't be completed.
> >>> Request: FETCH (FLAGS UID RFC822.SIZE INTERNALDATE 
> >>> BODY.PEEK[HEADER.FIELDS (Date To Cc From Subject X-Priority Importance 
> >>> Priority Content-Type)])
> >>> Informed reason: FETCH token is invalid
> >>> ===

That's not a valid FETCH command that Squirrelmail is sending.  It's not
including the sequence set (which messages to fetch those data items
for).

I assume that either your Domino server responded to a prior command
(LIST probably) with something that Squirrelmail wasn't expecting or
couldn't parse, or maybe there's just a very odd bug in Squirrelmail.

Is there any way to enable protocol logging on your Domino server so you
can see every command that's sent by Squirrelmail and every response
that Domino sends back?

hth,

Dave
--
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
-
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): 
https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Re: [SM-USERS] Can't make SquirrelMail have chosen attach size. Why?

2015-09-17 Thread dave
Hi,

It could be your mail server and not SquirrelmaiI. I use Debian with 
Posttfix and Dovecot. For Squirrelmail I changed the php.ini settings in 
/etc/php5/apache2/ to:
post_max_size = 110M
upload_max_filesize = 100M

For Postfix I sdded a line in /etc/postfix/main.cf file as follows:
message_size_limit = 10240

So if someone sends/receives a message over 102.4MB Postfix will not 
allow it and Squirrelmail won't get it either. In my case I'm using 
Postfix to limit the message (with attachment) size. That is why the 
PHP, post_max_size, is greater than Postfix, upload_max_filesize.

I hope this is what you are looking for.

Dave A.


On 2015-09-17 02:53, André Z. D. A. wrote:
> I have the following situation:
> 
> 1. Squirrelmail hosted in its own directory, similar to:
> 
> https://me.server.com/squi/
> 
> To log into Squirrelmail we use the above URL, and it works from there
> as wanted.
> 
> All paths in the following items are relative to this URL, unless
> noted otherwise.
> 
> It is an Apache running on Ubuntu 14.04.2 LTS (GNU/Linux
> 3.13.0-61-generic x86_64).
> 
> 2. The file .htaccess has nothing related to attachment sizes. It did
> not work for these.
> 
> 3. The php.ini file has, among others, these lines:
> 
> magic_quotes_gpc=false
> magic_quotes_runtime=false
> magic_quotes_sybase=false
> post_max_size=50M
> memory_limit=300M
> upload_max_filesize=20M
> 
> 4. Running a PHP script now to call php_info() reports (as it was
> reported long ago, it stays the same; the server was rebooted for
> sure, it was reinstalled ~1 month ago) :
> 
> post_max_size 50M 50M
> memory_limit  300M300M
> upload_max_filesize   20M 20M
> 
> 5. Since it do not work since I reported it, several weeks ago, I have
> check source code. The src/compose.php file has the lines:
> 
> /* php.ini vars which influence the max for uploads */
> $configvars = array('post_max_size', 'memory_limit',
> 'upload_max_filesize');
> foreach($configvars as $var) {
> /* skip 0 or empty values, and -1 which means 'unlimited' 
> */
> if( $size = getByteSize(ini_get($var)) ) {
> if ( $size != '-1' ) {
> $sizes[] = $size;
> }
> }
> }
> 
> 6. Squirrelmail only allows at most 2 MiB sized attachments, or it
> gives an error.
> 
> 7. I have made an upload test with PHP, in this same folder. I can use
> size of to the reported limits, except in Squirrelmail.
> 
> How should it be solved?
> 
> 
> ---
> Date: 2015-04-30 06:11
> From: André Z. D. A. andrezd...@yandex.com
> To: 'Squirrelmail User Support Mailing List'
> squirrelmail-users@lists.sourceforge.net
>> 
>> I'll research a bit on what exactly I can do (with my server) in 
>> htaccess.
>> 
>> And I'll post phpinfo output without removing the "uneeded" lines - 
>> complete, basically.
>> 
>> Just give me a couple of days.
>> 
>> Thank you, very much
>> 
 Ryan,
 
 As far as I am aware two php.ini files is a Debianism.. CentOS/RHEL 
 uses
>>> 
>>> only one php.ini which is located in /etc/ . I don't do a huge amount 
>>> of web
>>> oriented stuff, mostly OS/system level and openstack/cloudstack 
>>> things these
>>> days with some admin of various services like the company wiki and 
>>> chat
>>> 
 servers, so I may be wrong but I have been doing CentOS/RH admin 
 since RH
>>> 
>>> 1.x and have never seen two php.ini files..
>>> 
 Good pointer on the .htaccess stuff.. I forgot all about stuffing 
 vars
>>> 
>>> into there..
>>> 
 Have a good day.
 -R
>>> 
>>> Yeah that probably is the case; I use Gentoo mainly, and it has the 2
>>> php.ini. As long as you're changing the right file, it should be 
>>> fine,
>>> though it does require an apache restart to take effect (might be a 
>>> good
>>> idea to do so in off-peak time despite generally being very quick). I
>>> mentioned the htaccess as there was some discussion about limited 
>>> access to
>>> system modification, in which case htaccess is a simple alternative. 
>>> I did
>>> notice in my own configuration, I changed both upload_max_filesize &
>>> post_max_size--though I'm not sure both are required. Not all PHP 
>>> variables
>>> can be managed in htaccess but the list is easily googled.
>>> 
>>> --
>>> Ryan
>>> 
>>> --
>>> One dashboard for servers and applications across 
>>> Physical-Virtual-Cloud
>>> Widest out-of-the-box monitoring support with 50+ applications
>>> Performance metrics, stats and reports that give you Actionable 
>>> Insights
>>> Deep dive visibility with transaction tracing using APM Insight.
>>> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>>> -
>>> squirrelmail-users mailing list
>>> Posting guidelines: http://squirrelmail.org/postingguidelines
>>> List address: squirrelmail-users@lists.sourceforge.net
>>> List 

Re: [SM-USERS] Can't make SquirrelMail have chosen attach size. Why?

2015-09-17 Thread André Z . D . A .
Hello! Thank you for the answer, Dave.

That's a possibility. But the fact that Squirrelmail configtest doesn't say 
there is something wrong, in my opinion it is something to be improved, at 
least. I run the test after configuring all possible aspects, including IMAP 
(or POP, although there is none today) and SMTP details.

Further, I think it is not using postfix to send messages, since it access 
external SMTP servers. For example, there is one setup for Yahoo accounts (use 
the server smtp.mail.yahoo.com). From SM's configure, I set it to use SMTP, and 
not sendmail (which I assume is where postfix would come in, as my own SMTP 
server, in this machine). I didn't think Yahoo's SMTP server would limit 
attachments to 2 MiB. and I have tested these limits the other way, and I 
looked in SM source code for "hints" of what/where to look. Still can't see 
clearly what is the problem. Using Thunderbird as a mail client, Yahoo's SMTP 
sends 10MiB+ big attachments, so it is possible Squirrelmail doing it too.

The global files you pointed here should not apply to me because: being global, 
I cannot change them, and an user dependent limit should be either 
known/discoverable or changeable, within it. My /etc/php5/ folder only contain 
two folders, and no hidden files. Its full listing gives just these files:

./cli/conf.d
./cli/conf.d/10-pdo.ini
./cli/conf.d/20-json.ini
./cli/conf.d/20-readline.ini
./cli/conf.d/05-opcache.ini
./cli/php.ini
./mods-available/pdo.ini
./mods-available/opcache.ini
./mods-available/readline.ini
./mods-available/json.ini

And this php.ini file contain 3 "important" values I have seen in other places:

post_max_size = 8M
upload_max_filesize = 2M
memory_limit = -1

So, the 2M is the same as the limit I have. But if phpinfo() running from 
Squirrelmail folder shows different (bigger) values, why can't Squirrelmail 
feel this difference? I have followed its install instructions and made the 
configtest. I have made upload scripts to receive bigger upload.

Right now I did:

- configure SqM to use an SMTP server
- check the used SMTP server sends messages with bigger attachments
- check that my server setup allows uploads with more than 2MiB
- follow SqM install instructions and made a configtest as the last setup step, 
no problem pointed

Still no change.

- Dave A. wrote:
> Hi,
> 
> It could be your mail server and not SquirrelmaiI. I use Debian with
> Posttfix and Dovecot. For Squirrelmail I changed the php.ini settings in
> /etc/php5/apache2/ to:
> post_max_size = 110M
> upload_max_filesize = 100M
> 
> For Postfix I sdded a line in /etc/postfix/main.cf file as follows:
> message_size_limit = 10240
> 
> So if someone sends/receives a message over 102.4MB Postfix will not
> allow it and Squirrelmail won't get it either. In my case I'm using
> Postfix to limit the message (with attachment) size. That is why the
> PHP, post_max_size, is greater than Postfix, upload_max_filesize.
> 
> I hope this is what you are looking for.
> 
> Dave A.
> 
> On 2015-09-17 02:53, André Z. D. A. wrote:
> 
>> I have the following situation:
>>
>> 1. Squirrelmail hosted in its own directory, similar to:
>>
>> https://me.server.com/squi/
>>
>> To log into Squirrelmail we use the above URL, and it works from there
>> as wanted.
>>
>> All paths in the following items are relative to this URL, unless
>> noted otherwise.
>>
>> It is an Apache running on Ubuntu 14.04.2 LTS (GNU/Linux
>> 3.13.0-61-generic x86_64).
>>
>> 2. The file .htaccess has nothing related to attachment sizes. It did
>> not work for these.
>>
>> 3. The php.ini file has, among others, these lines:
>>
>> magic_quotes_gpc=false
>> magic_quotes_runtime=false
>> magic_quotes_sybase=false
>> post_max_size=50M
>> memory_limit=300M
>> upload_max_filesize=20M
>>
>> 4. Running a PHP script now to call php_info() reports (as it was
>> reported long ago, it stays the same; the server was rebooted for
>> sure, it was reinstalled ~1 month ago) :
>>
>> post_max_size 50M 50M
>> memory_limit 300M 300M
>> upload_max_filesize 20M 20M
>>
>> 5. Since it do not work since I reported it, several weeks ago, I have
>> check source code. The src/compose.php file has the lines:
>>
>> /* php.ini vars which influence the max for uploads */
>> $configvars = array('post_max_size', 'memory_limit',
>> 'upload_max_filesize');
>> foreach($configvars as $var) {
>> /* skip 0 or empty values, and -1 which means 'unlimited'
>> */
>> if( $size = getByteSize(ini_get($var)) ) {
>> if ( $size != '-1' ) {
>> $sizes[] = $size;
>> }
>> }
>> }
>>
>> 6. Squirrelmail only allows at most 2 MiB sized attachments, or it
>> gives an error.
>>
>> 7. I have made an upload test with PHP, in this same folder. I can use
>> size of to the reported limits, except in Squirrelmail.
>>
>> How should it be solved?
>>
>> ---
>> Date: 2015-04-30 06:11
>> From: André Z. D. A. andrezd...@yandex.com
>> To: 'Squirrelmail User Support Mailing List'
>> 

Re: [SM-USERS] Why have an user mailing list?

2015-09-17 Thread André Z . D . A .
I have 3 Squirrelmail setup that use different IMAP and SMTP servers. These 
server are assured (and tested by me) to allow bigger file attachments, just to 
mention something I have just wrote about in another message here. If there is 
something wrong with the Lotus Domino server, shouldn't Squirrelmail point it 
to me, since it's using it? I'm missing documentation and/or pointers to solve 
some problems that I think don't need to exist.

"You get what you pay for". Maybe I'm opting for the wrong webmail client. 
There are others around. But it seems so simple, and I have known SM for years, 
and it does not have the problems I'm facing with it right now - but I did not 
see what people have made to solve them in the past, if they needed. SM is not 
an abandoned project either. So, why not?

And an user list is good to exist. But users are needed. And developers and 
other people involved with the deeper parts of its working should help when 
needed. Somewhere it is written: "Wait a few days for an answer". There is a 
problem I wrote here months ago, nothing followed that message. That is a bit 
disapointing. It didn't even need to be the solution, initially. But with my 
knowledge I cannot solve it, and in some aspects I know more than the average 
user should know, and this list name points that it is aimed for those.



> On 17.09.2015 11:32, André Z. D. A. wrote:
> 
>> Why having a user mailing list if no one answer questions that are natural 
>> to be asked, have no answer or documentation about them, and probably show 
>> common problems to many users?
> 
> I can understand that you are a bit miffed about not getting any help
> with your issue. But as I read it, I thought "wow, this is special" and
> had no idea how SquirrelMail can have such misunderstandings with an
> IMAP server. And then it is Lotus Domino, with which I guess relatively
> few SquirrelMail operators have experience.
> 
> So, yes, it's unfortunate, but I am afraid this is a case of "you get
> what you pay for."
> 
> Regards, Juergen.
> 
> --
> Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
> Get real-time metrics from all of your servers, apps and tools
> in one place.
> SourceForge users - Click here to start your Free Trial of Datadog now!
> http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
> -
> squirrelmail-users mailing list
> Posting guidelines: http://squirrelmail.org/postingguidelines
> List address: squirrelmail-users@lists.sourceforge.net
> List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
> List info (subscribe/unsubscribe/change options): 
> https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

--
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
-
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): 
https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Re: [SM-USERS] Why have an user mailing list?

2015-09-17 Thread André Z . D . A .


> On Thu, 2015-09-17 at 06:32 -0300, André Z. D. A. wrote:
> 
>> Why having a user mailing list if no one answer questions that are natural 
>> to be asked, have no answer or documentation about them, and probably show 
>> common problems to many users?
>>
>>> Third try. Anyone around here can give me a bit of help, please?
>>>
 Maybe I started this message with the wrong sentence. So I'm writing again 
 - but assuming someone will read the original message as needed, because 
 it has all details that I imagine are needed.

 As the admin of a few Squirrelmail installations, I have reports of users 
 that can't search their messages; they are using specific IMAP servers. 
 Squirrelmail shows a strange error (see original message), which does not 
 point me to anything to solve the problem, or to find the solution. May 
 you help me?

 Another problem is that clicking in the message list headers to choose 
 what field for message sorting causes an very bad error. Users cannot 
 refresh message lists anymore! There is no way for them to reset the 
 configuration. I must manually remove the sort option from each user 
 configuration file.

 With Squirrelmail configured for each of these different IMAP servers, I 
 run its configtest. No problem is pointed (see original message). So, why 
 do I have these and other problems?

> I get an error when searching my inbox for some subject. I use an IMAP 
> server to this account.
>
> The error message (in Portuguese) is:
>
> ===
> ERRO:
> Erro: pedido não pode ser completado.
> Requisição: FETCH (FLAGS UID RFC822.SIZE INTERNALDATE 
> BODY.PEEK[HEADER.FIELDS (Date To Cc From Subject X-Priority Importance 
> Priority Content-Type)])
> Razão alegada: FETCH token is invalid
> ===
>
> Which should be something like this, in English:
>
> ===
> ERROR:
> Error: request can't be completed.
> Request: FETCH (FLAGS UID RFC822.SIZE INTERNALDATE 
> BODY.PEEK[HEADER.FIELDS (Date To Cc From Subject X-Priority Importance 
> Priority Content-Type)])
> Informed reason: FETCH token is invalid
> ===
> 
> That's not a valid FETCH command that Squirrelmail is sending. It's not
> including the sequence set (which messages to fetch those data items
> for).

Really!? That's a surprise I would never think about.
 
> I assume that either your Domino server responded to a prior command
> (LIST probably) with something that Squirrelmail wasn't expecting or
> couldn't parse, or maybe there's just a very odd bug in Squirrelmail.

I can make most tests within my server (with Squirrelmail in). I just cannot 
make tests that are either expeting to log the servers (IMAP or SMTP) 
internally, because they are external and inaccessible directly by me or by the 
other Squirrelmail users. I can't imagine what a test could be, from SM. I can 
make a setup where I can alter squirrel source code to log each commands it 
sends. Would it be useful? And what should I look for, to log? And what 
information can be needed (I don't know protocol details, so I would need a 
help with this kind of things).


> Is there any way to enable protocol logging on your Domino server so you
> can see every command that's sent by Squirrelmail and every response
> that Domino sends back?

No. I cannot access the Domino server. As I said above, it's external. The 
setup to use this server was the last one I have made. Although I have other 
issues with other server too, I can search messages with them. For example, 
with Yahoo's IMAP server (imap.mail.yahoo.com) I can search, I did it now. The 
setup I have made to use this Domino server was initially a copy from Yahoo's 
setup; after copying I just changed some obviously needed details (like server 
configuration, and nothing more I can remember, if anything else).

If I patch every server action in Squirrel's functions, would it give useful 
information for you? With some help to what information is needed, or any 
needed details, I imagine this feasible without taking too much time.



--
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
-
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): 
https://lists.sourceforge.net/lists/listinfo/squirrelmail-users