Re: [vchkpw] Trouble compiling under solaris 10 sparc
hello and thank you for the quick reply. i tried version 5.4.27 so for my project i will use that version. For the storage.h problem i will try to help you. commenting the line's produced following errors: make all-recursive Making all in cdb ( cat warn-auto.sh; \ echo CC=\'`head -1 conf-cc`\'; \ echo LD=\'`head -1 conf-ld`\'; \ cat find-systype.sh; \ ) | sh systype ( cat warn-auto.sh; \ echo 'main=$1; shift'; \ echo 'rm -f $main'; \ echo 'ar cr $main ${1+$@}'; \ case `cat systype` in \ sunos-5.*) ;; \ unix_sv*) ;; \ irix64-*) ;; \ irix-*) ;; \ dgux-*) ;; \ hp-ux-*) ;; \ sco*) ;; \ *) echo 'ranlib $main' ;; \ esac \ ) makelib chmod 755 makelib ( cat warn-auto.sh; \ echo exec `head -1 conf-cc` -fPIC '-c ${1+$@}' \ ) compile chmod 755 compile ( cat warn-auto.sh; \ echo 'main=$1; shift'; \ echo exec `head -1 conf-ld` \ '-o $main $main.o ${1+$@}' \ ) load chmod 755 load ( ( ./compile tryulong32.c ./load tryulong32 \ ./tryulong32 ) /dev/null 21 \ cat uint32.h2 || cat uint32.h1 ) uint32.h rm -f tryulong32.o tryulong32 ./compile cdb_hash.c ./compile cdb_unpack.c ./compile cdb_seek.c ./makelib cdb.a cdb_hash.o cdb_unpack.o cdb_seek.o ./compile cdbmake_pack.c ./compile cdbmake_hash.c ./compile cdbmake_add.c ./makelib cdbmake.a cdbmake_pack.o cdbmake_hash.o \ cdbmake_add.o gcc -I. -Icdb -I.-fPIC -g -O2 -Wall -c -o libvpopmail_a-vpopmail.o `test -f 'vpopmail.c' || echo './'`vpopmail.c gcc -I. -Icdb -I.-fPIC -g -O2 -Wall -c -o libvpopmail_a-md5.o `test -f 'md5.c' || echo './'`md5.c gcc -I. -Icdb -I.-fPIC -g -O2 -Wall -c -o libvpopmail_a-bigdir.o `test -f 'bigdir.c' || echo './'`bigdir.c gcc -I. -Icdb -I.-fPIC -g -O2 -Wall -c -o libvpopmail_a-vauth.o `test -f 'vauth.c' || echo './'`vauth.c vauth.c: In function `set_vpasswd_files': vauth.c:385: warning: int format, pid_t arg (arg 6) vauth.c: In function `vauth_setpw': vauth.c:634: warning: int format, uid_t arg (arg 5) vauth.c:634: warning: int format, gid_t arg (arg 6) vauth.c: In function `vwrite_dir_control': vauth.c:1017: warning: int format, pid_t arg (arg 5) gcc -I. -Icdb -I.-fPIC -g -O2 -Wall -c -o libvpopmail_a-file_lock.o `test -f 'file_lock.c' || echo './'`file_lock.c gcc -I. -Icdb -I.-fPIC -g -O2 -Wall -c -o libvpopmail_a-vpalias.o `test -f 'vpalias.c' || echo './'`vpalias.c gcc -I. -Icdb -I.-fPIC -g -O2 -Wall -c -o libvpopmail_a-seek.o `test -f 'seek.c' || echo './'`seek.c seek.c: In function `MakeSeekable': seek.c:65: warning: implicit declaration of function `vmin' gcc -I. -Icdb -I.-fPIC -g -O2 -Wall -c -o libvpopmail_a-vlimits.o `test -f 'vlimits.c' || echo './'`vlimits.c gcc -I. -Icdb -I.-fPIC -g -O2 -Wall -c -o libvpopmail_a-maildirquota.o `test -f 'maildirquota.c' || echo './'`maildirquota.c gcc -I. -Icdb -I.-fPIC -g -O2 -Wall -c -o libvpopmail_a-vutil.o `test -f 'vutil.c' || echo './'`vutil.c gcc -I. -Icdb -I.-fPIC -g -O2 -Wall -c -o libvpopmail_a-vlistlib.o `test -f 'vlistlib.c' || echo './'`vlistlib.c gcc -I. -Icdb -I.-fPIC -g -O2 -Wall -c -o libvpopmail_a-backfill.o `test -f 'backfill.c' || echo './'`backfill.c backfill.c: In function `remove_line': backfill.c:87: warning: int format, uid_t arg (arg 4) backfill.c:87: warning: int format, gid_t arg (arg 5) backfill.c:87: warning: unsigned int format, mode_t arg (arg 6) gcc -I. -Icdb -I.-fPIC -g -O2 -Wall -c -o libvpopmail_a-client.o `test -f 'client.c' || echo './'`client.c client.c: In function `client_connect': client.c:60: error: syntax error before numeric constant client.c:156: error: invalid lvalue in unary `' client.c:157: error: request for member `sun_family' in something not a structure or union client.c:158: error: request for member `sun_path' in something not a structure or union client.c:166: error: invalid lvalue in unary `' *** Error code 1 make: Fatal error: Command failed for target `libvpopmail_a-client.o' Current working directory /root/vpopmail-5.4.28 *** Error code 1 The following command caused the error: failcom='exit 1'; \ for f in x $MAKEFLAGS; do \ case $f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo all-recursive | sed s/-recursive//`; \ list='cdb'; for subdir in $list; do \ echo Making $target in $subdir; \ if test $subdir = .; then \ dot_seen=yes; \ local_target=$target-am; \ else \ local_target=$target; \ fi; \ (cd $subdir make $local_target) \ || eval $failcom; \ done; \ if test $dot_seen = no; then \ make $target-am || exit 1; \ fi; test -z $fail make: Fatal error: Command failed for target `all-recursive' Current working directory /root/vpopmail-5.4.28 *** Error code 1 make: Fatal error: Command failed for target `all' On Tue, Oct 6, 2009 at 3:44 PM, Matt Brookings m...@inter7.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 dave vz wrote: hello I'm having problems compiling vpopmail 5.4.28 under solaris 10 sparc. The vusage daemon is not required in 5.4.28, but you may want to try 5.4.27.
Re: [vchkpw] Vpopmail Postfix and SQL query for SMTP-Auth
Alessio Cecchi wrote: Hello, this is my situation, one qmail+vpopmail(MySQL)+dovecot server that works like an MX record and provide access on mailbox via POP3 or IMAP. Another server with postfix and SASL for SMTP-Auth only, with SASL that query the vpopmail DB for user authentication. My intention is to set a query into SASL for use the same flags for SMTP-Auth that read vpopmail and qmail. Do you run dovecot? If you do, just make use of dovecot's sasl provisions. That is supported by postfix. !DSPAM:4acc5f6032713644250262!
Re: [vchkpw] Vpopmail Postfix and SQL query for SMTP-Auth
Christopher Chan ha scritto: Alessio Cecchi wrote: Hello, this is my situation, one qmail+vpopmail(MySQL)+dovecot server that works like an MX record and provide access on mailbox via POP3 or IMAP. Another server with postfix and SASL for SMTP-Auth only, with SASL that query the vpopmail DB for user authentication. My intention is to set a query into SASL for use the same flags for SMTP-Auth that read vpopmail and qmail. Do you run dovecot? If you do, just make use of dovecot's sasl provisions. That is supported by postfix. Thanks, yes I run dovecot and I know the SASL + Postfix features, but on the qmail server, postfix is on another server. Summary: server1 qmail + vpopmail with mysql backend + dovecot with vpopmail native authentication (passdb checkpassword and args = /home/vpopmail/bin/vchkpw) server2 postfix + SASL that read users from mysql on server1 How can postfix access to dovecot SASL auth mechanis? I could install dovecot on server2, but dovecot can check vpopmail flags on when run with passdb checkpassword and args = /home/vpopmail/bin/vchkpw and in the same server with vpopmail binary. Or not? -- Alessio Cecchi is: @ ILS - http://www.linux.it/~alessice/ on LinkedIn - http://www.linkedin.com/in/alessice Assistenza Sistemi GNU/Linux - http://www.cecchi.biz/ @ PLUG - ex-Presidente, adesso senatore a vita, http://www.prato.linux.it @ LOLUG - Socio http://www.lolug.net !DSPAM:4acc68ca32712464818583!
Re: [vchkpw] chkuser and mailbox quotas
DAve wrote: Good morning, We have, for a long time now, successfully used MailScanner on our gateway servers and then routing clean mail to our pop toasters. The pop toasters are running netqmail, vpopmail 5-4-17, and chkuser 2.0.8. I am having an issue where users are going overquota and not doing anything about it until mail begins to bounce. What limits cause chkuser to switch from rcpt mailbox is overquota to not existing recipient? I am unable to find the answer, though it might be staring me in the face. Right now if a users don't fix their quota issue in time I have to manually restart milter-ahead on my MailScanner servers to clear the cache of non-existant users. Trying to understand the problem before I decide what to do about it. Thanks, DAve DOH! chkuser is behaving correctly. Seems milter-ahead caches only yes accept the message or no refuse the message. Nothing else. Once an overquota response is cached, milter-ahead responds with no user. I reduced my milter cache to one minute. I'll go get my coffee now. DAve -- Posterity, you will know how much it cost the present generation to preserve your freedom. I hope you will make good use of it. If you do not, I shall repent in heaven that ever I took half the pains to preserve it. John Quincy Adams http://appleseedinfo.org !DSPAM:4accabc532711406020917!
Re: [vchkpw] Vpopmail Postfix and SQL query for SMTP-Auth
Alessio Cecchi wrote: Christopher Chan ha scritto: Alessio Cecchi wrote: Hello, this is my situation, one qmail+vpopmail(MySQL)+dovecot server that works like an MX record and provide access on mailbox via POP3 or IMAP. Another server with postfix and SASL for SMTP-Auth only, with SASL that query the vpopmail DB for user authentication. My intention is to set a query into SASL for use the same flags for SMTP-Auth that read vpopmail and qmail. Do you run dovecot? If you do, just make use of dovecot's sasl provisions. That is supported by postfix. Thanks, yes I run dovecot and I know the SASL + Postfix features, but on the qmail server, postfix is on another server. Summary: server1 qmail + vpopmail with mysql backend + dovecot with vpopmail native authentication (passdb checkpassword and args = /home/vpopmail/bin/vchkpw) server2 postfix + SASL that read users from mysql on server1 How can postfix access to dovecot SASL auth mechanis? I could install dovecot on server2, but dovecot can check vpopmail flags on when run with passdb checkpassword and args = /home/vpopmail/bin/vchkpw and in the same server with vpopmail binary. Or not? Eh? What version of dovecot are you running? dovecot can directly link into vpopmail. Install vpopmail on server2, point it to the mysql server, compile and install a dovecot version above 1.0 (prefereably latest) and compile and install a version of postfix that can make use of dovecot's sasl provision. Quite a bit of fiddling I know... postfix main.cf smtpd_sasl_type = dovecot smtpd_sasl_path = private/auth (under postfix spool directory - need to set this in dovecot.conf in the auth section under client subsection) smtpd_sasl_auth_enable = yes Read the SASL_README file for dovecot stuff: Building Postfix with Dovecot SASL support These instructions assume that you build Postfix from source code as described in the INSTALL document. Some modification may be required if you build Postfix from a vendor-specific source package. Support for the Dovecot version 1 SASL protocol is available in Postfix 2.3 and later. At the time of writing, only server-side SASL support is available, so you can't use it to authenticate to your network provider's server. Dovecot uses its own daemon process for authentication. This keeps the Postfix build process simple, because there is no need to link extra libraries into Postfix. To generate the necessary Makefiles, execute the following in the Postfix top- level directory: % make makefiles CCARGS='-DUSE_SASL_AUTH - DDEF_SERVER_SASL_TYPE=\dovecot\' After this, proceed with make as described in the INSTALL document. Notes: * The -DDEF_SERVER_SASL_TYPE stuff is not necessary; it just makes Postfix configuration a little more convenient because you don't have to specify the SASL plug-in type in the Postfix main.cf file. * If you also want support for LDAP or TLS, you will have to merge their CCARGS and AUXLIBS into the above command line. !DSPAM:4acd44cd32715512521434!