Re: [vchkpw] vpopmail + mysql + sqwebmail
on 12/22/02 5:37 PM, Hugo Escobar <[EMAIL PROTECTED]> wrote: > authdaemond is running. > > Any ideas? One thing comes to mind... I did not look at your specific problem, but in everything I've seen when using sqwebmail with vpopmail says you should NOT use authdaemon. I've seen numerous problems from people who are doing it, and always the solution is to re-compile sqwebmail with: --with-authvchkpw --without-authdaemon Kill off the troublesome daemon, and use vchkpw authentication only. Rick
Re: [vchkpw] vpopmail + mysql + sqwebmail
On Mon, 2002-12-23 at 00:17, Kurt Bigler wrote: > on 12/22/02 5:37 PM, Hugo Escobar <[EMAIL PROTECTED]> wrote: > > > > > Hi list: > > > > Sorry if this is off-topic but the sqwebmail ml-manager seems to be > > discarding message postings. > > > > This is what I have so far: > > > > Vpopmail+mysql working fine. > > > > $ telnet 110 > > > > always works for all the virtualdomains. > > > > > > When it comes to the SqWebMail part, everything compiles, installs, etc. > > but when I try to log in I get the following message: > > > > Internal error (module sqconfig.c, line 63) - contact system > > administrator > > I don't have the same version of sqwebmail as you, but it looks like this > might be a problem opening the sqconfig file (whatever that is) for writing. > The error is likely to be a failure at this point in the C code: > > f=fopen(p, "w"); > if (!f) enomem(); > > enomem is a macro that generates the error message you see with the file > name and line number. fopen is what is failing. > > So if you can figure out that that configuration file might be, I suppose it > might be a permission problem with that file, the directory containing it, > or the user/group that one of the sqwebmail applications is running under. > > Sorry can't look into this more right now - hoping that might give you a > clue. > Yes, indeed that file is one of the files that store "session" information related to the user. The name of the file is "sqwebmail-ip" and this is supposed to be created in the directory ~vpopmail/domains///Maildir. The problem is that when the function gets called, the first parameter should be "~vpopmail/domains///Maildir", but the function only receives ".", in other words, sqwebmail is trying to create the file at the root directory. So I guess I should dig deeper into the source code. > > > > Configuration information: > > > > vpopmail-5.2.1 > > mysql Ver 11.15 Distrib 3.23.41, for redhat-linux-gnu (i386) > > sqwebmail-3.4.0.20021212 > > > > relevant line in the /usr/local/share/sqwebmail/authdaemonrc: > > authmodulelist="authcustom authvchkpw" > > > > authdaemond is running. > > > > Any ideas? > > > > Hugo > > > > > > > > > > > > > > > > > > > > > > > > >
Re: [vchkpw] vpopmail + mysql + sqwebmail
on 12/22/02 5:37 PM, Hugo Escobar <[EMAIL PROTECTED]> wrote: > > Hi list: > > Sorry if this is off-topic but the sqwebmail ml-manager seems to be > discarding message postings. > > This is what I have so far: > > Vpopmail+mysql working fine. > > $ telnet 110 > > always works for all the virtualdomains. > > > When it comes to the SqWebMail part, everything compiles, installs, etc. > but when I try to log in I get the following message: > > Internal error (module sqconfig.c, line 63) - contact system > administrator I don't have the same version of sqwebmail as you, but it looks like this might be a problem opening the sqconfig file (whatever that is) for writing. The error is likely to be a failure at this point in the C code: f=fopen(p, "w"); if (!f) enomem(); enomem is a macro that generates the error message you see with the file name and line number. fopen is what is failing. So if you can figure out that that configuration file might be, I suppose it might be a permission problem with that file, the directory containing it, or the user/group that one of the sqwebmail applications is running under. Sorry can't look into this more right now - hoping that might give you a clue. > > Configuration information: > > vpopmail-5.2.1 > mysql Ver 11.15 Distrib 3.23.41, for redhat-linux-gnu (i386) > sqwebmail-3.4.0.20021212 > > relevant line in the /usr/local/share/sqwebmail/authdaemonrc: > authmodulelist="authcustom authvchkpw" > > authdaemond is running. > > Any ideas? > > Hugo > > > > > > > > > > >
Re: [vchkpw] vpopmail + mysql + sqwebmail
on 12/22/02 5:37 PM, Hugo Escobar <[EMAIL PROTECTED]> wrote: > > Hi list: > > Sorry if this is off-topic but the sqwebmail ml-manager seems to be > discarding message postings. > > This is what I have so far: > > Vpopmail+mysql working fine. > > $ telnet 110 > > always works for all the virtualdomains. > > > When it comes to the SqWebMail part, everything compiles, installs, etc. > but when I try to log in I get the following message: > > Internal error (module sqconfig.c, line 63) - contact system > administrator Maybe it would help if you would post line 63 of sqconfig.c and the context around it, i.e. maybe lines 40 through 90 or so. (If you don't know C you can perhaps still try to judge from visual organization of the code where is a good place to start and stop.) Then even people with different versions or without ml-manager might be able to help you, or you may save the expert a trip to the source. > Configuration information: > > vpopmail-5.2.1 > mysql Ver 11.15 Distrib 3.23.41, for redhat-linux-gnu (i386) > sqwebmail-3.4.0.20021212 > > relevant line in the /usr/local/share/sqwebmail/authdaemonrc: > authmodulelist="authcustom authvchkpw" > > authdaemond is running. > > Any ideas? > > Hugo > > > > > > > > > > >
[vchkpw] vpopmail + mysql + sqwebmail
Hi list: Sorry if this is off-topic but the sqwebmail ml-manager seems to be discarding message postings. This is what I have so far: Vpopmail+mysql working fine. $ telnet 110 always works for all the virtualdomains. When it comes to the SqWebMail part, everything compiles, installs, etc. but when I try to log in I get the following message: Internal error (module sqconfig.c, line 63) - contact system administrator Configuration information: vpopmail-5.2.1 mysql Ver 11.15 Distrib 3.23.41, for redhat-linux-gnu (i386) sqwebmail-3.4.0.20021212 relevant line in the /usr/local/share/sqwebmail/authdaemonrc: authmodulelist="authcustom authvchkpw" authdaemond is running. Any ideas? Hugo
Re: [vchkpw] -Err aack,child crashed
Oohh, yes, you're correct. No problem anymore, thanks a lot. Sorry :D > [EMAIL PROTECTED] > writes: > > #/var/qmail/bin/qmail-pop FQDN /home/vpopmail/bin/vchkpw > > user john > > OK > > pass doe > > -Err aack,child crashed > > That's not how it should be invoked, nor is it even the right program name: > > /var/qmail/bin/qmail-popup fqdn /home/vpopmail/bin/vchkpw > /var/qmail/bin/qmail-pop3d Maildir > > > But i can still access the mailbox via webmail or offline pop3 reader > > (outlook), the real email account can send and receive properly but > > for virtual mail account, only send, cannot recive (the log is > > there's no mailbox with that name). > > That doesn't provide us with any useful information. Please provide the > complete, unedited output of qmail-showctl and the relevant unedited log > file lines. Don't use terms like ``real email account'' and ``virtual mail > account''. Tell us exactly what is going on. > > -- > David Phillips &lang=en">[EMAIL PROTECTED]> > http://david.acz.org/ - PT QUASAR CIPTA MANDIRI, http://www.quasar.co.id
[vchkpw] Blocking passwords = account name
Is possible block passwords with the same name account? For example: Account: [EMAIL PROTECTED] Password : paul -- Hadad mailto:[EMAIL PROTECTED]
Re: [vchkpw] Segmentation Fault
I've checked the /var/qmail/users/assign thoroughly, nothing is strange there. Here's the output of /var/qmail/users/assign (neutered to hide the innocent) [NOTE: this is originally with NO Linewraps, my email client may add wraps) [root@mail users]# cat /var/qmail/users/assign +domain1.com-:domain1.com:508:503:/home/vpopmail/domains/domain1.com:-:: +domain2.com-:domain2.com:508:503:/home/vpopmail/domains/domain2.com:-:: +domain2.net-:domain2.net:508:503:/home/vpopmail/domains/domain2.com:-:: +domain3.com-:domain3.com:508:503:/home/vpopmail/domains/domain3.com:-:: +domain4.com-:domain4.com:508:503:/home/vpopmail/domains/domain4.com:-:: +domain5.com-:domain5.com:508:503:/home/vpopmail/domains/domain5.com:-:: +domain6.com-:domain6.com:508:503:/home/vpopmail/domains/domain6.com:-:: +domain7.com-:domain7.com:508:503:/home/vpopmail/domains/domain7.com:-:: . --- EOF -- Note: The (.) period at the end is also in the orignal file. Do I need to run a CDB or somthing to compile this file maybe? Steve Sobka [EMAIL PROTECTED] - Original Message - From: "Bill Shupp" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, December 22, 2002 10:34 AM Subject: Re: [vchkpw] Segmentation Fault > > Check the contents of /var/qmail/users/assign. It's likely that the > problem is there. > > Regards, > > Bill Shupp > > >
Re: [vchkpw] Segmentation Fault
On Sunday, December 22, 2002, at 10:36 AM, Steve Sobka wrote: Hello all, My Setup: RedHat 7.3+Vpopmail 5.3.11-(MySql)+qmail-1.03+qmailadmin-1.0.6+qmail-scanner-1.15+vqadmin- 2.3.4+ SpamAssassin-2.43 I have a somewhat strange problem that just started occurring. As of a few days ago my vpopmail started giving me segmentation faults whenever I try to use 'vadddomain'. I have added two programs to the system (Spamassassin and qmail-scanner), but I don't think either of these programs would cause the Segmentation Fault when trying to add a domain. I was thinking of recompiling qmail now, but I am not sure this would help? I am wondering if I have some sort of corruption somewhere? I've included my settings at the end of this message. BTW, I can add/delete/modify/delete current users and domains. I can also add new users to domains with no problems. It's just adding a new domain that segfaults. The segmentation fault happens as follows: Check the contents of /var/qmail/users/assign. It's likely that the problem is there. Regards, Bill Shupp
[vchkpw] Segmentation Fault
Hello all, My Setup: RedHat 7.3+Vpopmail 5.3.11-(MySql)+qmail-1.03+qmailadmin-1.0.6+qmail-scanner-1.15+vqadmin-2.3.4+ SpamAssassin-2.43 I have a somewhat strange problem that just started occurring. As of a few days ago my vpopmail started giving me segmentation faults whenever I try to use 'vadddomain'. I have added two programs to the system (Spamassassin and qmail-scanner), but I don't think either of these programs would cause the Segmentation Fault when trying to add a domain. I was thinking of recompiling qmail now, but I am not sure this would help? I am wondering if I have some sort of corruption somewhere? I've included my settings at the end of this message. BTW, I can add/delete/modify/delete current users and domains. I can also add new users to domains with no problems. It's just adding a new domain that segfaults. The segmentation fault happens as follows: --- [root@mail bin]# ./vadddomain testing.com Please enter password for postmaster: enter password again: Segmentation fault [root@mail bin]# --- Here's what I have tried to fix the problem (1a-1d): 1) Searched mailing list, tried each of the following from what others suggested in earlier messages with similar/same problem: 1a) Running 'vadddomain' as either the root user or vpopmail user and neither works. Both give Segmentation Fault. 1b) Tried recompiling vpopmail as follow: make distclean ./configure --enable-roaming-users=y --enable-logging=y --enable-learn-pass words=y --enable-clear-passwd=y --enable-defalt-domain=fuzzylinux.net --enab le-mysql --enable-defaultquota=20M make make install-strip 1c) Checked permissions of the /var/qmail/users/assign file [root@mail vpopmail-5.3.11]# ls -all /var/qmail/users/ total 16 drwxr-xr-x2 root qmail4096 Dec 22 10:07 . drwxr-xr-x 11 root qmail4096 Dec 22 09:56 .. -rw-r--r--1 root qmail1201 Dec 19 19:05 assign -rw---1 root root0 Dec 22 10:07 assign.lock -rw-r--r--1 root root 3566 Dec 22 10:06 cdb 1d) I tried compiling vqadmin and it works great, I can modify users, add users to existing domains, but when I try to add a new domain it craps out. - My current settings: vpopmail 5.3.11 Current settings --- vpopmail directory = /home/vpopmail uid = 508 gid = 503 ip alias = OFF --enable-ip-alias-domains=n (default) address extentions = OFF --enable-qmail-ext=n (default) roaming users = ON --enable-roaming-users=y tcpserver file = /home/vpopmail/etc/tcp.smtp open_smtp file = /home/vpopmail/etc/open-smtp user quota = 20M -enable-hardquota=20M auth module = mysql --enable-mysql=y mysql replication = OFF --enable-mysql-replication=n default table optimization = many domains --enable-many-domains=y default system passwords = OFF --enable-passwd=n default file locking = ON --enable-file-locking=y default file sync = OFF --enable-file-sync=n default disable vdelivermail fsync make seekable = ON --enable-make-seekable=y default auth logging = ON --enable-auth-logging=y default mysql logging = OFF --enable-mysql-logging=n default clear passwd = ON --enable-clear-passwd=y (default) users big dir = ON --enable-users-big-dir=y (default) valias processing = OFF --enable-valias=n mysql limits = OFF --enable-mysql-limits=n default pop syslog = show successful and failure login attempts --enable-logging=y default domain = --enable-default-domain= auth inc = -I/usr/include/mysql auth lib = -L/usr/lib/mysql -lmysqlclient -lz --- [root@mail vpopmail-5.3.11]# ls -all /home/vpopmail/ total 60 drwxr-xr-x9 vpopmail vchkpw 4096 Dec 21 10:20 . drwxr-xr-x7 root root 4096 Dec 20 23:14 .. drwxr-xr-x2 vpopmail vchkpw 4096 Dec 22 09:07 bin drwxr-xr-x4 vpopmail vchkpw 4096 Dec 15 12:29 doc drwx-- 14 vpopmail vchkpw 4096 Dec 22 09:54 domains drwxr-xr-x2 vpopmail vchkpw 4096 Dec 22 10:33 etc drwxr-xr-x2 vpopmail vchkpw 4096 Dec 15 12:29 include drwx--2 root root 4096 Dec 15 12:29 lib -rw---1 vpopmail vchkpw 3920 Dec 21 10:15 mailfilter drwx--2 vpopmail root 4096 Dec 22 10:30 .spamassassin [root@mail vpopmail-5.3.11]# ls -all /var/qmail/ total 48 drwxr-xr-x 11 root qmail4096 Dec 22 09:56 . drwxr-xr-x 24 root root 4096 Dec 15 21:29 .. drwxr-sr-x2 aliasqmail4096 Dec 22 09:59 alias drwxr-xr-x2 root qmail4096 Dec 22 10:00 bin drwxr-xr-x2 root qmail4096 Dec 15 12:11 boot drwxr-xr-x2 root qmail4096 Dec 22 10:03 control drwxr-xr-x2 root qmail4096 Dec 15 12:11 doc drwxr-xr-x 10 root qmail4096 Dec 15 12:11 man drwxr-x--