Gossamer Forum
Home : Products : Gossamer Mail : Discussion :

newcomer of GM :) - a few questions

Quote Reply
newcomer of GM :) - a few questions
hi there!

i am new with gm.
currently i have everything successfully installed, a few things are here i really not understand:

first:
trying to enable mod_perl, to many errors comes back and my apache will not be more starting :(

my startup-file:
#!/usr/bin/perl

use lib '/db2/gm/admin';
use GMail::mod_perl;

my entry in the httpd.conf

<Location /xxx/gm>
SetHandler perl-script
PerlHandler Apache::Registry
PerlSendHeader On
Options +ExecCGI
</Location>
PerlRequire /xxx/gm/admin/startup.pl

with that config to many errors comes back:

Ambiguous use of {pop} resolved to {"pop"} at /db2/gm/admin/GMail/Config.pm line 277.
Ambiguous use of {pop} resolved to {"pop"} at /db2/gm/admin/GMail/Config.pm line 278.
Ambiguous use of {pop} resolved to {"pop"} at /db2/gm/admin/GMail/Config.pm line 279.
Ambiguous use of {pop} resolved to {"pop"} at /db2/gm/admin/GMail/Config.pm line 317.
Ambiguous use of length => resolved to "length" => at GT::CGI::MultiPart line 17.
Ambiguous use of {length} resolved to {"length"} at GT::CGI::MultiPart line 101.
Ambiguous use of {length} resolved to {"length"} at GT::CGI::MultiPart line 113.

and so on and so on, untill:

All scripts compiled and loaded ok!

[Wed Jun 13 22:40:45 2001] [error] /db2/gm/admin/startup.pl did not return a true value at (eval 4) line 1.

Syntax error on line 992 of /usr/local/apache/conf/httpd.conf:
/db2/gm/admin/startup.pl did not return a true value at (eval 4) line 1.

the second thing i really not unerstand:
i am running now the gm in the piped account mode, i ll try to install the pop3_auth but
it complains:

Unable to install plugin: 'You must be in individual mode to install this plugin'

does that mean i cannot run it within the piped account mode ?

thanks for your help!

greetings

chris

Quote Reply
Re: newcomer of GM :) - a few questions In reply to
Hi,

In Reply To:
Ambiguous use of {pop} resolved to {"pop"} at /db2/gm/admin/GMail/Config.pm line 277
You are running quite the old version of perl!

To silence the warnings and fix:

In Reply To:
[Wed Jun 13 22:40:45 2001] [error] /db2/gm/admin/startup.pl did not return a true value at (eval 4) line 1.
Make your startup.pl look like:

Code:
{
local $^W;
use lib '/full/path/to/gmail/admin';
use GMail::Admin;
}

1;
And it should work.

In Reply To:
does that mean i cannot run it within the piped account mode ?
No, the auth_pop3 plugin only makes sense if you are in individual mode (where each username/password represents a real pop account).

Cheers,

Alex

--
Gossamer Threads Inc.
Quote Reply
Re: newcomer of GM :) - a few questions In reply to
 
hi alex,

thanks for the answer, i expected it works also with the piped systems (pop3-server itself exist a lot)
so i not really understand why i should use :) auth_pop3, currently i use the ipop3d.
i rather expected that it works in all modes. (checking account against database.. or something like
that)

a another thing:

A fatal error has occured:

DBD::mysql::st execute failed: Fehler in der Syntax bei ',))

' in Zeile 4. at /db2/gm/admin/GT/SQL/Driver/MYSQL.pm line 68.

this error appears after deleting the content in the trash.
is it a problem with my older perl version ?

This is perl, version 5.004_04 built for i586-linux

btw: mod_perl is running fine now!

greetings

chris

Quote Reply
Re: newcomer of GM :) - a few questions In reply to
Hi,

Auth_POP3 module is useful if you want to give web access to existing pop accounts. For instance, you can install Gossamer Mail and the Auth_POP3 module and give everyone in your company access to their email accounts remotely.

Auth_POP3 assumes that the username/password of the Gossamer Mail user corresponds to an existing POP account. This does not make sense if you are piping email to incoming.pl directly.

As for the trash error, can you turn on debugging, and send me what it says?

Hope that helps,

Alex

--
Gossamer Threads Inc.
Quote Reply
Re: newcomer of GM :) - a few questions In reply to
hi alex,

thanks for the reply, okay understood the process with auth_pop3.

regarding the sql-error i thing it was a problem of my old dbd:dbi modul.

previously: DBI.pm Version: 1.08
now installed: DBI-1.18

seems to be work now.

another thing:

if i leave the delivermethode as "shared account"; the incoming.pl slows down when i send messages
with attachments...

when i execute manually incoming.pl it needs approx 10 seconds for 1 mail with attachments!
(cpu load for this time almost 100%)

also i found out, if i send a mail from "pine" with an attachment the build in pop3-client cannot pop
that mail. so if just one user send an mail with an attachment with pine, the system is not longer working
and is locked in fact of that one pined-attached email...

here the header difference:

mailbox with attachement written with pine:

--985918114-1782418198-992507234=:22962
Content-Type: TEXT/PLAIN; charset=US-ASCII

sss

--985918114-1782418198-992507234=:22962
Content-Type: APPLICATION/msword; name="vos.doc"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.4.21.0106141027140.22962@wbs2.cybercom.at>
Content-Description: s
Content-Disposition: attachment; filename="vos.doc"

0M8R4KGxGuEAAAAAAAAAAAAAAAAAAAAAPgADAP7/CQAGAAAAAAAAAAAAAAAB
AAAAaQAAAAAAAAAAEAAAawAAAAEAAAD+////AAAAAGgAAAD/////////////
////////////////////////////////////////////////////////////

header written with netscape messanger which works fine:
This is a multi-part message in MIME format.
--------------7F96662A63BE27404844305C
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

test

--------------7F96662A63BE27404844305C
Content-Type: application/msword;
name="mas-td.doc"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
filename="mas-td.doc"

0M8R4KGxGuEAAAAAAAAAAAAAAAAAAAAAPgADAP7/CQAGAAAAAAAAAAAAAAABAAAAJQAAAAAA
AAAAEAAAJwAAAAEAAAD+////AAAAACQAAAD/////////////////////////////////////
////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////


hope you can follow me what i mean, i ask if someone had already such a problem?

my popper by the way is the ipop3d, so not really seldom popper i guess.

thanks for your answer.

christian

Quote Reply
Re: newcomer of GM :) - a few questions In reply to
Hi,

Make sure you install MIME::Base64 perl module, and Digest::MD5 perl module. This can greatly improve performance (as you use the C version, rather then the perl version of these routines).

Cheers,

Alex

--
Gossamer Threads Inc.
Quote Reply
Re: newcomer of GM :) - a few questions In reply to
hi alex,

thanks for your answer,

the problem as above descriped still appears.

always i send an attachment with pine to my catchcallaccount, he locks and does not continue.
i actually had no speedimprovements. (is speedy here receommendet as well?)

thanks

chris

Quote Reply
Re: newcomer of GM :) - a few questions In reply to
Hi,

Did you install the modules? If so, can you send me shell access so I can take a look?

Cheers,

Alex

--
Gossamer Threads Inc.
Quote Reply
Re: newcomer of GM :) - a few questions In reply to
hi alex,

i have tried a fresh installation on a other box, everyting works there fine.
seems to be that i have a bad mix of modules and perl :)

i plan to setup a new box next week (faster processor better hardware)
so will leave first as it is on my testbox.

and will get in production after changing the language etc..

thanks again for your great anstwer.

christian