Re: [vchkpw] Farewell
Hi Micheal, Best of luck on your new endeavors. Also thanks for vpopmail - been using it for many years and have implemented 40+ sites with qmail+vpopmail - great suite for using virtual and multiple accounts. Best of luck. Rgds. Otto.. Michael Bowe wrote: I thought I would drop a note to the list to say farewell. Many years ago I used to own an ISP that used vpopmail+MySQL for all our email hosting. I wrote a mailserver guide which became quite popular. ( It is currently hosted at http://www.bowe.id.au/michael/isp/webmail-server.htm ) As I found vpopmail bugs or limitations I submitted patches to the developers. When vpopmail moved to sourceforge, I was given full developer access. I then spent a fair bit of time trying to improve the included documentation. I cleaned up and documented a lot of the source code. I also remember having fun cleaning up the configure script. Tom Collins even popped in one day to say hello when he was on holidays in my neck of the woods (Australia). Was great to meet him in person. My vpopmail contributions have dropped away in recent years, because my ISP was bought by a larger company and I went on to work for them. They used Postfix not vpopmail. I still tinkered with vpopmail a bit, because I had built many small vpopmail servers for customers along the way Now I am about to switch jobs and work for a new ISP, and they also use Postfix. So guess this new job will cut my final ties to vpopmail. There's no doubt in my mind that Postfix kicks some serious qmail butt. However even as a Postfix fan, I am the first to admit that vpopmail is a great set of tools for vmail style hosting. Its a shame that qmail never progressed past v1.03. Back in those days we didnt even have spam or virus problems, let alone need to worry about SMTP-AUTH, TLS etc. I'll be unsubscribing from this list a few days time. I wanted to say thanks to all the developers who have contributed to vpopmail along the way. And also a big thankyou to people who used by mailserver guide and sent me feedback over the years. Michael.
[vchkpw] [chkuser] - CHKUSER_SENDER_MX
Hi, I hope I have the corrent mail list. I have CHKUSER_SENDER_MX enabled (uncommented) in my chkuser_settings.h. I would like to know if its possible to set this option on/off in the qmail-smtpd run script. For example is it possible to set different values (ie on/off or 0/1) for this variable - (see my example below)?? Or would I have to comment it out and re-make qmail?? Thanks for any help / advice in this area. Rgds. Otto Rodusek. #!/bin/sh QMAILDUID=`id -u vpopmail` NOFILESGID=`id -g vpopmail` MAXSMTPD=`cat /var/qmail/control/concurrencyincoming` CHKUSER_SENDER_MX=on exec /usr/local/bin/softlimit -m 999 \ /usr/local/bin/tcpserver -v -H -R -l 0 \ -x /home/vpopmail/etc/tcp.smtp.cdb -c $MAXSMTPD \ -u $QMAILDUID -g $NOFILESGID 0 smtp \ /var/qmail/bin/qmail-smtpd \ /home/vpopmail/bin/vchkpw /bin/true 21
Re: [vchkpw] [chkuser] - CHKUSER_SENDER_MX
tonix (Antonio Nati) wrote: At 13.48 24/04/2007, you wrote: At 13.14 24/04/2007, Otto Rodusek (AP-SGP) wrote: Hi, I hope I have the corrent mail list. I have CHKUSER_SENDER_MX enabled (uncommented) in my chkuser_settings.h. I would like to know if its possible to set this option on/off in the qmail-smtpd run script. For example is it possible to set different values (ie on/off or 0/1) for this variable - (see my example below)?? Or would I have to comment it out and re-make qmail?? Thanks for any help / advice in this area. Rgds. Otto Once you compile, option is always the same. You cannot change it at run time. But you can use another define (*CHKUSER_SENDER_NOCHECK_VARIABLE* ) to set a variable which can disable sender checking for whatever you need. So you should uncomment both CHKUSER_SENDER_MX and CHKUSER_SENDER_NOCHECK_VARIABLE, the define the variable ENDER_NOCHECK when you need to exclude sender checking. Sorry: So you should uncomment both CHKUSER_SENDER_MX and CHKUSER_SENDER_NOCHECK_VARIABLE, recompile and reinstall qmail, then define the variable SENDER_NOCHECK when you need to exclude sender checking. Tonino Tonino Hi Antonio, Thanks for the answer. I will try it out. Rgds. Otto.
[vchkpw] qmail+vpopmail smtp-auth for roaming-users]
Hi, I used Bill Schupp's Qmail Toaster to install the following: autorespond-2.0.4 - courier-authlib-0.58 - courier-imap-4.1.2 - netqmail-1.05 - toaster-scripts-0.8.1 - ucspi-tcp-0.88 Everything works as expected except for the fact that open-smtp is NOT being updated by courier-imap upon login. Pop3 logins authenticate and update the open-smtp properly. I googled and read practically all the info on this topic, but it seems that nothing I do will get courier-imap to update the open-smtp file!! I did do:: export CFLAGS=-DHAVE_OPEN_SMTP_RELAY ./configure --with-authvchkpw --without-authdaemon My tcp.smtp contains: 127.:allow,RELAYCLIENT= 192.168.0.:allow,RELAYCLIENT= Have I missed something out? Any ideas or pointers will be welcome. Much thanks and rgds. Otto Rodusek.
Re: [vchkpw] qmail+vpopmail smtp-auth for roaming-users]
Hi Micheal, Thanks for the reply. Indeed, I did use the --with-authvchkpw --without-authdaemon but it made no difference. If I understand your email correctly, since I'm using courier-imap 4.1.2 it is impossible for imap authentication to update the open-smtp file?? Hence it is IMPOSSIBLE for any roaming users to send mail?? So what's the solution (if any) - is it possible that ALL users who use courier-imap 4++ are unable to send email and this is acceptable to them?? Am I missing something?? Again thanks for your reply. Best regards. Otto. PS: Does your email imply that I need to downgrade my courier-imap down to v3.x to allow remote users to be able to send mail?? Michael Bowe wrote: IMAP-before-SMTP is possible when using Courier-IMAP v3.x. However it only works when configured --with-authvchkpw --without-authdaemon. When running --without-authdaemon, Courier-IMAP's authvchkpw code is able to make use of vpopmail's roaming user functions to allow IMAP-before-SMTP functionality. IMAP-before-SMTP is not possible when Courier-IMAP has been complied --with-authdaemon, because in this mode the user's IP address is not made available to the authvchkpw code (via the TCPREMOTEIP env var). Also note that in Courier-IMAP v4.x and later, --without-authdaemon functionality is no longer available thus preventing IMAP-before-SMTP from working. Hope that helps! Michael. - Original Message - From: Otto Rodusek (AP-SGP) [EMAIL PROTECTED] To: vchkpw@inter7.com Sent: Thursday, February 08, 2007 8:04 PM Subject: [vchkpw] qmail+vpopmail smtp-auth for roaming-users] Hi, I used Bill Schupp's Qmail Toaster to install the following: autorespond-2.0.4 - courier-authlib-0.58 - courier-imap-4.1.2 - netqmail-1.05 - toaster-scripts-0.8.1 - ucspi-tcp-0.88 Everything works as expected except for the fact that open-smtp is NOT being updated by courier-imap upon login. Pop3 logins authenticate and update the open-smtp properly. I googled and read practically all the info on this topic, but it seems that nothing I do will get courier-imap to update the open-smtp file!! I did do:: export CFLAGS=-DHAVE_OPEN_SMTP_RELAY ./configure --with-authvchkpw --without-authdaemon My tcp.smtp contains: 127.:allow,RELAYCLIENT= 192.168.0.:allow,RELAYCLIENT= Have I missed something out? Any ideas or pointers will be welcome. Much thanks and rgds. Otto Rodusek. -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.17.30/674 - Release Date: 7/02/2007 3:33 PM
Re: [vchkpw] qmail+vpopmail smtp-auth for roaming-users]
Hi Joshua, Thanks for the reply. The majority of my users are using pop3 - however I have a handful of senior execs that need/want to use imap (this is tied to our webmail wapmail interfaces). This cutomer was an existing user of qmail/vpopmail/courier (installed in 2003) however we just recently went through a major upgrade. The old system worked quite well (with open-smtp) for both pop3 and imap users. It appears from Micheal Bowe's reply that courier-imap v4.xx no longer supports this (but apparentl;y 3.0.8 does) - so I guess I will need to try and install the older version of courier-imap - unless I can find a diif but easy solution. Rgds. Otto. Joshua Megerman wrote: Hi Micheal, Thanks for the reply. Indeed, I did use the --with-authvchkpw --without-authdaemon but it made no difference. If I understand your email correctly, since I'm using courier-imap 4.1.2 it is impossible for imap authentication to update the open-smtp file?? Hence it is IMPOSSIBLE for any roaming users to send mail?? So what's the solution (if any) - is it possible that ALL users who use courier-imap 4++ are unable to send email and this is acceptable to them?? Am I missing something?? The solution is simple - use SMTP-AUTH instead of imap-before-smtp. If they can authenticate via IMAP, using SMTP-AUTH-patched qmail can also use vchkpw to authenticate against the vpopmail database. I understand the desire to make things easy for the users by letting them use imap-before-smtp, but it's really not the best way to do things these days... If you really, truely must use imap-before-smtp, use a different IMAP server. Josh
Re: [vchkpw] qmail+vpopmail smtp-auth for roaming-users]
Hi All, Much thanks for all the helpful replies. I have reverted back to courier-imap v3.0.8, and all is now working as expected - open-smtp is being updated properly by both imap and pop3. Again thanks for quick replies and for pointing me in the right direction to resolve this!! Best regards to all. Otto. Rick Widmer wrote: Otto Rodusek (AP-SGP) wrote: Hi Micheal, Thanks for the reply. Indeed, I did use the --with-authvchkpw --without-authdaemon but it made no difference. If I understand your email correctly, since I'm using courier-imap 4.1.2 it is impossible for imap authentication to update the open-smtp file?? I believe that is correct. Courier no longer provides the IP address needed to authenticate roaming users. Hence it is IMPOSSIBLE for any roaming users to send mail?? So what's the solution (if any) - is it possible that ALL users who use courier-imap 4++ are unable to send email and this is acceptable to them?? SMTP Auth. Have the roaming users login to smtp by adding a user name and password to the outgoing mail server configuration of their browser, and enable that function. (The same one they use to receive mail) Since you are using Bill Shupp's toaster, it should already be installed on your server.