[vchkpw] dovecot LDA with vpopmail
hi i am using on my qmail/vpopmail installation dovecot as IMAP/POP3 server. at the moment i have only some of the users having their mail filtered through sieve/delivered to the mailbox by dovecot LDA. for this users i have added a line to their .qmail-default file file as written on http://wiki.dovecot.org/LDA/Qmail -- |/var/qmail/bin/preline -f /usr/lib/dovecot/deliver -d $...@$user this works like a charm. but i would like to have dovecots LDA used for ALL my users and i haven't found a way to activate it for EACH user without changing/creating every users .qmail-default file. as i understand, vdelivermail is delivering the mails to the users mailboxes? so i would have to say to vdelivermail that it should use dovecots deliver, or what is the right way to do that? or is it just not possible? greets thanks for help KoS !DSPAM:4a61bcca32711481919352!
[vchkpw] Re: Renaming email accounts
On 05/13/2005 08:47 PM, Jason 'XenoPhage' Frisvold wrote: same system? move their maildir to the new location. Yup... Sounds pretty easy... :) if you are using vpopmail with the mysql backend you can just move/rename the users dir and change the dir in the mysql db too... works just fine, i do it all the time... greets KoS -- Martin Kos +41-76-384-93-33 http://kos.liSay NO to HTML in mail ICQ# 13556143 Proudly running Debian GNU/Linux
[vchkpw] Re: courier-imap and vpopmail on x86_64
hi david what does pre-authlib-versions do? is it instead of courier-authlib? will it make courier-imap to work with vpopmail? sorry i meant that i use the older versions of courier-imap and sqwebmail that DON'T use the courier-authlib at all. (courier-imap 4.0.0 and sqwebmail 5.0.0). i use here courier-imap 3.0.8 and sqwebmail 4.0.7. greets KoS -- Martin Kos +41-76-384-93-33 http://kos.liSay NO to HTML in mail ICQ# 13556143 Proudly running Debian GNU/Linux
[vchkpw] Re: courier-imap and vpopmail on x86_64
hi ken I compiled vpopmail, qmail and courier-imap version 3.0.7 on an AMD 64 bit system last week with no problems at all. The only thing I had to tweak was when configuring qmailadmin, it needed an updated config.sub file. we are talking about the newer versions of courier that use the courier-authlib library! the old versions of courier that don't have a common auth library work without a problem, but the newer courier-authlib isn't possible to compile and i don't know if the problem is with the library itself or vpopmail :-( greets KoS -- Martin Kos +41-76-384-93-33 http://kos.liSay NO to HTML in mail ICQ# 13556143 Proudly running Debian GNU/Linux
[vchkpw] Re: courier-imap and vpopmail on x86_64
On 05/09/2005 09:22 PM, Ken Jones wrote: It's no problem to compile courier-authlib without authvchkpw What shall I do to install courier-imap on my x86_64 system? I have been trying different settings for 30 hours now. Please I need some help. Try not using the -fPIC flag i'm sure this won't work too! i've tried different options to get this beast to work but haven't had success and haven't got any help on this issue :-( you can check out my postings on different mailinglists. you can use the pre-authlib-versions of courier without problems greets KoS -- Martin Kos +41-76-384-93-33 http://kos.liSay NO to HTML in mail ICQ# 13556143 Proudly running Debian GNU/Linux
Re: [vchkpw] compile vpopmail with -fPIC on x86_64
hi marco i will most def. try that tonight. however i can only test on the production machine, as all my other test machines are 32bit Intels. I will let you know most def. ... should be another 2 hours or so till i can take it down again. the last time i tried to install courier-authlib and vpopmail on a amd64 was in january (the mail you've found in the archive). i've tried it again some minutes ago on my production machine (as you can try more or less without disturbing the normal users) and i've run again in the same problems: 1. compiled vpopmail with -fPIC 2. compiled courier-authlib with -fPIC the compilation of both of them worked just fine 3. started the installed authdaemon... already at the beginning i get the following: 12:30:54 pluto authdaemond: Installing libauthvchkpw 12:30:54 pluto authdaemond: /usr/local/libexec/courier-authlib/authdaemond: Symbol `read' causes overflow in R_X86_64_PC32 relocation 12:30:54 pluto authdaemond: /usr/local/libexec/courier-authlib/authdaemond: Symbol `__errno_location' causes overflow in R_X86_64_PC32 relocation 12:30:54 pluto authdaemond: /usr/local/libexec/courier-authlib/authdaemond: Symbol `__errno_location' causes overflow in R_X86_64_PC32 relocation 12:30:54 pluto authdaemond: Installation complete: authvchkpw if i try then to login with e.g. sqwebmail (5.0.1 compiled with -fPIC too) the authdaemon segfaults: 12:30:54 pluto kernel: authdaemond[966]: segfault at 2aab004016b0 rip 2aab004016b0 rsp 7fffcde8 error 14 i have no idea if this would be a problem of authdaemon or of the vpopmail libraries that the daemon uses? :-( up to now i haven't heard of anybody that has had success with courier-authlib vpopmail on a amd64 architecture :-(( regards KoS
Re: [vchkpw] courier-authlib-0.52 compile problems (AMD64 problem?)
hi oden Linking libauthvchkpw.la /usr/bin/ld: /home/vpopmail/lib/libvpopmail.a(vpopmail.o): relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC It means you have to pass -fPIC to CFLAGS when building the static vpopmail lib. ups... i think i have misunderstood it ;-) .. okay now i have recompiled vpopmail with the -fPIC flag and the courier-authlib compiled just fine.. .but after starting the authdaemon i get all the time the following errors: 13:36:14 pluto authdaemond: Installing libauthvchkpw 13:36:14 pluto authdaemond: /usr/local/libexec/courier-authlib/authdaemond: Symbol `read' causes overflow in R_X86_64_PC32 relocation 13:36:14 pluto authdaemond: /usr/local/libexec/courier-authlib/authdaemond: Symbol `__errno_location' causes overflow in R_X86_64_PC32 relocation 13:36:14 pluto authdaemond: /usr/local/libexec/courier-authlib/authdaemond: Symbol `__errno_location' causes overflow in R_X86_64_PC32 relocation do i need to compile the authdaemon with -fPIC too or what could cause this error? ... as i am not sure if it is a courier or vpopmail problem :-( regards KoS -- Martin Kos +41-76-384-93-33 http://kos.liSay NO to HTML in mail ICQ# 13556143 Proudly running Debian GNU/Linux
Re: [vchkpw] courier-authlib-0.52 compile problems (AMD64 problem?)
On Sun, 9 Jan 2005, Oden Eriksson wrote: I am sorry, but I think I need to ask you to address these problem to the proper mailinglist. i have already written to the courier-imap ML (as there is no courier-authlib ML). I have built latest vpopmail + courier-imap 3.0.8 today and experienced no problem on my amd64 machine. the problem is NOT with courier-imap but with courier-authlib 0.52 (the latest courier-imap (4.0.1) requires (and only works with) courier-authlib. all the authentification stuff has been moved to a separate package so that all courier-software has only ONE place for all the authentification configuration and updates). so i'll see if i get any hint on the courier mailinglist. but as it seems that it is an courier-authlib AND vpopmail problem it could be a lnog way to go ;-) regards KoS -- Martin Kos +41-76-384-93-33 http://kos.liSay NO to HTML in mail ICQ# 13556143 Proudly running Debian GNU/Linux
[vchkpw] courier-authlib-0.52 compile problems (AMD64 problem?)
hi has somebody already tried to compile install the new courier-authlib 0.52? (required by all new versions of courier imap/sqwebmail). i have tried with only ./configure but also with disabling all auth modules except authvchkpw. i get the following error when i try to make: Compiling authvchkpw.c authvchkpw.c: In function `auth_vchkpw_changepass': authvchkpw.c:142: warning: passing arg 1 of `parse_email' discards qualifiers from pointer target type Compiling authvchkpwlib.c Compiling preauthvchkpw.c preauthvchkpw.c: In function `auth_vchkpw_pre': preauthvchkpw.c:67: warning: passing arg 1 of `parse_email' discards qualifiers from pointer target type preauthvchkpw.c:141: warning: passing arg 3 of `vset_lastauth' discards qualifiers from pointer target type Linking libauthvchkpw.la /usr/bin/ld: /home/vpopmail/lib/libvpopmail.a(vpopmail.o): relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC /home/vpopmail/lib/libvpopmail.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[2]: *** [libauthvchkpw.la] Error 1 make[2]: Leaving directory `/usr/local/src/courier-authlib-0.52' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/courier-authlib-0.52' make: *** [all] Error 2 i have tried with ./configure LDFLAGS=-fPIC but that gives the same problem? any idea what that could be? ... the machine is an AMD64 and is running debian pure64. thanks for help regards KoS -- Martin Kos +41-76-384-93-33 http://kos.liSay NO to HTML in mail ICQ# 13556143 Proudly running Debian GNU/Linux
[vchkpw] vchkpw segfault with smtp auth on amd64
hi i've done a fresh qmail/vpopmail installation on a debian amd64 port. everything seems to work just fine, except the smtp auth. sending an email without smtp auth works just fine. but if i try it with smtp auth i get the following in my logs: kernel: vchkpw[28473] segfault at rip rsp 007fbab0 error 14 the only thing that i have found on the net is the following: http://archives.neohapsis.com/archives/openbsd/2004-05/1814.html i'm not sure if it is really a vpopmail problem. perhaps somebody has already had the same problem? i've tried with disalbing the -02 in the CFLAGS but that does not help. compiling vpopmail with gcc 3.4 was the same thing :-( if i've missed something or you need more details: just ask ;-). the startup scripts for daemontools are the same as i use on other machines. software used: vpopmail-5.4.8 netqmail-1.05 qmail-toaster-0.6-1.patch thanks for help greets KoS -- Martin Kos +41-76-384-93-33 http://kos.liSay NO to HTML in mail ICQ# 13556143 Proudly running Debian GNU/Linux
[vchkpw] sa-learn vpopmail
hi i'm using spamassasin with vpopmail (5.4.5). maildrop runs spamc from the users .qmail and uses the -u [EMAIL PROTECTED] for loading the users settings. now that works fine. but if i wanna use sa-learn to train my bayes filter, i can't set it to the right user? how do people solve this problem? thanks for help greets KoS -- Martin Kos +41-76-384-93-33 http://kos.liSay NO to HTML in mail ICQ# 13556143 Proudly running Debian GNU/Linux
Re: [vchkpw] vpopmail and qmail smtp-auth patch, cram-md5 problem
On Tue, 24 Feb 2004, Tom Collins wrote: Unfortunately, vchkpw up until 5.4.0 (final) was coded to the old, incorrect cram-md5 patch. Make sure that you re-patch qmail-smtpd with the new CRAM-MD5 patch. from README.auth: There is no need to include additionally the hostname in the call. is this new? .. i've thought there was some time ago some rumor about people that haven't added the hostname in the commandline of qmail-smtpd and have had an open relay or so? i had some time to figure out why after upgrading to vpopmail-5.4.x first the cram-md5 wasn't working and after upgrading to netqmail-1.05 with toaster-0.6.1 the whole smtp-auth thing wasn't working.. greets KoS -- Martin Kos +41-76-384-93-33 http://kos.liSay NO to HTML in mail ICQ# 13556143 Proudly running Debian GNU/Linux
Re: [vchkpw] vpopmail and qmail smtp-auth patch, cram-md5 problem
On Wed, 25 Feb 2004, Tom Collins wrote: As for upgrading vpopmail, anyone who reads the UPGRADE file should easily find this information: uuups...shame on me i was upgrading from 5.3.30 (i think) and i wasn't reading the upgrade file because i thought there were no big changes :-( .. and when the smtp auth stopped working i started reading the toaster-patch and finally found the information on the smtp-auth website ;-).. perhaps this message helps some people searching the archive for the same problem...hihi... greets KoS -- Martin Kos +41-76-384-93-33 http://kos.liSay NO to HTML in mail ICQ# 13556143 Proudly running Debian GNU/Linux
Re: [vchkpw] vpopmail and qmail smtp-auth patch, cram-md5 problem
In the old scheme: in case you miss to include the hostname, your MTA is acting as on open relay. exactly what i had in mind You should prefer reading the documentation and READMEs rather then listing to rumors. yup you're right... for the next time i should check all the README/UPGRADE files BEFORE upgrading :-) greets KoS -- Martin Kos +41-76-384-93-33 http://kos.liSay NO to HTML in mail ICQ# 13556143 Proudly running Debian GNU/Linux
Re: [vchkpw] Problems with 5.3.29
On Sun, 26 Oct 2003, Tom Collins wrote: If you use Courier-IMAP, did you recompile it after installing the new vpopmail? no i haven't had recompiled courier-IMAP after the installation because i thought it has only to do with IMAP connections or am i missing something ? Courier-IMAP links to the libvpopmail code (unlike qmail's pop3 server which uses the vchkpw program). Any time you recompile vpopmail, you should really recompile QmailAdmin, Courier-IMAP, vqAdmin, qmail-smtpd (if using the chkusr patch) and any other program that statically links to the library. i understand that i should recompile the other programs after upgrading vpopmail, but the recompile of courier-imap has nothing to do with my pop-problem? any idea what could be the problem with the denied pop-logins ? greets Martin -- Martin Kos Handy +41-76-384-93-33 http://kos.li/ICQ# 13556143Fax +49-89-244-323-681 Say NO to HTML in mail Proudly running Debian GNU/Linux. See http://www.debian.org/
Re: [vchkpw] Problems with 5.3.29
hi tom! already gone? i have a problem with the pop auth... i get for every user a pop access denied.. it's not apop. i have compiled without the roaming-user option. greets Martin -- Martin Kos Handy +41-76-384-93-33 http://kos.li/ICQ# 13556143Fax +49-89-244-323-681 Say NO to HTML in mail Proudly running Debian GNU/Linux. See http://www.debian.org/
Re: [vchkpw] Problems with 5.3.29
On Sat, 25 Oct 2003, Justin Heesemann wrote: even when you telnet to 110? yes vchkpw-pop3: pop access denied [EMAIL PROTECTED]:10.1.0.13 please give us the exact error message, and provide us with some more information about your setup (mysql/cdb/...?) i'm using vpopmail with mysql. i have compiled vpopmail with: ./configure --enable-apop=y --enable-mysql=y --enable-learn-passwords=y --enable-logging=v --enable-mysql-logging=y --enable-auth-logging=y --enable-libdir=/usr/lib i'll try to disable apop and see what happens. greets Martin -- Martin Kos Handy +41-76-384-93-33 http://kos.li/ICQ# 13556143Fax +49-89-244-323-681 Say NO to HTML in mail Proudly running Debian GNU/Linux. See http://www.debian.org/
Re: [vchkpw] Problems with 5.3.29
On Sat, 25 Oct 2003, Justin Heesemann wrote: and which version did you update from? .27 or .28, i'm not sure :-( are you still able to add new users/domains ? yes, works just fine. but i can't login via POP with the new created user :-( i've tried to do a fresh compile withou apop, but that doesn't make a difference. Martin -- Martin Kos Handy +41-76-384-93-33 http://kos.li/ICQ# 13556143Fax +49-89-244-323-681 Say NO to HTML in mail Proudly running Debian GNU/Linux. See http://www.debian.org/
[vchkpw] mailfilter problem with vpopmail
hi i know its perhaps not the right place to ask this question, but as i haven't got any response on the maildrop list and the problem is also related to vpopmail i hope that i am not the first that has this problem with vpopmail maildrop. used versions are: qmail: 1.03 (patched qmailqueue,smtp-auth) vpopmail: 5.3.20 maildrop: 1.5.2 (debian/unstable) if i set the maildrop logging level higher i get the following: 09:18:15 local prog: delivery 2871: deferral: does anybody have an idea what the problem could be? i'm going crazy with this thing :-(( greets KoS -- Forwarded message -- To: [EMAIL PROTECTED] hi i have the following mailfilter file: VPOP=|/home/vpopmail/bin/vdelivermail '' bounce-no-mailbox VHOME=`/home/vpopmail/bin/vuserinfo -d [EMAIL PROTECTED] if ( $SIZE 262144 ) { exception { xfilter /usr/bin/spamc -f -u [EMAIL PROTECTED] } } to $VPOP exit if the user exists, then everything works fine, if the user doesn't exist, vpopmail does an failure: Sorry,_no_mailbox_here_by_that_name._vpopmail_(#5.1.1)/ and the mail bounces, but sometims, and i'm not sure when this happens i get an error: deferral: Sorry,_no_mailbox_here_by_that_name._vpopmail_(#5.1.1)/maildrop:_error_writing_to_mailbox./maildrop:_Unable_to_deliver_to_mailbox./ any idea what could be wrong? is it perhaps when the bounced mail gets double bounced? thanks for help greets KoS -- Martin Kos Handy +41-76-384-93-33 http://kos.li/ICQ# 13556143Fax +49-89-244-323-681 Say NO to HTML in mail Proudly running Debian GNU/Linux. See http://www.debian.org/
Re: [vchkpw] mailfilter problem with vpopmail
sorry i've forgot the following: 09:34:34 local prog: delivery 2936: deferral: Message_start_at_44_bytes,_envelope_sender=MAILER-DAEMON/maildrop:_Attemptin g_mailfilter/Tokenized_string:_VPOP/Tokenized_=/Tokenized_string:_|/home/ vpopmail/bin/vdelivermail_''_bounce-no-mailbox/Tokenized_;/Tokenized_string :_VHOME/Tokenized_=/Tokenized_string:_`/home/vpopmail/bin/vuserinfo_-d_$EX [EMAIL PROTECTED]/Tokenized_;/Tokenized_if/Tokenized_(/Tokenized_string:_$SIZE/Toke nized_/Tokenized_string:_262144/Tokenized_)/Tokenized_;/Tokenized_{/Token ized_;/Tokenized_exception/Tokenized_{/Tokenized_;/Tokenized_xfilter/Tokeniz ed_string:_/usr/bin/[EMAIL PROTECTED]/Tokenized_;/Tokenized_}/Tokenized_ ;/Tokenized_}/Tokenized_;/Tokenized_;/Tokenized_to/Tokenized_string:_$VPOP /Tokenized_;/Tokenized_eof/mailfilter(1):_VPOP=|/home/vpopmail/bin/vdeliver mail_''_bounce-no-mailbox/maildrop:_Filtering_through_`/home/vpopmail/bin/v [EMAIL PROTECTED]/mailfilter(2):_VHOME=/mailfilter(3):_Evaluating_IF _condition./mailfilter(3):_Operation_on:_5930_and_262144_-_less_than,_result _is_1/mailfilter(3):_IF_evaluated,_result=1/mailfilter(5):_Trapping_exceptio ns./maildrop:_Filtering_through_xfilter_/usr/bin/[EMAIL PROTECTED] /mailfilter(5):_Exception_trapping_removed./maildrop:_Delivering_to_|/home/v popmail/bin/vdelivermail_''_bounce-no-mailbox/Sorry,_no_mailbox_here_by_that _name._vpopmail_(#5.1.1)/maildrop:_error_writing_to_mailbox.//usr/bin/maildr op:_Unable_to_deliver_to_mailbox./ -- Martin Kos Handy +41-76-384-93-33 http://kos.li/ICQ# 13556143Fax +49-89-244-323-681 Say NO to HTML in mail Proudly running Debian GNU/Linux. See http://www.debian.org/