[vchkpw] Bus error
hi everyone. I have installed vpopmail-5.2.2 + openldap-2.1.25 on solaris 9. And I run the vadddoamin command. but I receive the message Unable to chdir to vpopmail/users directory. So, I edit slapd.conf and add allow bind_v2. I try to run the vadddoamin command. but I can't add domain into ldap database. the error is bus error (core dumped). how can I add domain into ldapserver ? Any Ideas? # ./configure \ --enable-roaming-users=n \ --enable-clear-passwd=y \ --enable-md5-passwords=n \ --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp \ --enable-relay-clear-minuts=30 \ --enable-default-domain=fuma.com \ --enable-ip-alias-domains=n \ --enable-qmail-ext=n \ --enable-ldap=y loading cache ./config.cache checking for a BSD compatible install... ./install-sh -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... (cached) yes checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for working makeinfo... missing checking host system type... sparc-sun-solaris2.9 checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for ranlib... (cached) ranlib checking for strerror in -lcposix... (cached) no checking how to run the C preprocessor... (cached) gcc -E checking for AIX... no yes Solaris install detected. Using extralibflags for linking: -R checking for crypt in -lcrypt... (cached) yes checking for gethostbyaddr in -lnsl... (cached) yes checking for getsockname in -lsocket... (cached) yes checking for dirent.h that defines DIR... (cached) yes checking for opendir in -ldir... (cached) no checking for ANSI C header files... (cached) yes checking for unistd.h... (cached) yes checking for sys/varargs.h... (cached) yes checking for working const... (cached) yes checking for size_t... (cached) yes checking whether struct tm is in sys/time.h or time.h... (cached) time.h checking for getcwd... (cached) yes checking for mkdir... (cached) yes checking for strdup... (cached) yes checking for strstr... (cached) yes checking for fdatasync... (cached) no checking for sigaction... (cached) yes creating ./config.status creating Makefile creating config.h config.h is unchanged vpopmail 5.2.2 Current settings --- vpopmail directory = /export/home/vpopmail uid = 89 gid = 89 ip alias = OFF --enable-ip-alias-domains=n (default) address extentions = OFF --enable-qmail-ext=n (default) roaming users = OFF --enable-roaming-users=n default user quota = OFF --enable-defaultquota=NOQUOTA 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 auth logging = ON --enable-auth-logging=y default mysql logging = OFF --enable-mysql-logging=n default clear passwd = ON --enable-clear-passwd=y (default) valias processing = OFF --enable-valias=n pop syslog = show only failure attempts --enable-logging=e default default domain = fuma.com --enable-default-domain=fuma.com auth inc = -I/usr/local/include auth lib = -L/usr/local/lib -lldap -llber -lresolv -- _ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail
Re: [vchkpw] Re: Problem with qmail-scanner
At 03/02/04 22:20 (), Peter Palmreuther wrote: Hello Andrea, On Tuesday, February 3, 2004 at 4:06:55 PM you wrote (at least in part): An easier solution should be to add the following to your qmail-smtpd/run file: export QMAIL_QUEUE=/var/qmail/bin/qmail-scanner-queue And then restart qmail-smtpd. First: Make the above 'QMAILQUEUE=...', without the underscore. In this case, I apply the qmail-scanner-queue for the emails from LAN or loopback (127.). I wouldn't, better I could not would that. Insert 127.:allow,RELAYCLIENT=,QMAILQUEUE=/var/qmail/bin/qmail-queue 129.168.1.:allow,RELAYCLIENT=,QMAILQUEUE=/var/qmail/bin/qmail-queue to your 'tcp.smtp' file that is merged with 'open-smtp' (the 127. should already be there, so simply modify it). Ain't that hard, isn't it? Mine patch works only with open-smtp connections, not at all. What what are most of your connections? foreigners from out there and open-smtp users? And don't you want exactly their mails to be run through qmail-scanner? So create a few rules for the exceptions (connections from 127. and LAN) and hit the rest by a 'export QMAILQUEUE' DEFAULT. Why is better the qmail-smtpd/run change? The I patch vpopmail as little as necessary to achieve something I can do without patching. Simply because it is easily preserved across vpopmail updates, while the other one requires repatching every time a new vpopmail is released (and requires the original author to adjust the patch maybe every time a new version is released). -- Best regards Peter Palmreuther This message is already too long - no tagline pleasack! In my Case I am using smtp-auth patch from http://www.fehcom.de/qmail/smtpauth.html and it is calling spamassassin for the authenticated users sending out mails. Perhaps the RELAYCLIENT is not set for authenticated users. Is anyone has clues to stop passing the control to spamc in case of authenticated users. I am using: QMAILQUEUE=/var/qmail/bin/qmail-scanner-queue.pl export QMAILQUEUE in /var/qmail/supervise/qmail-smtpd/run script. Devendra Singh
Re: [vchkpw] Re: Problem with qmail-scanner
At 16:04 06.02.04 +0530, Devendra Singh wrote: At 03/02/04 22:20 (), Peter Palmreuther wrote: Hello Andrea, On Tuesday, February 3, 2004 at 4:06:55 PM you wrote (at least in part): An easier solution should be to add the following to your qmail-smtpd/run file: export QMAIL_QUEUE=/var/qmail/bin/qmail-scanner-queue And then restart qmail-smtpd. First: Make the above 'QMAILQUEUE=...', without the underscore. In this case, I apply the qmail-scanner-queue for the emails from LAN or loopback (127.). I wouldn't, better I could not would that. Insert 127.:allow,RELAYCLIENT=,QMAILQUEUE=/var/qmail/bin/qmail-queue 129.168.1.:allow,RELAYCLIENT=,QMAILQUEUE=/var/qmail/bin/qmail-queue to your 'tcp.smtp' file that is merged with 'open-smtp' (the 127. should already be there, so simply modify it). Ain't that hard, isn't it? Mine patch works only with open-smtp connections, not at all. What what are most of your connections? foreigners from out there and open-smtp users? And don't you want exactly their mails to be run through qmail-scanner? So create a few rules for the exceptions (connections from 127. and LAN) and hit the rest by a 'export QMAILQUEUE' DEFAULT. Why is better the qmail-smtpd/run change? The I patch vpopmail as little as necessary to achieve something I can do without patching. Simply because it is easily preserved across vpopmail updates, while the other one requires repatching every time a new vpopmail is released (and requires the original author to adjust the patch maybe every time a new version is released). -- Best regards Peter Palmreuther This message is already too long - no tagline pleasack! In my Case I am using smtp-auth patch from http://www.fehcom.de/qmail/smtpauth.html and it is calling spamassassin for the authenticated users sending out mails. Perhaps the RELAYCLIENT is not set for authenticated users. No. In case of valid SMTP Authentication, the $RELAYCLIENT environment variable is set (but empty). See man qmail-smtpd (at the end). Is anyone has clues to stop passing the control to spamc in case of authenticated users. I am using: QMAILQUEUE=/var/qmail/bin/qmail-scanner-queue.pl export QMAILQUEUE in /var/qmail/supervise/qmail-smtpd/run script. regards. --eh. Dr. Erwin Hoffmann | FEHCom | http://www.fehcom.de/ Wiener Weg 8, 50858 Cologne | T: +49 221 484 4923 | F: ...24
[vchkpw] Re: Problem with qmail-scanner
Hello Devendra, On Friday, February 6, 2004 at 11:34:34 AM you wrote (at least in part): [QMAILUEUE RELAYCLIENT] In my Case I am using smtp-auth patch from http://www.fehcom.de/qmail/smtpauth.html Don't know which version you're using, as I don't know when this site first listed 0.4.2. If you're using 0.31 it does not set RELAYCLIENT for authenticated users, 0.4.2 should do set it. and it is calling spamassassin for the authenticated users sending out mails. Perhaps the RELAYCLIENT is not set for authenticated users. Quite easy to check: 'strings /var/qmail/bin/qmail-smtpd |less' and search for 'RELAYCLIENT='. -- Best regards Peter Palmreuther How do you tell when you run out of invisible ink?
[vchkpw] user authentication fails
Hi all. We have qmail-vpopmail-qmailadmin mail server with mysql. There were no problems about authentication of users. A few days ago the problems occured. Users can not log in to pop server. When I looked at the logs I saw the below line: Feb 5 11:55:54 server vpopmail[20400]: vchkpw: vpopmail user not found [EMAIL PROTECTED] What can be the problem? And what to do for solution? Could you please help me? Thanks... Ender
Re: [vchkpw] user authentication fails
Hello Ender, Friday, February 6, 2004, 5:02:23 PM, you wrote: E Hi all. E We have qmail-vpopmail-qmailadmin mail server with mysql. There were no E problems about authentication of users. A few days ago the problems E occured. Users can not log in to pop server. When I looked at the logs I E saw the below line: E Feb 5 11:55:54 server vpopmail[20400]: vchkpw: vpopmail user not found E [EMAIL PROTECTED] E What can be the problem? And what to do for solution? Could you please E help me? Thanks... E Ender Please, be more detailed. Is MySQL running? Have this user logged before or haven't??? What version of Vpopmail? Any changes in client soft??? -- Best regards, Andrewmailto:[EMAIL PROTECTED]
Re[2]: [vchkpw] user authentication fails
Hello Ender, Friday, February 6, 2004, 5:23:23 PM, you wrote: E Hello. E Yes MySQL is running. And the users have loged in before. The version of E qmailadmin is 1.0.2 and version of vpopmail is 5.2 And I also checked E the mysql table named vlog. The message column says that vchkpw: login E success [EMAIL PROTECTED]:213.15... and the error column has value E 2. Is this info is usefull for solution. Thanks... E Ender According to vlog.h #define VLOG_AUTH 2 /*logs a successful authentication*/ So, auth is OK. Could you check permissions on home dir of user May be vpopmail don't have permissions Try to check other system logs -- Best regards, Andrewmailto:[EMAIL PROTECTED]
Re: [vchkpw] vpopmail and postgresql error on valias
On Feb 4, 2004, at 2:25 AM, Vpopmail Mailinglist wrote: hi guys.. im getting a error when i try to create an alias on vpopmail 5.4.0.. im getting : lx0007:/usr/src/vpopmail-5.4.0# /var/qmail/vpopmail/bin/valias -i [EMAIL PROTECTED] [EMAIL PROTECTED] vpgsql:sql error[n]:ERROR: parser: parse error at or near ( at character 112 vpgsql: sql error[j]: ERROR: Relation valias does not exist vpgsql:sql error[n]:ERROR: parser: parse error at or near ( at character 112 vpgsql: sql error[k]: ERROR: Relation valias does not exist any idea ? I got that too. The errors say the relation valias does not exist ... using vconvert ... [EMAIL PROTECTED]:etc # setuidgid vpopmail vconvert -c -m vpgsql:sql error[n]:ERROR: syntax error at or near ( at character 112 vpgsql: sql error: ERROR: relation valias does not exist ... And when delivering mail (qmail-send) ... 2004-02-06 15:58:04.366286500 starting delivery 1: msg 311219 to local [EMAIL PROTECTED] 2004-02-06 15:58:04.366296500 status: local 1/10 remote 0/20 2004-02-06 15:58:04.366299500 starting delivery 2: msg 311219 to remote [EMAIL PROTECTED] 2004-02-06 15:58:04.366303500 status: local 1/10 remote 1/20 2004-02-06 15:58:04.488389500 delivery 1: success: vpgsql:sql_error[n]:ERROR: __syntax_error_at_or_near_(_at_character_112//vpgsql:_sql_error[j]: _ERROR:__relation_valias_does_not_exist//did_0+0+1/ 2004-02-06 15:58:04.489176500 status: local 0/10 remote 1/20 2004-02-06 15:58:05.671511500 delivery 2: success: 63.121.160.34_accepted_message./Remote_host_said: _250_ok_1076104694_qp_42069/ -jason