On 10/10/06, Alan in Toronto <Alantoronto@...> wrote:
> SquirrelMail 1.4.6
> PHP 4.4.4
> UWIMAPD (IMAP4rev1 2004.357-cpanel)
> Apache 1.3.37
> CentOS 4.4
> Our webserver runs as nobody.
> IMAP Server Address: 127.0.0.1
> SMTP Server Address: 127.0.0.1
> Server side sorting is enabled
> Server side thread sorting is disabled
> register_globals are off for my installation, but they are on for the
> rest of the server
> Many plugins, including: Auto Complete; Folder Synch; Select Range; etc.
>
> I was looking for some comparison between Sendmail and SMTP for sending
> outgoing mail from the server? Are there advantages of one over the other,
> or disadvantages? Are there reasons why I should use one rather than the
> other for SquirrelMail?
>
> Paul and WJCarpenter replied, and I have some follow-up questions to their
> replies.
>
> On 9/26/06, WJCarpenter <bill-squirrelmail@...> wrote:
> > With sendmail, you probably get a mild efficiency improvement.
> >
> > With sendmail, you probably get a boatload of generally tolerable
> > quirky behavior.
>
> Is there anything that would affect me as an SM user or SM administrator?
> (I am not the server admin, which is run by my web host.)
>
> I have been using SMTP for years, but recently I switched to Sendmail
> because it seems to solve or at least workaround a problem that was
> occurring when using SMTP.
>
>
> On 9/26/06, Paul Lesniewski <paul@...> wrote:
> > I am partial to SMTP because you get immediate feedback (on the
> > compose screen) for some types (certainly not all) of errant mails
>
> Agreed, that is a nice benefit, although not a "deal breaker" for me.
>
> > SMTP is really nice if you do things like set up a specific port for
> > your webmail senders in Postfix for which a different set of
> > restrictions/filters is applicable compared to your outward-facing
> > SMTP service/port.
>
> I don't do any of that. I simply need a way for SquirrelMail to send
> outgoing mail. Is there any reason I should avoid using Sendmail and
> instead try to uncover the source of the problem so that I can return to
> using SMTP? Or for my use, is Sendmail just as good as SMTP?
It's always good to figure out what the source of your problem is, but
if it's out of your control and you don't see any funky behavior or
slower performance or other adverse effects, then Sendmail is fine --
that's why both options are there in the end -- they both work
reasonably well.

SquirrelMail 1.4.6
PHP 4.4.4
UWIMAPD (IMAP4rev1 2004.357-cpanel)
Apache 1.3.37
CentOS 4.4
Our webserver runs as nobody.
IMAP Server Address: 127.0.0.1
SMTP Server Address: 127.0.0.1
Server side sorting is enabled
Server side thread sorting is disabled
register_globals are off for my installation, but they are on for the
rest of the server
Many plugins, including: Auto Complete; Folder Synch; Select Range; etc.
I was looking for some comparison between Sendmail and SMTP for sending
outgoing mail from the server? Are there advantages of one over the other,
or disadvantages? Are there reasons why I should use one rather than the
other for SquirrelMail?
Paul and WJCarpenter replied, and I have some follow-up questions to their
replies.
On 9/26/06, WJCarpenter <bill-squirrelmail@...> wrote:
> With sendmail, you probably get a mild efficiency improvement.
>
> With sendmail, you probably get a boatload of generally tolerable
> quirky behavior.
Is there anything that would affect me as an SM user or SM administrator?
(I am not the server admin, which is run by my web host.)
I have been using SMTP for years, but recently I switched to Sendmail
because it seems to solve or at least workaround a problem that was
occurring when using SMTP.
On 9/26/06, Paul Lesniewski <paul@...> wrote:
> I am partial to SMTP because you get immediate feedback (on the
> compose screen) for some types (certainly not all) of errant mails
Agreed, that is a nice benefit, although not a "deal breaker" for me.
> SMTP is really nice if you do things like set up a specific port for
> your webmail senders in Postfix for which a different set of
> restrictions/filters is applicable compared to your outward-facing
> SMTP service/port.
I don't do any of that. I simply need a way for SquirrelMail to send
outgoing mail. Is there any reason I should avoid using Sendmail and
instead try to uncover the source of the problem so that I can return to
using SMTP? Or for my use, is Sendmail just as good as SMTP?
Thanks guys.

Hallo all
SquirrelMail 1.5.1, Mac OS X 10.4.8, buil-in Apache and PHP.
So what I actually do is this:
I fetch email via fetchmail and hand it over to my imapd.
I read emails from my imap server and it works with
Mail.app and SquirrelMail.
I want to send emails using the smtp server of a public provider.
mail.server.net
But this server asks me to authenticate or use pop before smtp.
I prefer authentication.
So it is configured this way.
I just started yesterday installing squirrelmail on my Mac with the
built-in
apache and php.
all works fine, I can receive mail and view it.
But what I cannot send email. What I did was the following:
I ran config.pl and wanted to say that I want to use
a) smtp not sendmail
b) that my smtp server requires authentication
I could enter smtp instead of sendmail and login or none,
but where do I configure which credentials to use for
the authentication? I did not find a setting
such as smtp_user or smtp_pass.
So I tried to say: I use pop before smtp.
But where do I configure what the pop server is (it is not the same as
the
smtp one)?
The other problem I ran into was that
I could not find where I can configure different user names
and passwords. IMAP works beautifully, but when I try to access my
smtp server it uses the same credentials. But they are different.
Kay Schulz

On Mon, October 2, 2006 9:24 am, Tetrault, Arthur J. wrote:
> A big company (BigCo.com) bought the smaller company (SmallCo.com)
> for which I work. My SmallCo.com mail server has about 500 users.
> When my SmallCo.com users send email through the SquirrelMail web
> client now, I would like the "from address" for the outgoing mail to
> be user@... How can I change this for one user?
>
> If I can change this for one user, I can probably write a script to
> change all my other users. Note that the usernames do not map
> exactly; that is, JoeSmith@... might map to smithj@...
> while JaneSmith@... might map to smithja@... I can
> deal with the mapping myself. But I do not know how to set this for
> even one user.
>
> I am running SquirrelMail 1.4.2 on Red Hat Linux.
>
> Thank you very much in advance.
If you have a one-to-one relationship between the accounts on the
bigco mail server and the smallco mail server, then you can just
configure your outgoing mail server to rewrite the domains in all
headers. In Postfix, this is a simple matter of using generic(5) or
canonical(5).
If you do not have a one-to-one relationship, then you can create a
table of aliases on the incoming mail server to map from one to the
other.
That fixes things for everyone, in one go, and is something we've used
quite a bit as we move accounts from one mail server to another, while
still keeping a single e-mail namespace.
As for the actual settings in the mail client, just send everyone an
e-mail with instructions for changing their own Personal Information
settings. :)
----
Freddie Cash, LPIC-2 CCNT CCLP Helpdesk / Network Support Tech.
School District 73 (250) 377-HELP [377-4357]
fcash-ml@...

On Mon, October 9, 2006 5:59 am, Paul A. Franz, P.E. wrote:
> On Wed, October 4, 2006 4:51 am, Paul Goodyear wrote:
>> Is it possible to move Sub Folder 2 to Folder 3 in SquirrelMail?
>> Inbox
>> |-Folder1
>> |-Folder2
>> | |-Sub Folder 1
>> | |-Sub Folder 2
>> |-Folder3
> If you mean you want to put Sub Folder 2 under Folder 3 and Folder 3
> has messages in it then you have to be a bit more clever since Folders
> that have messages in them cannot have Folders in them. There is a
> Folder type just to hold Folders so here is
> what I would do.
Depends on the IMAP server. Using Cyrus IMAP, I have quite a few
folders that contain both folders and files. Using any IMAP server
that support Maildir message storage should be able to do this. It is
only the IMAP servers that use mbox message storage that cannot.
To "move" a folder into another folder simple requires:
- creating a new folder in the correct location, with a different name
- moving all the messages from the old folder to the new folder
- deleting the old folder
- renaming the new folder to the old name
----
Freddie Cash, LPIC-2 CCNT CCLP Helpdesk / Network Support Tech.
School District 73 (250) 377-HELP [377-4357]
fcash-ml@...

On 10/5/06, Jan Baggen <jbaggen@...> wrote:
>
> I'm trying to get file_manager 2.0 working on SquirrelMail 1.4.8.
> The function move_uploaded_file is trying to move the file to /
> which is not allowed.
>
> My file_manager.users:
> user1 /usr/local/squirrelmail/files/user1 1MB help@... 1 1 0
>
> PHP logging from file_manager.php:
>
> Warning: Invalid argument supplied for foreach() in
> /usr/home/s/studenten/htdocs/student/plugins/file_manager/file_manager.php
> on line 199
>
> Warning: exec() [function.exec]: Cannot execute a blank command in
> /usr/home/s/studenten/htdocs/student/plugins/file_manager/file_manager.php
> on line 1433
>
> Warning: move_uploaded_file(/MYIMAGE.bmp) [function.move-uploaded-file]:
> failed to open stream: Permission denied in
> /usr/home/s/studenten/htdocs/student/plugins/file_manager/file_manager.php
> on line 1488
>
> Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move
> '/tmp/phpwRGeCP' to '/MYIMAGE.bmp' in
> /usr/home/s/studenten/htdocs/student/plugins/file_manager/file_manager.php
> on line 1488
Are you using File Manager to be able to browse the server all the way
up to the root ("/") directory?? This is somewhat risky. If you want
to be able to upload files to / then you have to set the right
permissions to do so. Refer to the README file where it talks about
dir permisssions and ownership.

On 10/9/06, Jonathan Angliss <jon@...> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi Arthur,
> On Monday, October 02, 2006, Arthur wrote:
> > A big company (BigCo.com) bought the smaller company (SmallCo.com) for
> > which I work. My SmallCo.com mail server has about 500 users. When my
> > SmallCo.com users send email through the SquirrelMail web client now, I
> > would like the "from address" for the outgoing mail to be
> > user@... How can I change this for one user?
>
> > If I can change this for one user, I can probably write a script to
> > change all my other users. Note that the usernames do not map exactly;
> > that is, JoeSmith@... might map to smithj@... while
> > JaneSmith@... might map to smithja@... I can deal with
> > the mapping myself. But I do not know how to set this for even one
> > user.
>
> Are you using file preferences, or database preferences? If file
> preferences, you can use a simple perl one liner...
>
> perl -pi -w -e 's/smallco/bigco/ig;' *.pref
>
> This will replace all occurances of smallco with bigco
> (case-insensitive). This would need to be executed from the prefs
> folder (see $data_dir in config/config.php). Make a backup first
> obviously. If you're using database prefs, it might take a little
> more work.
If there is no email address set in user prefs, depending on the
format of the IMAP usernames, changing $domain in your configuration
file might also work.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Arthur,
On Monday, October 02, 2006, Arthur wrote:
> A big company (BigCo.com) bought the smaller company (SmallCo.com) for
> which I work. My SmallCo.com mail server has about 500 users. When my
> SmallCo.com users send email through the SquirrelMail web client now, I
> would like the "from address" for the outgoing mail to be
> user@... How can I change this for one user?
> If I can change this for one user, I can probably write a script to
> change all my other users. Note that the usernames do not map exactly;
> that is, JoeSmith@... might map to smithj@... while
> JaneSmith@... might map to smithja@... I can deal with
> the mapping myself. But I do not know how to set this for even one
> user.
Are you using file preferences, or database preferences? If file
preferences, you can use a simple perl one liner...
perl -pi -w -e 's/smallco/bigco/ig;' *.pref
This will replace all occurances of smallco with bigco
(case-insensitive). This would need to be executed from the prefs
folder (see $data_dir in config/config.php). Make a backup first
obviously. If you're using database prefs, it might take a little
more work.
- --
Jonathan Angliss
<jon@...>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32)
iD8DBQFFKxJaK4PoFPj9H3MRAs5QAJ9x9j1pZm0gMSDOF+EBkjFsVxV0MACeMfQA
6Mg38R2XydWzOZfZ5aodkw4=
=N4Kl
-----END PGP SIGNATURE-----

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Daniel,
On Monday, October 09, 2006, Daniel wrote:
> Hello,
> I am using squirrelmail 1.4.8 with dovecot IMAP server on Ubuntu 6.06.1
> server. I am using squirrelmail for having access to my mails all over the
> world, so I have some folders with more than 5000 mails (sent or some
> mailinglists). When I want to access the folder "sent" I am waiting about=
20
> seconds and my browsers (IE or FF) saying, that the site can't be shown.
> What can be the reason? In php.ini I set the maximum size of cache from
> standard 8M to 32M, so this can't be the problem.
> I am new to squirrelmail, so if you need more information about my
> installation, please let me know.
Have you checked your web server, and IMAP log files? Memory isn't
usually an issue, it's the execution time. Have you tried enabling
server side sorting in the SquirrelMail configuration? I have
mailboxes that contain many thousands of emails (my largest is now my
SM-USERS folder with close to 80k emails), and it opens just fine.
- --
Jonathan Angliss
<jon@...>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32)
iD8DBQFFKw/5K4PoFPj9H3MRAkoRAKDcocdthDTfbGq2phzFq+kmhqXTaACeJMrC
G2j53AX8JwEUVqVnkD5q7PQ=3D
=3Dok/r
-----END PGP SIGNATURE-----

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Doctor,
On Sunday, October 01, 2006, Doctor wrote:
> Hi everyone.
> I'm fighting with squirrelmail on Apache2 and Ubuntu.
> I'm getting the following error when starting Apache2. Any thoughts on
> what I can do to resolve this error would be so much appreciated.
> Thanks!
> Failed to start apache :
> * Starting apache 2.0 web server...
> Syntax error on line 1 of
> /etc/apache2/sites-enabled/squirrelmail:
> /etc/apache2/sites-enabled/squirrelmail:1: was not closed.
> ...fail!
This isn't a SquirrelMail issue at all, but an issue with the people
that packaged SquirrelMail. You should check the file mentioned to
see if there are any errors in it. SquirrelMail doesn't ship debian
specific files such as the one mention above.
- --
Jonathan Angliss
<jon@...>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32)
iD8DBQFFKxBPK4PoFPj9H3MRAgM1AJ92Gj5K1AV9Z/AGFoJ4wnlFSTi/SQCgrc45
LRWj3+eMbCWSh65/r90AUqc=
=Pm6V
-----END PGP SIGNATURE-----

Hello, first time posting here ^^
I'm trying to install the vlogin plug-in in my squirrelmail but I am getting
errors when I login the user. I would like to know if there is any how-to
about it? I have no experience with php at all and with other plug-ins
installed it was quite simple.
Any advice will be appreciated.
Regards,
--Ivan.