Re: [vchkpw] clearopensmtp fatal

2003-10-12 Thread Alexander Bruns
Hi,

  the programm clearopensmtp does not work:
 
 
  [EMAIL PROTECTED] etc]# /home/vpopmail/bin/clearopensmtp
  tcprules: fatal: unable to create ~vpopmail/etc/tcp.smtptmp.5960: file
  does not exist
  Broken pipe

 When you ./configured vpopmail, it looks like you used

 --enable-tcpserver-file=~vpopmail/etc/tcp.smtp

 when in fact you must use the full path eg

 --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp

Thanks that was my fault!

Alex




Re: [vchkpw] Vpopmail 5.3.28 + PostgreSQL missing initial sql statement

2003-10-12 Thread Michael Bowe




- Original Message - 

  From: 
  Juan Alonso 
  
  To: [EMAIL PROTECTED] 
  Sent: Friday, October 10, 2003 7:10 
  PM
  Subject: [vchkpw] Vpopmail 5.3.28 + 
  PostgreSQL missing initial sql statement
  
  Back with another bug:After installing Vpopmail 5.3.28 with 
  postgresql auth module I have to manually "create sequence vpopmail_id_seq;" 
  into the db before being able to insert a domain.If I don't do that an 
  SQL error is generated when trying to add a domain.

I spent some time looking into this 
problem

As reported, if you compile with 
--enable-postgres=y --enable-many-domains=y, then the vpopmail install will not 
work. You get the error as reported.

I cant see any reason why the vpopmail TABLE_LAYOUT 
in vpgsql.h needs to have the lines maked in bold:

  #ifdef MANY_DOMAINS#ifdef CLEAR_PASS#define TABLE_LAYOUT 
  "pw_name varchar(32) NOT NULL, \pw_domain varchar(64) NOT NULL, 
  \pw_passwd varchar(40), \pw_uid int4, pw_gid int4, \pw_gecos 
  varchar(48), \pw_dir varchar(160), \pw_shell varchar(20), 
  \pw_clear_passwd varchar(16), \id integer DEFAULT 
  nextval('\"vpopmail_id_seq\"'::text) NOT NULL, \UNIQUE(\"id\"), 
  \PRIMARY KEY(\"pw_domain\", \"pw_name\")"

I tried removing this line and it cleared the error 
you report. vpopmail still appeared to work normally. I searched the source and 
found no reference to this id column.

Does anyone know why that column is included? 



Michael.


[vchkpw] tcpserver/mysql patch with vpopmail-5.2.1

2003-10-12 Thread Karim El Chenawi
Hi folks,

I'm wondering if anyone has a patch for vpopmail-5.2.1 that disables the 
 update of the tcp.smtp.cdb file (I'm using Matt Simersons 
tcpserver-mysql patch).

I'm aware that vpopmail-5.3.20 and above has a configure option 
--enable-rebuild-tcpserver-file=n, which prevents the file from being 
rebuilt, but I would like to keep my stable version of vpopmail if 
possible...

In this message:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg08758.html
Matt Simerson seems to indicate that such a hack was posted but I'm 
unable to find it.

Thanks!

Karim.




Re: [vchkpw] vmoduser fails with --enable-postgres=y

2003-10-12 Thread Michael Bowe




  - Original Message - 
  From: 
  Juan Alonso 
  
  To: [EMAIL PROTECTED] 
  Sent: Friday, October 10, 2003 7:08 
  PM
  Subject: [vchkpw] vmoduser fails with 
  --enable-postgres=y
  Hello list,I think I've 
  found a bug with vpopmail (5.3.28) + postgresql (7.3).I have a working 
  installation of qmail+vpopmail that sends and receives emails correctly, but 
  whenever I try to modify an user account i get this error:
  mystique:~# 
  /var/external/vpopmail/bin/vadddomain test2.com lalalaNOTICE: CREATE TABLE / PRIMARY KEY will 
  create implicit index 'vpopmail_pkey' for table 'vpopmail'NOTICE: CREATE TABLE / UNIQUE will create 
  implicit index 'vpopmail_id_key' for table 'vpopmail'mystique:~# /var/external/vpopmail/bin/vadduser 
  [EMAIL PROTECTED] lalalamystique:~# /var/external/vpopmail/bin/vmoduser 
  -C lelele [EMAIL PROTECTED]Error. 
  Domain was not found in the assign fileNotice the blank space after 
  "Domain".Vpopmail 
  configure line:
  ./configure --prefix=/usr/local/external 
  --enable-postgres=y --enable-roaming-users=y --enable-pgsql-logging=y 
  --enable-clear-passwd=y [EMAIL PROTECTED] 
  --enable-vpopuser=vpopexternalSystem = debian stable + 
  linux 2.6.0-test6.Qmail has maildir++ patch applied and qmailqueue patch. 
  Apart from that its a clean installation.
I 
took a look at this

It 
is definitely a bug. The limits codein pgsql.c's vauth_getpw() is trying 
to use a malloc'ed var "in_domain" after it has been free'ed.

I 
opened a tracker on sourceforge for it [822175]

Michael.




Re: [vchkpw] clearopensmtp fatal

2003-10-12 Thread J. Kendzorra
Alexander Bruns:
  When you ./configured vpopmail, it looks like you used
 
  --enable-tcpserver-file=~vpopmail/etc/tcp.smtp
 
  when in fact you must use the full path eg
 
  --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp

 Thanks that was my fault!

Not really your fault - ./configure --help shows:
--enable-tcpserver-file=~vpopmail/etc/tcp.smtp  File where tcpserver -x 
relay information is stored.

I already sent mail to someone some time before (don't remember anything 
anymore ;), that this should be changed. Maybe a bugreport would work 
better?

Juergen




[vchkpw] Quota problems

2003-10-12 Thread Franck
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello all,

I have problem with quota on vqadmin 2.3.4 and vpopmail 5.3.9

The domain name my_domain.com have 1 bytes (~100 Mo) for quota
In this domain, i have 5 users who are 1 bytes too. I have updated all 
users from 10 Mo to 100 Mo.

But, when i'm logging in sqwebmail with one of user account, sqwebmail tell me 
that's the account have 49%.

df -h  ~vpopmail/domians/my_domain.com/my_user = 7.7 Mo :(

What's the solution ?

Regards
- -- 
Franck

http://www.linuxpourtous.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/iZkK1zwfep5k9qERAr82AKCpWs11BzcqFnzXXZHl2uvEOv9pFwCfUOUc
n/f+X6UmfZUdAkbRh1k0TMs=
=DjZN
-END PGP SIGNATURE-




[vchkpw] lib_deps and voadmin

2003-10-12 Thread Eitarou Kamo
 Hi,

I have a problem in compiling vpadmin-2.3.2.
Now I'm using the vpopmail-5.2.1. When I configured vpadmin,
next error message appeared.

==
% ./configure
configure: error: No vpopmail etc/lib_deps file. Upgrade to
vpopmail-4.9.8 or above..
%
==

There is nothing in the "/home/vpopmail/etc" directory except the
two file "tcp.smtp, tcp.smtp.cdb".

What's wrong my system or operation?
What should I do?

Any help would be appreciated.
Thanks in advance.

Eitarou

Re: [vchkpw] Quota problems

2003-10-12 Thread Tim Hasson
`rm user/Maildir/maildirsize`

after you have changed the quota.

send that user an email, then check if the quota is fixed.

If yes, then vqadmin is not deleting the old maildirsize file when changing 
quotas, which it should.

Regards,
Tim


Quoting Franck [EMAIL PROTECTED]:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Hello all,
 
 I have problem with quota on vqadmin 2.3.4 and vpopmail 5.3.9
 
 The domain name my_domain.com have 1 bytes (~100 Mo) for quota
 In this domain, i have 5 users who are 1 bytes too. I have updated
 all 
 users from 10 Mo to 100 Mo.
 
 But, when i'm logging in sqwebmail with one of user account, sqwebmail tell
 me 
 that's the account have 49%.
 
 df -h  ~vpopmail/domians/my_domain.com/my_user = 7.7 Mo :(
 
 What's the solution ?
 
 Regards
 - -- 
 Franck
 
 http://www.linuxpourtous.com
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.3 (GNU/Linux)
 
 iD8DBQE/iZkK1zwfep5k9qERAr82AKCpWs11BzcqFnzXXZHl2uvEOv9pFwCfUOUc
 n/f+X6UmfZUdAkbRh1k0TMs=
 =DjZN
 -END PGP SIGNATURE-