SV: [vchkpw] .qmail file with users with dot

2003-06-13 Thread Jonas Thomsen
 Hi, i´m using Qmail+Vpopmail+TMDA.
 TMDA is used for controling spam.
 The problem is that .qmail files works ok for users like 
 [EMAIL PROTECTED],  
 [EMAIL PROTECTED], 
 [EMAIL PROTECTED] but when i use 
 [EMAIL PROTECTED] qmail ignores the .qmail 
 file and uses the .qmail-default file.
 
 So in this case, TMDA is not used for filtering mail and all 
 mails passes to Maildirs. All my email addresses have  
 [EMAIL PROTECTED] .
 
 Anyone as any idea?
 Thanks,

On my system, those .qmail files have a : instead of a .. The .qmail
files have been generated by qmailadmin.


- Jonas





SV: [vchkpw] dir-control table does not exist

2003-06-11 Thread Jonas Thomsen
 I've just migrated from vpopmail 5.2.1 using CDB til vpopmail 
 5.3.21 using MySql. On my testserver this went just fine, but 
 when I did the same on the production server, dir-control is 
 somehow lost. There is no 'dir-control' table in the database. 
 Everything works fine (as far as I can see). Users can pick 
 up their mail via both POP3 and IMAP, and mail are delivered 
 correctly too. 
 
 Can anyone tell me what is going on? Is this a big problem, 
 that the dir-control isn't there? What can I do to bring it in?

There has come more info on the problem: I have created a new domain
after the migration and this have caused the dir_control table to be
created. However, the table only contains info on this single new
domain. All the old ones are not in the dir_control.

I would be glad if someone could point me in the right direction, as I
have no clue on how to solve the problem (yes, it seems like deleting
all existing domains and the recreating them would do it, but that is
not an option).

I have searched the archive, but I didn't find anything on this subject.

Thanks in advance!


- Jonas





[vchkpw] dir-control table does not exist

2003-06-11 Thread Jonas Thomsen
Hi!

I've just migrated from vpopmail 5.2.1 using CDB til vpopmail 5.3.21
using MySql. On my testserver this went just fine, but when I did the
same on the production server, dir-control is somehow lost. There is no
'dir-control' table in the database. 
Everything works fine (as far as I can see). Users can pick up their
mail via both POP3 and IMAP, and mail are delivered correctly too. 

Can anyone tell me what is going on? Is this a big problem, that the
dir-control isn't there? What can I do to bring it in?



Kind regards,

Jonas Thomsen,
JT-COM
Eugen Warmings Vej 37, 1. th. - DK-8000 Aarhus C.
Tlf. +45 87 30 16 10 - Fax: +45 87 30 16 11
http://www.jt-com.dk 





[vchkpw] Bug in vconvert?

2003-06-08 Thread Jonas Thomsen
Hi all!

I've just migrated from vpopmail 5.2.1 using CDB to vpopmail 5.3.20
using MySql. During this migration I discovered a small bug in vconvert.
When running 'vconvert -c -m', vconvert reads the
/var/qmail/users/assign file, which on my system ends with a line
containing a .\n When vconvert reaches this line, the check for
tmpbuf[1] != '\n' in line 120 fails, but this does not stop the next
line (conv_domain( tmpbuf[1] )) from being executed. Of course this
does not work - it tries to convert a domain called \n. My fix is the
following code:

if ( tmpbuf[1] != '\n' ) {
  printf(converting %s ..., tmpbuf[1] );
if ( conv_domain( tmpbuf[1] ) != 0 ) {
printf(domain conversion failed\n);
} else {
printf(done\n);
}
}

Is there a problem with this fix?



Kind regards

Jonas Thomsen,
JT-COM
Eugen Warmings Vej 37, 1. th. - DK-8000 Aarhus C.
Tlf. +45 87 30 16 10 - Fax: +45 87 30 16 11
http://www.jt-com.dk 





SV: [vchkpw] could not connect to mysql update server Access denied for user

2003-06-05 Thread Jonas Thomsen
  Sounds to me like you are missing a quotation mark in vmysql.h from 
  one of the #define lines that you modified to set the sql 
  username/password
 No Actually due to the MYSQL_UPADTE error which occured quite 
 often when i was compiling vpopmail i commented those lines 
 and i forgot to uncomment in in the next run. After doing 
 that the problem got resolved and evey mysql started 
 connecting to it but now it started giving me one more error. 
 When i do this :
 
 /home/vpopmail/bin/vadduser [EMAIL PROTECTED] webmaster
 vmysql: sql error[3]: Table 'vpopmail.mydomain_com' doesn't exist
 vmysql: sql error[3]: Table 'vpopmail.mydomain_com' doesn't exist
 vmysql: sql error[3]: Table 'vpopmail.mydomain_com' doesn't exist
 
 The database vpopmail is still Empty and no tables are there. 
 How do i fill up the datanbase with the required tables ?

It sounds like you are missing a 'vadddomain mydomain.com
postmaster_password' -- that will create the needed table.


- Jonas






SV: [vchkpw] vpopmail bug? (was Re: 5.2+ vdelivermail doesn't read .qmail)

2003-01-29 Thread Jonas Thomsen

 ON Fri, Jan 24, 2003 at 05:07:00PM -0600, Michael Burns wrote: 
  I've noticed that vdelivermail in vpopmail 5.2 and (probably up to
  and including) 5.3.14 doesn't process any .qmail file at its second
  argument when that argument is a directory path.
  
  Shouldn't vdelivermail check the delivery directory for a 
 .qmail file 
  before dumping the message into the Maildir/ directory?
 
 Can somebody verify that this is a vpopmail bug? The 
 practical problem here is that qmailadmin creates per-user 
 .qmail files to support forwards which vdelivermail ignores.

I have the same problem, but I haven't verified that it is a vpopmail
bug.

 I can provide a patch if necessary.

I would be interested in that! Thanks in advance!


Regards,

Jonas Thomsen






Re: [vchkpw] vacation and aliases

2003-01-13 Thread Jonas Thomsen
 -Oprindelig meddelelse-
 I have an account with about 2 or 3 aliases.
 When I enable the vacation-program which comes with vpopmail
 5.3.8 and QmailAdmin 1.0.6.

 The vacation works for the main-address, but not for the
 aliases. The aliases are also added the normal way. I guess
 the problem is this:
 /home/vpopmail/domains/domain.com/username/Maildir/

 I have a thought that if I use vdelivermail or forward, it
 would work, but I haven't tested this yet, mostly because the
 style i reffered to is the standard way of creating an
 alias... but then the vacation-message won't show when people
 mail to the alias addresses...

 Has anyone looked into this?

I have the exact same problem and I suspect the same to be responsible. I am
also curious to know if anyone as a better solution than disallowing aliases
and just allow forwards? I had a quite angry customer on the phone
complaining about this :)


Regards,

Jonas Thomsen,
JT-COM