Re: [SM-USERS] Attachment problem.

2010-01-16 Thread Tomas Kuliavas


mrlondon wrote:
> 
> Hi - When I compose an email in squirrelmail, and attach a Word 2007 
> .docx file, and then read the email in squirrelmail, the attachment is 
> displayed as text/plain.  However, when I look at the raw headers of the 
> message, it does display the appropriate Content-Type.  See below.  If I 
> use Thunderbird to send the same email, I don't have this problem.  I 
> searched the web, and found instructions implying that the problem is 
> with apache and mime types.  So I tried adding lines to /etc/mime.types 
> for all the xml mime types.  See very below.  I then restarted httpd, 
> but still had the same problem.  What else should I try?  Thanks. - Mark
> 

Enable info plugin, go to message listing and lookup message with docx
attachment. see passed_id argument used in link to src/read_body.php.

Then go to Options -> IMAP server information and execute run two commands.
First "SELECT INBOX", then "UID FETCH some-number BODYSTRUCTURE". Both
commands are submitted without double quotes. Replace INBOX with correct
mailbox name. Use passed_id argument value instead of 'some-number'. Show
results of second command.

-- 
Tomas
-- 
View this message in context: 
http://old.nabble.com/Attachment-problem.-tp27186712p27187521.html
Sent from the squirrelmail-users mailing list archive at Nabble.com.


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
-
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


[SM-USERS] Error message with otp plugin

2010-01-16 Thread Hans-Christoph Wirth
Hi,

when using the one time password plugin (with one time user names and
one time passwords), I am presented the following error message and can
no longer otp-login into squirrelmail.  (Login with regular password
works as expected.)  The server runs on Debian.

--- begin error message ---
Warning: implode() [function.implode]: Invalid arguments passed in
/usr/share/squirrelmail/plugins/otp/functions.php on line 1218

Warning: session_regenerate_id() [function.session-regenerate-id]:
Cannot regenerate session id - headers already sent in
/usr/share/squirrelmail/src/redirect.php on line 82

Warning: Cannot modify header information - headers already sent by
(output started at
/usr/share/squirrelmail/plugins/otp/functions.php:1218) in
/usr/share/squirrelmail/functions/global.php on line 514

Warning: Cannot modify header information - headers already sent by
(output started at
/usr/share/squirrelmail/plugins/otp/functions.php:1218) in
/usr/share/squirrelmail/functions/global.php on line 514

Warning: Cannot modify header information - headers already sent by
(output started at
/usr/share/squirrelmail/plugins/otp/functions.php:1218) in
/usr/share/squirrelmail/functions/global.php on line 514

Warning: Cannot modify header information - headers already sent by
(output started at
/usr/share/squirrelmail/plugins/otp/functions.php:1218) in
/usr/share/squirrelmail/functions/global.php on line 514
SquirrelMail Logo
SquirrelMail version 1.4.19
--- end error message ---

SquirrelMail version:   1.4.19
Config file version:1.4.0
Config file last modified:  10 August 2009 22:24:45
Checking PHP configuration...
PHP version 5.2.6-1+lenny4 OK.
display_errors: 1
error_reporting: 6135
variables_order OK: EGPCS.
PHP extensions OK. Dynamic loading is disabled.

ERROR: You have enabled any one of magic_quotes_runtime,
magic_quotes_gpc or magic_quotes_sybase in your PHP configuration. We
recommend all those settings to be off. SquirrelMail may work with them
on, but when experiencing stray backslashes in your mail or other
strange behaviour, it may be advisable to turn them off.
Checking paths...
Data dir OK.
Attachment dir OK.
Plugins OK.
Themes OK.
Default language OK.
Base URL detected as: [WITHDRAWN] (location base autodetected)
Checking outgoing mail service
SMTP server OK (220 [WITHDRAWN] ESMTP .)
Checking IMAP service
IMAP server ready (* OK Dovecot ready.)
Capabilities: * CAPABILITY IMAP4rev1 SASL-IR SORT THREAD=REFERENCES
MULTIAPPEND UNSELECT LITERAL+ IDLE CHILDREN NAMESPACE LOGIN-REFERRALS
AUTH=PLAIN
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.


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
-
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] Forward files

2010-01-16 Thread Paul Lesniewski
On Fri, Jan 15, 2010 at 5:57 PM, Terry Jolley  wrote:
> Does anyone know if there is a limit to the number of addresses a
> person can have setup in the . forward mail option?  Is there a char
> limit or anything? Did not see anything in the plug in code.  Thanks
> for your time.

You need to specify what plugin you are using.  In general, the
question may be more suited to the community that provides the
software that actually uses your .forward files for sending the
autoresponses.  SquirrelMail merely helps you create and manage that
file.

-- 
Paul Lesniewski
SquirrelMail Team
Please support Open Source Software by donating to SquirrelMail!
http://squirrelmail.org/donate_paul_lesniewski.php

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
-
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] Error message with otp plugin

2010-01-16 Thread Paul Lesniewski
On Sat, Jan 16, 2010 at 1:34 AM, Hans-Christoph Wirth  wrote:
> Hi,
>
> when using the one time password plugin (with one time user names and
> one time passwords), I am presented the following error message and can
> no longer otp-login into squirrelmail.  (Login with regular password
> works as expected.)  The server runs on Debian.
>
> --- begin error message ---
> Warning: implode() [function.implode]: Invalid arguments passed in
> /usr/share/squirrelmail/plugins/otp/functions.php on line 1218

Judging from the line number, you are using a pre-release version.
Please upgrade to the official release of version 1.0.  I just tested
with it and SM 1.4.20SVN and SM 1.5.2SVN and it works fine for me.

> Warning: session_regenerate_id() [function.session-regenerate-id]:
> Cannot regenerate session id - headers already sent in
> /usr/share/squirrelmail/src/redirect.php on line 82
>
> Warning: Cannot modify header information - headers already sent by
> (output started at
> /usr/share/squirrelmail/plugins/otp/functions.php:1218) in
> /usr/share/squirrelmail/functions/global.php on line 514
>
> Warning: Cannot modify header information - headers already sent by
> (output started at
> /usr/share/squirrelmail/plugins/otp/functions.php:1218) in
> /usr/share/squirrelmail/functions/global.php on line 514
>
> Warning: Cannot modify header information - headers already sent by
> (output started at
> /usr/share/squirrelmail/plugins/otp/functions.php:1218) in
> /usr/share/squirrelmail/functions/global.php on line 514
>
> Warning: Cannot modify header information - headers already sent by
> (output started at
> /usr/share/squirrelmail/plugins/otp/functions.php:1218) in
> /usr/share/squirrelmail/functions/global.php on line 514
> SquirrelMail Logo
> SquirrelMail version 1.4.19
> --- end error message ---
>
> SquirrelMail version:   1.4.19
> Config file version:    1.4.0
> Config file last modified:      10 August 2009 22:24:45
> Checking PHP configuration...
>    PHP version 5.2.6-1+lenny4 OK.
>    display_errors: 1
>    error_reporting: 6135
>    variables_order OK: EGPCS.
>    PHP extensions OK. Dynamic loading is disabled.
>
>    ERROR: You have enabled any one of magic_quotes_runtime,
> magic_quotes_gpc or magic_quotes_sybase in your PHP configuration. We
> recommend all those settings to be off. SquirrelMail may work with them
> on, but when experiencing stray backslashes in your mail or other
> strange behaviour, it may be advisable to turn them off.
> Checking paths...
>    Data dir OK.
>    Attachment dir OK.
>    Plugins OK.
>    Themes OK.
>    Default language OK.
>    Base URL detected as: [WITHDRAWN] (location base autodetected)
> Checking outgoing mail service
>    SMTP server OK (220 [WITHDRAWN] ESMTP .)
> Checking IMAP service
>    IMAP server ready (* OK Dovecot ready.)
>    Capabilities: * CAPABILITY IMAP4rev1 SASL-IR SORT THREAD=REFERENCES
> MULTIAPPEND UNSELECT LITERAL+ IDLE CHILDREN NAMESPACE LOGIN-REFERRALS
> AUTH=PLAIN
> 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.

-- 
Paul Lesniewski
SquirrelMail Team
Please support Open Source Software by donating to SquirrelMail!
http://squirrelmail.org/donate_paul_lesniewski.php

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
-
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] Attachment problem.

2010-01-16 Thread Mark London

TEST_9
Request:
A004 UID FETCH 63293 BODYSTRUCTURE 
Response:
* 15 FETCH (UID 63293 BODYSTRUCTURE (("TEXT" "PLAIN" ("CHARSET" 
"iso-8859-1") NIL NIL "8BIT" 4 2 NIL NIL NIL)("TEXT" "PLAIN" ("CHARSET" 
"us-ascii") NIL NIL "BASE64" 529094 6783 NIL ("ATTACHMENT" ("FILENAME" 
"a.docx")) NIL) "MIXED" ("BOUNDARY" "=_20100115222842_90881") NIL NIL))

Completed (0.000 sec)

Tomas Kuliavas wrote:


mrlondon wrote:
Hi - When I compose an email in squirrelmail, and attach a Word 2007 
.docx file, and then read the email in squirrelmail, the attachment is 
displayed as text/plain.  However, when I look at the raw headers of the 
message, it does display the appropriate Content-Type.  See below.  If I 
use Thunderbird to send the same email, I don't have this problem.  I 
searched the web, and found instructions implying that the problem is 
with apache and mime types.  So I tried adding lines to /etc/mime.types 
for all the xml mime types.  See very below.  I then restarted httpd, 
but still had the same problem.  What else should I try?  Thanks. - Mark




Enable info plugin, go to message listing and lookup message with docx
attachment. see passed_id argument used in link to src/read_body.php.

Then go to Options -> IMAP server information and execute run two commands.
First "SELECT INBOX", then "UID FETCH some-number BODYSTRUCTURE". Both
commands are submitted without double quotes. Replace INBOX with correct
mailbox name. Use passed_id argument value instead of 'some-number'. Show
results of second command.

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev-
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

[SM-USERS] Authentication failure when sending messages

2010-01-16 Thread hstoellinger

Hello,
When using any browser and logging into Squirrelmail directly I have no
problem writing messages and then sending them to users on other
mailservers. However, I have also defined accounts using my LOCAL Opera mail
client for access. When defining "None" under authentication for the
outgoing SMTP server I don't get any error message but the messages remain
queued for sending. When I define any other authentication method (such as
AUTH-PLAIN or AUTH-LOGIN or AUTH-CRAM-MD5) I get the error message  "The
server responded 535 5.7.8 authentication failure: authentication failed. On
the other hand, I can "see" all incoming messages, using the Opera mail
client. Both client and server are Linux systems (server: Debian Lenny,
Postfix, Courier, PHP-5, Apache 2.2, client: OpenSuse 11.2, Opera 10.10).
Any ideas? 
-- 
View this message in context: 
http://old.nabble.com/Authentication-failure-when-sending-messages-tp27174838p27174838.html
Sent from the squirrelmail-users mailing list archive at Nabble.com.


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
-
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] Authentication failure when sending messages

2010-01-16 Thread Thomas Jensen
On Fri, 15 Jan 2010 04:25:04 -0800 (PST), hstoellinger
 wrote:
> Hello,
> When using any browser and logging into Squirrelmail directly I have no
> problem writing messages and then sending them to users on other
> mailservers.

I think your statement is correct that this isn't a Squirrelmail issue.

>However, I have also defined accounts using my LOCAL Opera
> mail
> client for access. When defining "None" under authentication for the
> outgoing SMTP server I don't get any error message but the messages
remain
> queued for sending. When I define any other authentication method (such
as
> AUTH-PLAIN or AUTH-LOGIN or AUTH-CRAM-MD5) I get the error message  "The
> server responded 535 5.7.8 authentication failure: authentication
failed.
> On
> the other hand, I can "see" all incoming messages, using the Opera mail
> client. Both client and server are Linux systems (server: Debian Lenny,
> Postfix, Courier, PHP-5, Apache 2.2, client: OpenSuse 11.2, Opera
10.10).
> Any ideas?

This may be an issue with Postfix and specifically with SMTP
authentication.  I would confirm whether your setup requires SMTP
authentication.  If it does, I would search the Internet on how to
configure an email client to work with a Postfix server requiring
authentication.  If it doesn't, I  would search the Internet on how to
configure Postfix to require authentication.

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
-
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