[vchkpw] RE : [vchkpw] Webmail question

2003-08-19 Thread Hannes Widmer


Jump   Cybernet (Schweiz) AG

Hannes Widmer

Junior System Engineer
Cybernet Hostmaster
Schaffhauserstrasse 560
Postfach
CH-8052 Zuerich

Tel. +41 (0)1 306'46'46
Fax. +41 (0)1 306'95'96

email [EMAIL PROTECTED]

http://www.cybernet.ch

   


 



-Original Message-
From: Hannes Widmer [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 19, 2003 10:31 AM
To: 'Sébastien Bourgasser'
Subject: RE: [vchkpw] RE : [vchkpw] Webmail question


Hi Sebastien


Thanks for your replay..


The Demo Site of Horde is down. Do you know a 
other location to take a view of it?...


Thx

Hannes Widmer

Sebastien BOURGASSER wrote:


 Hi,
 
 I'm using IMP with imap. I find it nice. Look at http://www.horde.org
 
 Best regards,
 

  
  Hi Darcy
  
  
  Thanks for your verry fast reply *s*... I know sqwebmail and i 
  testetd but my problem is that I'm not a good Programmer and so it's

  difficult for me and sqwebmail is nice, but the look needs to be 
  changed or are here any templates?

 
 
 




[vchkpw] Help please, double message

2003-08-19 Thread Mailing Lists
Hi folks, need an help.
I set up my qmail-vpopmail system to filter mail via maildrop. So i put
this two lines in my .qmail-default file

| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox 
| /usr/bin/maildropmailfilter

Where mailfilter is my mail filter file that moves spam messages in a
different folder.
The problem is that in this manner all messages are sent twice in
mailbox.

Obviously, removing the firt line solve the problem, but invalid
addresses are no more notified.

TIA
Ciao
Gianni




Re: [vchkpw] RE : [vchkpw] Webmail question

2003-08-19 Thread Paul Theodoropoulos
another alternative is TWIG - http://twig.screwdriver.net . nice clean 
interface, and lots of functionality.

personally, i hated installing Horde/IMP - there's about a hundred and one 
dependencies, so i spent a couple of days installing all manner of little 
programs that IMP requires just to compile the damn thing.

i offer my customers four webmail interfaces to choose from (Squirrel, IMP, 
TWIG, and sqwebmail)...

At 01:31 AM 8/19/2003, Hannes Widmer wrote:

Hi Sebastien

Thanks for your replay..

The Demo Site of Horde is down. Do you know a
other location to take a view of it?...
Thx

Hannes Widmer

Sebastien BOURGASSER wrote:

 Hi,

 I'm using IMP with imap. I find it nice. Look at http://www.horde.org

 Best regards,

 
  Hi Darcy
 
 
  Thanks for your verry fast reply *s*... I know sqwebmail and i
  testetd but my problem is that I'm not a good Programmer and so it's
  difficult for me and sqwebmail is nice, but the look needs to be
  changed or are here any templates?



Paul Theodoropoulos
http://www.anastrophe.com




[vchkpw] Re: Help please, double message

2003-08-19 Thread Paul L. Allen

Mailing Lists writes:

 Hi folks, need an help.
 I set up my qmail-vpopmail system to filter mail via maildrop. So i put
 this two lines in my .qmail-default file
 
 | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox 
 | /usr/bin/maildropmailfilter
 

[...]
 Obviously, removing the firt line solve the problem, but invalid
 addresses are no more notified.

As yet there is no official solution to having user mail filters
automatically acted upon, but one is being worked on.  An interim
solution is to create a .qmail file in the user's directory (e.g.,
/home/vpopmail/domains/your.domain/user/.qmail with the line

  | /usr/bin/maildrop .mailfilter

Note that this .qmail file is NOT processed if mail is delivered
to the Maildir by an alias.  Qmailadmin generates aliases which
deliver direct to the Maildir (.qmail-user contains a path to the
Maildir) although this will change (has changed?) so that qmailadmin
crates aliases which actually work like forwards so that the users'
.qmail file is always processed.

An unofficial solution for use with vpopmail and the filters created by 
sqwebmail, is as follows.  You may be able to adapt it to whatever you're
using.  Basically, the patch means that if there is no .qmail file in the 
user's directory but it finds a .mailfilter file then it pretends that
it found a .qmail file containing the line shown in the interim solution.
If you're not using sqwebmail to generate filters then you'll have to
modify it accordingly.

1) Create /usr/local/share/sqwebmail/maildirfilterconfig (that's the
default location, you may have told sqwebmail to put its shared stuff
elsewhere) with the lines:

  MAILDIRFILTER=../.maildirfilter
  MAILDIR=./Maildir  

2) In vdelivermail.c, replace the function (and comments preceding it)
with this:

/* Check if the vpopmail user has a .qmail file in thier directory
 * and foward to each email address, Maildir or program that is found
 * there in that file.  If there is no .qmail file but there is a
 # .mailfilter file then invoke maildrop on the filter file.
 *
 * Return: 1 if we found and delivered email using .qmail or .mailfilter
 *   : 0 if not found either .qmail or .mailfilter
 *   : -1 if no user .qmail file or .mailfilter file
 *
 */
int check_forward_deliver(char *dir)
{
 static char qmail_line[500];
 char tmpbuf[500];
 FILE *fs;
 int i;
 int return_value = 0;
 int deliver_err;
   
chdir(dir);

/* format the file name */
if ( (fs = fopen(.qmail,r)) == NULL ) {

/* no .qmail file, so check for .mailfilter */
if ( (fs = fopen(.mailfilter,r)) == NULL ) {
   
/* no .qmail or .mailfilter file, so return -1 */
return(-1);
}
   
/* there was no .qmail file but there was a .mailfilter
 * file so invoke maildrop */
   
   strcpy(tmpbuf, | /usr/local/bin/maildrop .mailfilter);
   deliver_err = deliver_mail(tmpbuf, NOQUOTA);
   if (deliver_err == -2) {
  printf(system error\n);
  vexit(111);
  } else if (deliver_err == -3) {
  printf(mail is looping\n);
  vexit(111);
  }
  return(1);
}

/* format a simple loop checker name */
snprintf(tmpbuf, 500, [EMAIL PROTECTED], TheUser, TheDomain);

/* read the file, line by line */
while ( fgets(qmail_line, 500, fs ) != NULL ) {
if (*qmail_line == '#') continue;

/* remove the trailing new line */
for(i=0;qmail_line[i]!=0;++i) {
if (qmail_line[i] == '\n') qmail_line[i] = 0;
}

/* simple loop check, if they are sending it to themselves
 * then skip this line
 */
if ( strcmp( qmail_line, tmpbuf) == 0 ) continue;

deliver_err = deliver_mail(qmail_line, NOQUOTA);
if (deliver_err == -2) {
printf(system error\n);
vexit(111);
} else if (deliver_err == -3) {
printf(mail is looping\n);
vexit(111);
}
return_value = 1;
}

/* close the file */
fclose(fs);

/* return if we found one or not */
return(return_value);
}

-- 
Paul Allen
Softflare Support



Re: [vchkpw] RE : [vchkpw] Webmail question

2003-08-19 Thread Charles Sprickman
On Tue, 19 Aug 2003, Paul Theodoropoulos wrote:

 another alternative is TWIG - http://twig.screwdriver.net . nice clean
 interface, and lots of functionality.

Does TWIG have a plugin system like squirrelmail?  I'm leaning towards
exclusively going with squirrelmail, as I've found a number of
vpopmail-specific plugins.  I have an sql password changer, and now a
handy SpamAss pref page.  All I have to make myself is a spam filter
on/off toggle and a vacation/forward mechanism.  I like the idea of having
the user just login to one interface rather than making them hop between
webmail and qmailadmin...

Charles

 personally, i hated installing Horde/IMP - there's about a hundred and one
 dependencies, so i spent a couple of days installing all manner of little
 programs that IMP requires just to compile the damn thing.

 i offer my customers four webmail interfaces to choose from (Squirrel, IMP,
 TWIG, and sqwebmail)...

 At 01:31 AM 8/19/2003, Hannes Widmer wrote:

 Hi Sebastien
 
 
 Thanks for your replay..
 
 
 The Demo Site of Horde is down. Do you know a
 other location to take a view of it?...
 
 
 Thx
 
 Hannes Widmer
 
 Sebastien BOURGASSER wrote:
 
 
   Hi,
  
   I'm using IMP with imap. I find it nice. Look at http://www.horde.org
  
   Best regards,
  
 
   
Hi Darcy
   
   
Thanks for your verry fast reply *s*... I know sqwebmail and i
testetd but my problem is that I'm not a good Programmer and so it's
 
difficult for me and sqwebmail is nice, but the look needs to be
changed or are here any templates?
 
  
  
  

 Paul Theodoropoulos
 http://www.anastrophe.com







[vchkpw] RE : [vchkpw] Webmail question

2003-08-19 Thread Juan Enciso Condeña
Squirrelmail use very CPU usage, I did have performance problem with this
package
I don't recommend webmail based php and perl.
They don't work with very users, they have very problems with thousand
account.
You should use sqwebmail or another webmail based in C language.

Somebody know others webmail based in C++?

- Original Message -
From: Charles Sprickman [EMAIL PROTECTED]
To: Paul Theodoropoulos [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, August 19, 2003 1:57 PM
Subject: Re: [vchkpw] RE : [vchkpw] Webmail question


 On Tue, 19 Aug 2003, Paul Theodoropoulos wrote:

  another alternative is TWIG - http://twig.screwdriver.net . nice clean
  interface, and lots of functionality.

 Does TWIG have a plugin system like squirrelmail?  I'm leaning towards
 exclusively going with squirrelmail, as I've found a number of
 vpopmail-specific plugins.  I have an sql password changer, and now a
 handy SpamAss pref page.  All I have to make myself is a spam filter
 on/off toggle and a vacation/forward mechanism.  I like the idea of having
 the user just login to one interface rather than making them hop between
 webmail and qmailadmin...

 Charles

  personally, i hated installing Horde/IMP - there's about a hundred and
one
  dependencies, so i spent a couple of days installing all manner of
little
  programs that IMP requires just to compile the damn thing.
 
  i offer my customers four webmail interfaces to choose from (Squirrel,
IMP,
  TWIG, and sqwebmail)...
 
  At 01:31 AM 8/19/2003, Hannes Widmer wrote:
 
  Hi Sebastien
  
  
  Thanks for your replay..
  
  
  The Demo Site of Horde is down. Do you know a
  other location to take a view of it?...
  
  
  Thx
  
  Hannes Widmer
  
  Sebastien BOURGASSER wrote:
  
  
Hi,
   
I'm using IMP with imap. I find it nice. Look at
http://www.horde.org
   
Best regards,
   
  

 Hi Darcy


 Thanks for your verry fast reply *s*... I know sqwebmail and i
 testetd but my problem is that I'm not a good Programmer and so
it's
  
 difficult for me and sqwebmail is nice, but the look needs to be
 changed or are here any templates?
  
   
   
   
 
  Paul Theodoropoulos
  http://www.anastrophe.com
 
 
 
 






Re: [vchkpw] RE : [vchkpw] Webmail question

2003-08-19 Thread Paul Theodoropoulos
At 02:22 PM 8/19/2003, Juan Enciso Condeña wrote:
Squirrelmail use very CPU usage, I did have performance problem with this
package
I don't recommend webmail based php and perl.
They don't work with very users, they have very problems with thousand
account.
You should use sqwebmail or another webmail based in C language.
Somebody know others webmail based in C++?
while i agree that php/perl based products use more CPU, it's not helpful 
to say that they _don't_ work with very [many] users, as it's simply 
untrue. I'm running squirrelmail and it runs just fine - on a Sun Ultra 2 
200mhz. not exactly a speed demon. i *am* using a software PHP accelerator, 
and there's no good reason for anyone to run squirrelmail without one - it 
dramatically reduces CPU demand.

squirrelmail is debateably the best webmail client around. My customers 
prefer it by a large margin over the other three webmail interfaces i offer 
(as mentioned before, TWIG, IMP, and sqwebmail). sqwebmail is frankly quite 
lame in my opinion. it's extremely thin on features, as apparently the 
author considers features to be bugs. the performance benefit of a webmail 
client that acts directly on the maildir is offset by the dreary, 
featureless interface.

imnshfo

Paul Theodoropoulos
http://www.anastrophe.com




[vchkpw] mysql gone away. Please help a noob.

2003-08-19 Thread jon kutassy
I'd like to get vpopmail working with authenticating against mysql... I have 
a working version of mysql that Id rather not break:

Excuse me if I include too much info : Im not sure what is and isnt 
relevent:

mysql  Ver 12.21 Distrib 4.0.14, for pc-linux (i686)
Server version: 4.0.14-standard
Protocol version:   10
Connection: Localhost via UNIX socket
UNIX socket:/var/lib/mysql/mysql.sock
I compiled with ./configure --enable-mysql=y

when I run add domain I get:

Please enter password for postmaster:
enter password again:
could not connect to mysql update server Access denied for user: 
'[EMAIL PROTECTED]' (Using password: YES) with database
could not connect to mysql update server Access denied for user: 
'[EMAIL PROTECTED]' (Using password: YES)
vmysql: sql error[c]: MySQL server has gone away
vmysql: sql error[b]: MySQL server has gone away
vmysql: sql error[3]: MySQL server has gone away

I have a database called vpopmail and a user vpopmail that has (I believe 
got access to this db).. but looking at this error message makes me 
wonder... does  Access denied for user:  mean that the database has been 
found just that its not allowing the user to authenticate?

Im lost..

Regards

Jon

_
Express yourself with cool emoticons - download MSN Messenger today! 
http://www.msn.co.uk/messenger




Re: [vchkpw] mysql gone away. Please help a noob.

2003-08-19 Thread Dave Richardson - Lists
did you configure for your mysql user/password in vmysql.h?  if not, 
amend the entries and recompile.
also, did you create the tables or check that they were created?
did you allow mysql access from within mysql?
did you 'flush priviledges' to make the privs stick in mysql?

Good luck

jon kutassy wrote:

I'd like to get vpopmail working with authenticating against mysql... 
I have a working version of mysql that Id rather not break:

Excuse me if I include too much info : Im not sure what is and isnt 
relevent:

mysql  Ver 12.21 Distrib 4.0.14, for pc-linux (i686)
Server version: 4.0.14-standard
Protocol version:   10
Connection: Localhost via UNIX socket
UNIX socket:/var/lib/mysql/mysql.sock
I compiled with ./configure --enable-mysql=y

when I run add domain I get:

Please enter password for postmaster:
enter password again:
could not connect to mysql update server Access denied for user: 
'[EMAIL PROTECTED]' (Using password: YES) with database
could not connect to mysql update server Access denied for user: 
'[EMAIL PROTECTED]' (Using password: YES)
vmysql: sql error[c]: MySQL server has gone away
vmysql: sql error[b]: MySQL server has gone away
vmysql: sql error[3]: MySQL server has gone away

I have a database called vpopmail and a user vpopmail that has (I 
believe got access to this db).. but looking at this error message 
makes me wonder... does  Access denied for user:  mean that the 
database has been found just that its not allowing the user to 
authenticate?

Im lost..

Regards

Jon

_
Express yourself with cool emoticons - download MSN Messenger today! 
http://www.msn.co.uk/messenger







Re: [vchkpw] mysql gone away. Please help a noob.

2003-08-19 Thread Rick Macdougall
Hi,

jon kutassy wrote:

I'd like to get vpopmail working with authenticating against mysql... I 
have a working version of mysql that Id rather not break:

Excuse me if I include too much info : Im not sure what is and isnt 
relevent:

mysql  Ver 12.21 Distrib 4.0.14, for pc-linux (i686)
Server version: 4.0.14-standard
Protocol version:   10
Connection: Localhost via UNIX socket
UNIX socket:/var/lib/mysql/mysql.sock
I compiled with ./configure --enable-mysql=y

when I run add domain I get:

Please enter password for postmaster:
enter password again:
could not connect to mysql update server Access denied for user: 
'[EMAIL PROTECTED]' (Using password: YES) with database
could not connect to mysql update server Access denied for user: 
'[EMAIL PROTECTED]' (Using password: YES)
vmysql: sql error[c]: MySQL server has gone away
vmysql: sql error[b]: MySQL server has gone away
vmysql: sql error[3]: MySQL server has gone away
Did you correctly give the user access?  As in [EMAIL PROTECTED] and 
not just vpopmail ? (or what ever username you are using).

Regards,

Rick





Re: [vchkpw] mysql gone away. Please help a noob.

2003-08-19 Thread jon kutassy
Thanks for the replies.

I've been following Michael  Bowe's excellent documentation on setting 
this up.

http://www.pipeline.com.au/staff/mbowe/isp/webmail-server.htm (I hope he 
doesnt mind the link)

I took the windoze approach and restarted mysql, and its all working fine!!

Thanks everyone for your input!!

did you configure for your mysql user/password in vmysql.h?  if not, amend 
the entries and recompile.
also, did you create the tables or check that they were created?
did you allow mysql access from within mysql?
did you 'flush priviledges' to make the privs stick in mysql?

Good luck

jon kutassy wrote:

I'd like to get vpopmail working with authenticating against mysql... I 
have a working version of mysql that Id rather not break:

Excuse me if I include too much info : Im not sure what is and isnt 
relevent:

mysql  Ver 12.21 Distrib 4.0.14, for pc-linux (i686)
Server version: 4.0.14-standard
Protocol version:   10
Connection: Localhost via UNIX socket
UNIX socket:/var/lib/mysql/mysql.sock
I compiled with ./configure --enable-mysql=y

when I run add domain I get:

Please enter password for postmaster:
enter password again:
could not connect to mysql update server Access denied for user: 
'[EMAIL PROTECTED]' (Using password: YES) with database
could not connect to mysql update server Access denied for user: 
'[EMAIL PROTECTED]' (Using password: YES)
vmysql: sql error[c]: MySQL server has gone away
vmysql: sql error[b]: MySQL server has gone away
vmysql: sql error[3]: MySQL server has gone away

I have a database called vpopmail and a user vpopmail that has (I believe 
got access to this db).. but looking at this error message makes me 
wonder... does  Access denied for user:  mean that the database has been 
found just that its not allowing the user to authenticate?

Im lost..

Regards

Jon

_
Express yourself with cool emoticons - download MSN Messenger today! 
http://www.msn.co.uk/messenger




v

_
On the move? Get Hotmail on your mobile phone http://www.msn.co.uk/msnmobile



Re: [vchkpw] mysql gone away. Please help a noob.

2003-08-19 Thread Doug Clements
You probably didn't run 'flush privelages' after adding the vpopmail user.

--Doug

- Original Message - 
From: jon kutassy [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 19, 2003 4:27 PM
Subject: Re: [vchkpw] mysql gone away. Please help a noob.


 Thanks for the replies.

 I've been following Michael  Bowe's excellent documentation on setting
 this up.

 http://www.pipeline.com.au/staff/mbowe/isp/webmail-server.htm (I hope he
 doesnt mind the link)

 I took the windoze approach and restarted mysql, and its all working
fine!!

 Thanks everyone for your input!!


 did you configure for your mysql user/password in vmysql.h?  if not, amend
 the entries and recompile.
 also, did you create the tables or check that they were created?
 did you allow mysql access from within mysql?
 did you 'flush priviledges' to make the privs stick in mysql?

 Good luck

 jon kutassy wrote:

 I'd like to get vpopmail working with authenticating against mysql... I
 have a working version of mysql that Id rather not break:
 
 Excuse me if I include too much info : Im not sure what is and isnt
 relevent:
 
 mysql  Ver 12.21 Distrib 4.0.14, for pc-linux (i686)
 Server version: 4.0.14-standard
 Protocol version:   10
 Connection: Localhost via UNIX socket
 UNIX socket:/var/lib/mysql/mysql.sock
 
 I compiled with ./configure --enable-mysql=y
 
 when I run add domain I get:
 
 Please enter password for postmaster:
 enter password again:
 could not connect to mysql update server Access denied for user:
 '[EMAIL PROTECTED]' (Using password: YES) with database
 could not connect to mysql update server Access denied for user:
 '[EMAIL PROTECTED]' (Using password: YES)
 vmysql: sql error[c]: MySQL server has gone away
 vmysql: sql error[b]: MySQL server has gone away
 vmysql: sql error[3]: MySQL server has gone away
 
 I have a database called vpopmail and a user vpopmail that has (I believe
 got access to this db).. but looking at this error message makes me
 wonder... does  Access denied for user:  mean that the database has
been
 found just that its not allowing the user to authenticate?
 
 Im lost..
 
 Regards
 
 Jon
 
 _
 Express yourself with cool emoticons - download MSN Messenger today!
 http://www.msn.co.uk/messenger
 
 



 v

 _
 On the move? Get Hotmail on your mobile phone
http://www.msn.co.uk/msnmobile







[vchkpw] Re: mysql gone away. Please help a noob.

2003-08-19 Thread Paul L. Allen

Hi 

jon kutassy writes:

 I took the windoze approach and restarted mysql, and its all working 
 fine!!

Which has the same effect as the suggestion in an earlier reply:
flush privileges, but results in a longer outage of mysql.  An
alternative to doing flush privileges from the mysql client is
to do a mysqladmin flush-privileges (or mysqladmin reload which
means the same thing but is less typing).

And you didn't use the Windows approach.  The Windows approach is
to reboot the computer any time you make a change.  In fact, the
Windows approach is to force a reboot upon you any time you make even
a trivial change to the configuration.

I suspect the day is not far off when Windows will report You have
changed a critical configuration flag by toggling the caps-lock key.  
Windows must reboot now.  Followed in a  future release by Windows has 
detected that the position of the mouse has changed and must reboot. (oh,
my mistake - that last feature has been in Windows all along, it just 
fails to work most of the time and when it does work you think it's
a random crash).  BTW, does anyone know if Microsoft-owned Hotmail is
still using qmail despite Bill's repeated attempts to force them to
switch to Exchange? :) 

-- 
Paul Allen
Softflare Support