Re: [vchkpw] Off the Topic sqwebmail install problems on Solaris 8

2002-08-25 Thread chris



Solaris needs a " -R /path/to/various/libs/used " 
as well as the " -L " that you'll see in the Makefile. Look through the 
Makefile and add a " -R /copy/the/-L/paths/into/this/path " to wherever you see 
a " -L /some/path/to/a/library"

I know this isn't word for word... I'm in a bit of 
a hurry... if you don't get it, write back and I'll 
elaborate.

Chris Bunnell Senior Engineer - Network 
ImplementationAvantac Technologies, Inc. - Formerly Sonic Internet 
Services9719 Lincoln Village Drive #503Sacramento, CA. 95827(916) 
854-5940www.avantac.comPowered by 
Sun. My other OS is your Linux box."While others are dot flopping, 
we're not stopping."

  - Original Message - 
  From: 
  Mike Jimenez 
  To: [EMAIL PROTECTED] 
  Sent: Friday, August 23, 2002 2:17 
  PM
  Subject: [vchkpw] Off the Topic sqwebmail 
  install problems on Solaris 8
  
  
  Hello,
  I know this is not the correct 
  list for this but I cant seem to find any one on 
  sqwebmail that can help me out with my 
  problem.
  I am trying to compile 
  sqwebmail-3.3.7.20020819 with vpopmail-5.2 and my configure part goes thru 
  fine without any errors but when I run make I get the following error can any 
  offer some input as to what might be going on?
  Thanks
  
  Here is my configure 
  script
  ./configure 
  --enable-softtimeout=3600 --with-ispell=/usr/bin/ispell 
  --enable-cgibindir=/apache/cgi-bin --enable-imagedir=/apache/htdocs 
  --without-authpam --without-authuserdb --enable-webpass=no 
  --without-authpwd --without-authshadow --enable-mimetypes=/apache/conf 
  
  
  Here is my error message after 
  running make
  
  ld: fatal: 
  library -lvpopmail: not 
  found
  ld: fatal: 
  File processing errors. No output written to sqwebmail
  collect2: ld returned 1 exit status
  *** Error code 
  1
  make: Fatal 
  error: Command failed for target `sqwebmail'
  Current working directory 
  /export/home/installers/sqwebmail-3.3.7.20020819/sqwebmail
  *** Error code 
  1
  make: Fatal 
  error: Command failed for target `all-recursive'
  Current working directory 
  /export/home/installers/sqwebmail-3.3.7.20020819/sqwebmail
  *** Error code 
  1
  make: Fatal 
  error: Command failed for target 
  `all-recursive-am'
  Current working directory 
  /export/home/installers/sqwebmail-3.3.7.20020819/sqwebmail
  *** Error code 
  1
  make: Fatal 
  error: Command failed for target `all-recursive'
  
  
  =
  Mike 
  Jimenez
  System 
  Administrator
  Visual Perspectives Internet, Inc. 
  (VPI.Net)
  Tel: (949) 595-8622 -- Fax: (949) 
  595-8629
  http://www.vpi.net
  =
  


[vchkpw] vchkpw can't connect to mysql update server

2002-08-25 Thread Juan Enciso - DNSQ

Hi  friends

I am using vpopmail-5.2.1 with mysql running vchkpw authentication.
Once in a while, the qmail-send show me this error message:

2002-08-25 04:32:50.580965500 status: local 16/100 remote 0/250
2002-08-25 04:32:50.601224500 delivery 4226: deferral:
could_not_connect_to_mysql_update_server_To
o_many_connections_with_database/could_not_connect_to_mysql_update_server_To
o_many_connections/
2002-08-25 04:32:50.601241500 status: local 15/100 remote 0/250

And when I make a connection pop3 show me this:

[root@linux /root]# telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK [EMAIL PROTECTED]
user [EMAIL PROTECTED]
+OK
pass XX
could not connect to mysql update server Too many connections with database
could not connect to mysql update server Too many connections
could not create lastauth table CREATE TABLE vlog ( id BIGINT PRIMARY KEY
AUTO_I
NCREMENT,   user char(32), passwd CHAR(32),   domain CHAR(64), logon
VAR
CHAR(200),   remoteip char(18), message VARCHAR(255),   timestamp
bigint
 default 0 NOT NULL, error INT,   INDEX user_idx (user),   INDEX
domain_
idx (domain), INDEX remoteip_idx (remoteip),   INDEX error_idx (error),
INDE
X message_idx (message) )
error inserting into lastauth table
-ERR authorization failed

In order to solve this problem, I erase the table vlog using this mysql
command:
delete from vlog;
and I have shutdown qmail and mysql services.
In addition I have than fix the table vlog using the command:
myisamchk  -r -q /var/lib/mysql/vpopmail/vlog

Somebody has an idea of which it can be happening?

Thanks for your replies.
Bye






[vchkpw] vpopmail-ldap needs qmail-ldap?

2002-08-25 Thread Iain

Hi,

I was just wondering if you need qmail-ldap to run vpopmail with ldap support?

Iain.
-- 
PGP info: http://www.myspinach.org/~iain/pgpinfo.html



Re: [vchkpw] vchkpw can't connect to mysql update server

2002-08-25 Thread Dzuy Nguyen

You might want to bump up the number of connections allowed on your 
mysql server.

Juan Enciso - DNSQ wrote:

Hi  friends

I am using vpopmail-5.2.1 with mysql running vchkpw authentication.
Once in a while, the qmail-send show me this error message:

2002-08-25 04:32:50.580965500 status: local 16/100 remote 0/250
2002-08-25 04:32:50.601224500 delivery 4226: deferral:
could_not_connect_to_mysql_update_server_To
o_many_connections_with_database/could_not_connect_to_mysql_update_server_To
o_many_connections/
2002-08-25 04:32:50.601241500 status: local 15/100 remote 0/250

And when I make a connection pop3 show me this:

[root@linux /root]# telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK [EMAIL PROTECTED]
user [EMAIL PROTECTED]
+OK
pass XX
could not connect to mysql update server Too many connections with database
could not connect to mysql update server Too many connections
could not create lastauth table CREATE TABLE vlog ( id BIGINT PRIMARY KEY
AUTO_I
NCREMENT,   user char(32), passwd CHAR(32),   domain CHAR(64), logon
VAR
CHAR(200),   remoteip char(18), message VARCHAR(255),   timestamp
bigint
 default 0 NOT NULL, error INT,   INDEX user_idx (user),   INDEX
domain_
idx (domain), INDEX remoteip_idx (remoteip),   INDEX error_idx (error),
INDE
X message_idx (message) )
error inserting into lastauth table
-ERR authorization failed

In order to solve this problem, I erase the table vlog using this mysql
command:
delete from vlog;
and I have shutdown qmail and mysql services.
In addition I have than fix the table vlog using the command:
myisamchk  -r -q /var/lib/mysql/vpopmail/vlog

Somebody has an idea of which it can be happening?

Thanks for your replies.
Bye










[vchkpw] Vpopmail/qmail spam filter using SpamAssassin (and other stuff)

2002-08-25 Thread Jon Coulter

Out of my pure hatred for spam, love for qmail/vpopmail/perl, and
dislike of the complexity of all current 'spam filtering'
implementations for qmail (and/or vpopmail), I decided to write my own
perl app to do all the things I wanted (and more) when filtering email.

Using procmail and the standard spamassassin methods required patches
for qmail (seekable patch) and all kinds of other ridicules setup, and
then still didn't work with vpopmail (at least I couldn't get it to). So
I thought, Why are we hacking up source codes and changing how stuff is
processed to accomplish this? After all, qmail's mentality is chaining
programs together to complete the task, so why don't we filter this
way?

So here is my spam-filter.pl script, been in production for quite some
time with me, and I haven't had any problems. There is quite detailed
usage file ( http://www.ledscripts.com/dev/install.txt ) plus reading
the source itself will likely tell you a lot. Anyhow, you can get it at:

http://www.ledscripts.com/dev/vpopmail-spam-filter.html

Please try and comment. I really think its implementations like this
that will finally help some of us clean up our mailboxes :)

By the way, this is not something that should be used on a heavy-load
machine. If interest is high enough, I'll do something similar to what
the spamassassin people did with spamd/spamc.

Anyway, good luck!

Jon Coulter
[EMAIL PROTECTED] 




[vchkpw] qmail-default handling for non-virual users?

2002-08-25 Thread Dhiren Patel

Hi,

I'm a relatively new user to vpopmail, and I'm looking for information
on how .qmail-default is handled for normal users, i.e. users not in a
virtual domain.  I've looked in various places and have not been able to
find information on how this is handled, so I'm hoping that someone here
might be able to point me in the right direction.

The issue I'm trying to resolve is that .qmail-default doesn't seem to
be called for users who are not in one of the virtual domains.  I put a
.qmail-default file in ~vpopmail/users/username and had it forward to
a local test account to verify that it is being run, but this does not
seem to be the case.  (the ownership is vpopmail:vchkpw) The larger
problem I'm trying to solve with this is to run maildrop to filter spam
to a folder in the user's directory, but even the basic case of
forwarding mail to another user does not seem to be working.  Any
pointers would be greatly appreciated.

Thanks,

Dhiren