[vchkpw] problem vpopmail .qmail-files, accounts
Hello, i have some problems since last week. I have qmailserver running with vpopmail for several years for different customers. Last week i add some .qmail-files (.qmail-seconduser) to an virtual domain. The mails to this useres will be copied to an existing account (regulary user). Also I add another virt. domain-alias to the exiting domain. now the problem is: if i send an email to the "second-user" the mail is copied to the regulary user. If I send an email to the regulary user, the email is copied to the default-account. Another thing. If i use vdominfo to the regulary domain it shows me 0 users, but there are more than 10 emailaccounts for this domain. For other domains this works great. So, did someone have an idea what goes wrong? Sorry for my bad english. Best regards Reinhold Roppert --- RM.ROPPERT, it management agentur Mühlstrasse 6. 89077 Ulm, Germany Fon: ++49 731 9386495, Email: [EMAIL PROTECTED]
RE: [vchkpw] off topic qmailadmin suggestion
The patch solved the problem and it now works fine. Remo Mattei Network Security Engineer cell 801-808-unix email [EMAIL PROTECTED] -Original Message- From: Tom Collins [mailto:[EMAIL PROTECTED] Sent: Monday, June 14, 2004 12:06 AM To: [EMAIL PROTECTED] Subject: Re: [vchkpw] off topic qmailadmin suggestion On Jun 12, 2004, at 9:32 PM, Remo Mattei wrote: > Tom I open it with dreamweaer and it work fine now By "work fine", do you mean that you were just able to apply the patch, or that that the patch also solved your problem? -- Tom Collins - [EMAIL PROTECTED] QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/ Info on the Sniffter hand-held Network Tester: http://sniffter.com/
[vchkpw] [OT?] dovecot-imap
Has anyone used dovecot-imap with vpopmail? I'm trying it on my home setup, with vpopmail 5.4.3, Maildir mailboxes, and squirrelmail. Has anyone had any experiencies with dovecot imap on such setup? Would you share them? :) Thanks, --Jw.
Re: [vchkpw] off topic qmailadmin suggestion
On Sun, 13 Jun 2004 23:06:25 -0700, Tom Collins <[EMAIL PROTECTED]> wrote: > > On Jun 12, 2004, at 9:32 PM, Remo Mattei wrote: > > Tom I open it with dreamweaer and it work fine now > > By "work fine", do you mean that you were just able to apply the patch, > or that that the patch also solved your problem? > > > > -- > Tom Collins - [EMAIL PROTECTED] > QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/ > Info on the Sniffter hand-held Network Tester: http://sniffter.com/ > > It would seem that he could not open the patch properly because of either: a \r\n that did not work in *nix, or \n which did not work on his Windows box. X-Istence
[vchkpw] Problems migrating servers
Hi, I am trying to migrate and old qmail/vpopmail server to a newer version on a different machine with mysql authentication, the old one is compiled without cleartext passwords.. What i did: Make a tarball of the old domains and untar in the new ~vpopmail/domains [EMAIL PROTECTED] # scp /var/qmail/users/{assign,cdb} new-qmail:/var/qmail/users/ [EMAIL PROTECTED] # scp ~vpopmail/users/vpasswd* new-qmail:/home/vpopmail/users/ on new-qmail i fixed ownerships and permissions of the abovementioned files and ran: qmail-newu ~vpopmail/bin/vconvert -c -m -d All the conversions were done successfully according to vconvert, but when i try too authenticate using credentials that _do_ work on the old one i get an authentication failure ? Could someone explain what i am doing wrong, looking at the database layout there is a encrypted _and_ an cleartext password so i assumed that authentication is still done against the encrypted one.. ? It would be a big problem if i had to give all the users a new password just because i need an hardware/software upgrade .. Thanks in advance, i hope u can enlighten me on the matter. Mark. --
Re: [vchkpw] Problems migrating servers
Ok i was trying some things and now i really don't understand what's the problem here: I took a random domain and reset the password with ./vpasswd [EMAIL PROTECTED] test123 The pw_passwd and the pw_clear_passwd fields in the database get updated normally and vuserinfo gives the correct info. Yet still not able to authenticate via qmailadmin or via pop3 next i created a new domain vadddomain test.com test123 database fields are filled and vuserinfo reflects this, now i try to authenticate and it works! But it still won't authenticate the other domains :-( How is this possible as the data layout is exactly the same for both users/domains in the database, even the encrypted password fields are the same.. Please tell me where the hidden setting is, Mark. On Monday 14 June 2004 18:04, Mark Richardson wrote: > Hi, > > I am trying to migrate and old qmail/vpopmail server to a newer version on > a different machine with mysql authentication, the old one is compiled > without cleartext passwords.. > > What i did: > Make a tarball of the old domains and untar in the new ~vpopmail/domains > [EMAIL PROTECTED] # scp /var/qmail/users/{assign,cdb} > new-qmail:/var/qmail/users/ [EMAIL PROTECTED] # scp ~vpopmail/users/vpasswd* > new-qmail:/home/vpopmail/users/ > > on new-qmail i fixed ownerships and permissions of the abovementioned files > and ran: > qmail-newu > ~vpopmail/bin/vconvert -c -m -d > > All the conversions were done successfully according to vconvert, but when > i try too authenticate using credentials that _do_ work on the old one i > get an authentication failure ? > > Could someone explain what i am doing wrong, looking at the database layout > there is a encrypted _and_ an cleartext password so i assumed that > authentication is still done against the encrypted one.. ? > > It would be a big problem if i had to give all the users a new password > just because i need an hardware/software upgrade .. > > Thanks in advance, i hope u can enlighten me on the matter. > > Mark. -- Dutch Web Services b.v. James Wattstraat 5 2809 PA Gouda Tel. +31 (0)182-69 40 00 (maandag t/m vrijdag van 09.00 uur t/m 17.30 uur) Fax. +31 (0)182-69 40 51
Re: [vchkpw] Problems migrating servers
On Jun 14, 2004, at 11:04 AM, Mark Richardson wrote: [EMAIL PROTECTED] # scp /var/qmail/users/{assign,cdb} new-qmail:/var/qmail/users/ [EMAIL PROTECTED] # scp ~vpopmail/users/vpasswd* new-qmail:/home/vpopmail/users/ You missed some key files in /var/qmail/control. Make sure you've got rcpthosts, morercpthosts, morercpthosts.cdb and virtualdomains. -- Tom Collins - [EMAIL PROTECTED] QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/ Info on the Sniffter hand-held Network Tester: http://sniffter.com/
Re: [vchkpw] User is over quota (whithout beeing over quota)
> Do note quote me on this, but i _believe_ the way to fix this is to > remove the quota file, and it should be rebuild on the next delivery. > Yes. It solved the problem. every night i run a 30 20 * * * find /var/vpopmail/domains -name maildirsize -exec rm -f {} \; from cron to remove the maildirsize files. They are growing corrupted during the time. Why i didn't applied the qmail-pop3d patch: The patch file, netqmail-maildir++.patch*, which was supposed to fix the problem, caused qmail-pop3d to duplicate the messages when the pop3 clients were trying to download them from the server. So i had to keep using the original version of the qmail-pop3d binary. Thank you, bruno. * the autor of qmail-maildir++.patch sent me this new patch called netqmail- maildir++.patch to be installed over the netqmail package. - Este e-mail foi enviado pelo Webmail Plugway http://www.plugway.com.br
Re: [vchkpw] [OT?] dovecot-imap
Hi Jean, Easy to setup and fast, very fast :) Lucas Monday, June 14, 2004, 5:49:51 PM, you wrote: JW> Has anyone used dovecot-imap with vpopmail? JW> I'm trying it on my home setup, with vpopmail 5.4.3, Maildir mailboxes, and squirrelmail. JW> Has anyone had any experiencies with dovecot imap on such JW> setup? Would you share them? :) JW> Thanks, JW> --Jw.
Re: [vchkpw] Anyone using 5.5.x in production?
On Thu, 2004-06-10 at 22:01, Tom Collins wrote: > Can anyone report on performance of the MySQL and/or Postgres > backendsin 5.5.0 or later on a production machine? I made some > significantchanges related to building SQL queries which should make > them moresecure. I also fixed some outstanding bugs in Postgres code > andconsolidated some code in MySQL and Postgres. I have been using 5.5.0 in production for about a month with the Postqresql back end. So far it has held up very well and have not had any performance/stability problems. I remember I had some problems in the beginning...but I didn't send them to the list because previous messages regarding the use of the Postgresql back end had went unanswered. Looking through my notesI had problems with --enable-pgsql-logging and --enable-valias --enable-pgsql-logging I remember, never created the appropriate table(s). When I created the table(s) by hand, it still would not log anything to it. --enable-valias I can't remember exactly what the problem was here as I didn't keep very good notes. I remember I had a problem with the 5.4.x series as well, but I would receive a different error. I couldn't create an alias that would be delivered to 2 different accounts. And I remember in the 5.5.x series, if I tried to use valias with the -s switch to look up an alias it would just print out the destination address over and over again until I sent it a ctrl-c. I believe if it didn't do that it would segfault. Sorry I do not have more specifics for you. My current configure line is: /configure --enable-clear-passwd --enable-logging=p --enable-learn-passwords --enable-qmail-ext --enable-auth-module=pgsql
[vchkpw] Logs
Hi, I'm not sure if this is the right place to pose this questions, but it seems that qmailmrtg7 doesn't have a mailing list. So, i want to monitor SPAM and virus through qmailmrtg7. Well, i'm unable to monitor both SPAM and virus. SPAM: --- What is the file to filter ? /var/spool/qmailscan/qmail-queue.log ? or /var/spool/qmailscan/quarantine.log ? If i run *as root": # /usr/local/bin/qmailmrtg7 S /var/spool/qmailscan/qmail-queue.logor #/usr/local/bin/qmailmrtg7 S /var/spool/qmailscan/quarantine.log i get this error: "failed to open dir /var/spool/qmailscan/qmail-queue.log" If i run *as root* usr/bin/mrtg /etc/mrtg/qmail.mrtg.cfg i get this error: "ERROR: Target[spamd][_IN_] ' $$target[3]{$mode} ' did not eval into defined data ERROR: Target[spamd][_OUT_] ' $$target[3]{$mode} ' did not eval into defined data WARNING: Skipping Update of spamd, inlast is not defined WARNING: Skipping Update of spamd, outlast is not defined" My file and dir permissions: drwxr-x---5 qscand qscand 4096 Jun 14 17:46 qmailscan -rw---1 qscand qscand 98086696 Jun 14 17:58 qmail-queue.log -rw---1 qscand root 43 May 30 18:18 qmail-scanner-queue-version.txt drwxrwx---5 qscand qscand 4096 May 15 21:21 quarantine -rw-r-1 qscand root12288 May 30 18:18 quarantine-attachments.db -rw-rw1 qscand qscand 4279 May 15 22:44 quarantine-attachments.txt -rw-rw1 qscand qscand 665574 Jun 14 17:49 quarantine.log drwx-- 42 qscand qscand 4096 Jun 14 17:58 tmp lrwxrwxrwx1 qscand qscand 31 May 30 18:18 viruses -> /var/spool/qmailscan/quarantine lrwxrwxrwx1 qscand qscand 35 May 30 18:18 viruses.log -> /var/spool/qmailscan/quarantine.log drwxrwx---5 qscand qscand 4096 May 15 21:21 working Anti virus: Well, it seems that qmailmrtg7 is configured for clamad. Is there a way to configure it to f-prot? - Any help would be appreciated. Warm Regards, Mário Gamito
Re: [vchkpw] Logs
qmailmrtg7 only works with multilog style logging directories. It is looking to have a directory passed to it. Then it looks for the files within the last 5 minutes using the @tai64 naming format along with the current file, and the individual timestamp entries on each line. Ken Jones On Monday 14 June 2004 06:49 pm, Mário Gamito wrote: > Hi, > > I'm not sure if this is the right place to pose this questions, but it > seems that qmailmrtg7 doesn't have a mailing list. > > So, i want to monitor SPAM and virus through qmailmrtg7. > > Well, i'm unable to monitor both SPAM and virus. > > SPAM: > > --- > > What is the file to filter ? > /var/spool/qmailscan/qmail-queue.log ? or > /var/spool/qmailscan/quarantine.log ? > > If i run *as root": > # /usr/local/bin/qmailmrtg7 S /var/spool/qmailscan/qmail-queue.logor > #/usr/local/bin/qmailmrtg7 S /var/spool/qmailscan/quarantine.log > > i get this error: > > "failed to open dir /var/spool/qmailscan/qmail-queue.log" > > > If i run *as root* > usr/bin/mrtg /etc/mrtg/qmail.mrtg.cfg > > i get this error: > > "ERROR: Target[spamd][_IN_] ' $$target[3]{$mode} ' did not eval into > defined data > ERROR: Target[spamd][_OUT_] ' $$target[3]{$mode} ' did not eval into > defined data > WARNING: Skipping Update of spamd, inlast is not defined > WARNING: Skipping Update of spamd, outlast is not defined" > > > My file and dir permissions: > > drwxr-x---5 qscand qscand 4096 Jun 14 17:46 qmailscan > -rw---1 qscand qscand 98086696 Jun 14 17:58 qmail-queue.log > -rw---1 qscand root 43 May 30 18:18 > qmail-scanner-queue-version.txt > drwxrwx---5 qscand qscand 4096 May 15 21:21 quarantine > -rw-r-1 qscand root12288 May 30 18:18 > quarantine-attachments.db > -rw-rw1 qscand qscand 4279 May 15 22:44 > quarantine-attachments.txt > -rw-rw1 qscand qscand 665574 Jun 14 17:49 quarantine.log > drwx-- 42 qscand qscand 4096 Jun 14 17:58 tmp > lrwxrwxrwx1 qscand qscand 31 May 30 18:18 viruses -> > /var/spool/qmailscan/quarantine > lrwxrwxrwx1 qscand qscand 35 May 30 18:18 viruses.log -> > /var/spool/qmailscan/quarantine.log > drwxrwx---5 qscand qscand 4096 May 15 21:21 working > > > > > > Anti virus: > > > Well, it seems that qmailmrtg7 is configured for clamad. > Is there a way to configure it to f-prot? > - > > > Any help would be appreciated. > > Warm Regards, > Mário Gamito
RE: [vchkpw] Logs
Hi Ken, > qmailmrtg7 only works with multilog style logging directories. > It is looking to have a directory passed to it. Then it looks > for the files within the last 5 minutes using the @tai64 > naming format along with the current file, and the individual > timestamp entries on each line. Does this means that is not possible to monitor SPAM and virus ? Warm Regards, Mário Gamito