RE: courier imap 1.3.6
in attempting to use the vqadmin I get the following error: I believe this is an issue with apache, but I'm not sure what to do about it [Tue Apr 17 02:19:08 2001] [alert] [client 209.150.38.225] /var/www/cgi-bin/vqadmin/.htaccess: deny not allowed here -Original Message- From: Sam Varshavchik [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 17, 2001 1:50 AM To: Tim Hason Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: courier imap 1.3.6 Tim Hason writes: It will compile ok. make install-strip fails at imapd.rc (make install works) make install-configure stops at the very beginning (I didn't get an error, just a stupid stop***) Use must use gmake instead of make on any xBSD. -- Sam
vpopmail-4.9.10, OpenLDAP, Qmailadmin, and FreeBSD
I got qmailadmin 0.42 working finally from /usr/ports (FreeBSD 4.2 with cvsup'ed ports) Attached is the Makefile that I used (my prefix is /usr/local, edit if yours is different) My setup is vpopmail-4.9.8-1 + OpenLDAP 1.1.2.11_1 + Courier IMAP 1.3.7 on FreeBSD 4.2 Now my qmailadmin problems are solved. However, I am still going to do the project I described below, something like vqadmin, but in perl, and much easier to install/configure. Hope this might be useful to anyone.. However, the hardquota code part is still broken and coredumps! :( --manip - Original Message - From: "Ken Jones" [EMAIL PROTECTED] To: "Manip" [EMAIL PROTECTED] Sent: Sunday, March 18, 2001 1:22 AM Subject: Re: vpopmail-4.9.10, OpenLDAP, and FreeBSD (Fw) Manip wrote: manip writes: Hrm, interesting. Ken? Any suggestions? Is it a bug you think in the OpenLDAP module in vpopmail? Have you tested the 4.9.10 on linux with openldap and hardquota? Let me know.. --manip Ken Jones writes: I have not tried 4.9.10 with openldap, linux and hardquota. Sounds like a minor code error in the ldap module. I don't think we will have tme to work on it this week. But if you track down the problem and/or a fix, please let me know. Thanks, -- Ken Jones "Live Free, Live GPL" http://www.inter7.com/ Honesly, I am not too familiar with the code in vpopmail. Besides my scarce knowledge of C, I don't think I can accomplish it. I wish I could have been of more help, I wouldn't have minded contributing support to this wonderful GPL project. There is one thing I can do though. I noticed Qmailadmin doesn't compile at all with the Vpopmail+OpenLDAP combination (even after adding -lldap and -llber to the Makfile authlibs tags or whatever). Since I have good knowledge of perl, I can write a simple cgi with html templates, that would authenticate from custom made .htaccess and htpasswd files or directly from vchkpw (more work). Then, the postmaster of the domain can add/delete users (the perl code will just be simple direct access to the shell and to the vpopmail bins, i.e. ~vpopmail/bin/vadddomain $FORM{'adddomain'} , ~vpopmail/bin/vdeldomain $FORM{'deldomain'}, ~vpopmail/bin/vadduser $FORM{'newuser'}\@$FORM{'domain'} - and the doman could be a select drop down list in the html template). Something simple and quick, just to fill in the gap until we could use qmailadmin with vpopmail+ldap I also had trouble getting Courier IMAP to compile with authvchkpw and LDAP (even after putting the -lldap and -llber in the authvchkpw_LDADD field).. Suggestions are welcome, --manip Sounds like you are on a great track. Please write the script and send it in. We can add it to the contrib directory of vpopmail. Your script could be useful to many sites. Plus they can use it as a starting point for thier perl programmers to build on. Please also write a README.yourprogramname file that has 1,2,3 style steps to install it on a clean system :) That would rock! I we can fix the configure scripts to correctly set the external ldap libraries to compile vpopmail+LDAP. Then check a qmailadmin build. Hopefully I'll get a chance soon. The other thing you might think about is LDAP. You might want to review the choice if you plan on having 10K or more email addresses. -- Ken Jones "Live Free, Live GPL" http://www.inter7.com/ Makefile.dat
NEW qmail-smtpd-auth patch v. 0.30
Hello. I'm proud to announce a new version of qmail-smtpd-auth patch. We have merged our effors with Eric M. Johnston so now there is again only one qmail-smtpd-auth patch. We have also set up a mailing list, which is available on http://list.elysium.pl/mailman/listinfo/smtpauth . Subscribe there is you want to discuss any qmail-smtpd-auth related matters. Also notice that from now on, i will answer support question ONLY on the maling list. All questions sent to my normal address will be ignored (except when they are f.e. bug fixes and other important things). The patch now uses djb's string library so i supose that it'll be easier to accept for some of you. Changes include: - codebase switch. From now on have merged efforts with Eric M. Johnston [EMAIL PROTECTED] so now there are no more 2 separate auth patches but just one. - arguments to qmail-smtpd have changed! See README.auth for further info. - the code is djbized right now - TCPREMOTEINFO is set if sender is properly authenticated. I would also like to invite qmail-ldap, vpopmail , vmailmgr and other qmail addons/modification to share their success stories with us (on the mailing list preferably) so other people can learn from them. Also if you have a modified version of this patch to suit a specific need but does not fit into the main distrio, then i will gladly host it on my site. Finally the URL for qmail-smtpd-auth homepage is: http://members.elysium.pl/brush/qmail-smtpd-auth/ Kris
Load Balancing questions...
When load balancing a qmail+vpopmail setup... any other directories/files I should share across the frontend mail servers besides these: (details: using cdb, netapp as the nfs storage, syncing with a cental time server, running pop3 and smtp on each front end server, and possible load balacning qmailadmin) /home/vpopmail/domains/ /home/vpopmail/etc/ { open-smtp, tcp.smtp, tcp.smtp.cdb } /var/qmail/users/ { assign, cdb } /var/qmail/control { evertyhign except me } does this about cover it? also, has anyone had any experience load balancing qmailadmin? any issues with cdb files getting corrupt ( chances of simultaneous access ? ) same question for sqwebmail... should anythign be shared for sqwebmail/qmailadmin? would a standard web imap client ( what am used to doing ) be better than sqwebmail in terms of load balancing safe? thx for any pointers
sqwebmail, vpopmail
I have had a system running for most of a year without any issues. Recently something has occured to case sqwebmail to NOT successfully validate any users. vpopmail is still working and POP passwords validate fine through it. Has anyone run across this who could suggest to me a cause for this sort of behaviour? Thanks, Jonathan Smith
Re: How to create message (filter) rule?
* Le Van Chi [EMAIL PROTECTED] [010417 05:42]: Dear All, I am using vpopmail + courier-imap server and sqwebmail. I wonder if I can create filter rules for incoming messages. Thanks in advance, RTFM. This is described in great detail in the sqwebmail docs. The relevant file in the source tree is maildir/README.maildirfilter.html If you have problems, be sure to check the logs... -Johan -- Johan Almqvist http://www.almqvist.net/johan/qmail/ PGP signature
Re: Load Balancing questions...
Javier Frias wrote: When load balancing a qmail+vpopmail setup... any other directories/files I should share across the frontend mail servers besides these: (details: using cdb, netapp as the nfs storage, syncing with a cental time server, running pop3 and smtp on each front end server, and possible load balacning qmailadmin) /home/vpopmail/domains/ /home/vpopmail/etc/ { open-smtp, tcp.smtp, tcp.smtp.cdb } /var/qmail/users/ { assign, cdb } /var/qmail/control { evertyhign except me } Looks good. does this about cover it? also, has anyone had any experience load balancing qmailadmin? any issues with cdb files getting corrupt ( chances of simultaneous access ? ) The chances increase with your number of users. Unfortunately file locking over NFS will eventually break sometime. same question for sqwebmail... should anythign be shared for sqwebmail/qmailadmin? /home/vpopmail/domains is the only one would a standard web imap client ( what am used to doing ) be better than sqwebmail in terms of load balancing safe? sqwebmail is the most efficent web client i've seen in terms of overall system throughput. thx for any pointers I highly suggest going with mysql instead of cdb files. There are is no file locking done on the mysql module except during add/del of a domain. -- Ken Jones "Live Free, Live GPL" http://www.inter7.com/
Re: sqwebmail, vpopmail
"Jonathan J. Smith" wrote: I have had a system running for most of a year without any issues. Recently something has occured to case sqwebmail to NOT successfully validate any users. vpopmail is still working and POP passwords validate fine through it. Has anyone run across this who could suggest to me a cause for this sort of behaviour? Thanks, Jonathan Smith Sqwebmail will first look at a sqwebmail-password file in the users Maildir directory. You won't be able to log in if that file doesn't exist and contain "TABPASSWORD" -- Ken Jones "Live Free, Live GPL" http://www.inter7.com/
Re: Load Balancing questions...
On Tue, Apr 17, 2001 at 12:18:22PM +, Javier Frias wrote: When load balancing a qmail+vpopmail setup... any other directories/files I should share across the frontend mail servers besides these: (details: using cdb, netapp as the nfs storage, syncing with a cental time server, running pop3 and smtp on each front end server, and possible load balacning qmailadmin) We're doing almost exactly the same thing. /home/vpopmail/domains/ /home/vpopmail/etc/ { open-smtp, tcp.smtp, tcp.smtp.cdb } /var/qmail/users/ { assign, cdb } /var/qmail/control { evertyhign except me } Well, that would be a complete list. I would wager to say that it is TOO complete. Files like tcp.smtp.cdb and several files in /var/qmail/control and /var/qmail/users are read for every single smtp connection and/or every single delivery. I elected to keep local copies of each to decrease NFS traffic. The only problems we've had have been with munging of the .dir_control file. I discussed this with Ken and he stated that that is a very common problem with cdb load-balanced sites. He highly recommended using MySQL auth for load-balanced setups and I am in the process of converting ours now. My research indicates that it will make things a lot easier, as it eliminates all possibility of files being munged by NFS. If your site is busy enough to warrant load-balancing, I submit that using MySQL as your auth system will make your life much easier in the future. also, has anyone had any experience load balancing qmailadmin? any issues with cdb files getting corrupt ( chances of simultaneous access ? ) I haven't had any problems with load-balancing qmailadmin. Works great. same question for sqwebmail... should anythign be shared for sqwebmail/qmailadmin? would a standard web imap client ( what am used to doing ) be better than sqwebmail in terms of load balancing safe? sqwebmail has been rather amazing. No problems with load-balancing... Ben -- Ben Beuchler There is no spoon. [EMAIL PROTECTED]-- The Matrix
Re: vdelivermail dosen't update .current_size file correctly.
Tadashi Ichihara wrote: Hi. I'm using vpopmail-4.0.10 with hard quota function. But ".current_size" file is not be updated correctly by vdelivermail. vdelivermail udpates ".current_size" file correctly after receiving new mesg. But when I delete all messages with POP3 client, and then receiving new mesg, ".current_size" file is be updated as new mesg size plus old worth. I changed 'vdelivermail.c' like followings: - @@ -786,6 +786,7 @@ } } else { + cur_msg_bytes = recalc_quota("."); update_quota(cur_msg_bytes + msg_size); } - It looks good. ".current_size" file is be updated correctly. Is it correct solution ? I wondering... The idea is that the .current_size file keeps counting up untill the user reaches thier quota. At that point it calls the recalc_quota to see if the .current_size file is accurate. This minimizes the number of times vpopmail counts all the emails. Perhaps a better name could be used for the .current_size file. Like, .current_size_of_email_that_has_been_delivered_not_counting_ emails_that_have_been_deleted ;] -- Ken Jones "Live Free, Live GPL" http://www.inter7.com/
Qmail-Autoreponder
Hi everybody, I've installed the Bruce Guenter's qmail-autoresponder 0.93 and I've checked the USAGE, but I was not able to make it work, since MESSAGE_FILE should contain "some" headers and I don't know which headers ... ! :-) If someone can send me a sample "MESSAGE_FILE" , I would appreciate that ! Thanks in advance ... V.
Anti-Virus
hi iam using qmail with vpopmail which ani-virus is better for all the purposes thanks _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
no subject
I am receiving the following error and he file really is there. Can anyone help. tcpserver: warning: dropping connection, unable to read /etc/tcp.smtp.cbd: file does not exist --- StartUp Script env - PATH="/var/qmail/bin:/usr/local/bin" \ qmail-start ./Maildir/ /usr/local/bin/accustamp \ | /usr/local/bin/setuidgid qmaill /usr/local/bin/cyclog /var/log/qmail echo -n "qmail " env - PATH="/var/qmail/bin:/usr/local/bin" \ tcpserver -H -R -c100 0 pop-3 /var/qmail/bin/qmail-popup \ $HOSTNAME \ /var/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir echo -n "pop " env - PATH="/var/qmail/bin:/usr/local/bin" \ tcpserver -p -R -x /etc/tcp.smtp.cbd \ -u503 -g501 0 smtp /var/qmail/bin/qmail-smtpd 21 /dev/null echo "smtp" - Directoriy Listing [root@tar-valon /etc]# ls -l tcp.smtp* -rw-rw-rw-1 qmaild nofiles30 Apr 16 14:44 tcp.smtp -rw-r--r--1 vpopmail vchkpw 2094 Apr 17 16:33 tcp.smtp.cdb -rw-rw-rw-1 qmaild nofiles61 Apr 16 14:38 tcp.smtp~ [root@tar-valon /etc]# Configure Directives ./configure --enable-tcpserver-file=/etc/tcp.smtp \ --enable-ip-alias-domains=y \ --enable-roaming-users=y \ --enable-default-domain=pds2k.com\ --enable-logging=y
vqadmin
whoops i noticed I sent that as a reply when I sent it in attempting to use the vqadmin I get the following error: [Tue Apr 17 02:19:08 2001] [alert] [client 209.150.38.225] /var/www/cgi-bin/vqadmin/.htaccess: deny not allowed here I believe this is an issue with apache, but I'm not sure what to do about it - Dave Ellsworth Nickname: DaveE or MasterJedi
Vpopmail privacy problem please help ;(
I'm not sure if this is a vpopmail, qmail/pop3d or tcpserver issue =(, but when a user sends mail remotely via vpopmail (running qmail-pop3d), the "recieved from:" field in the headers shows the users local hostname/ISP IP rather than our server. Is there a flag or something to make it leave this information out, or use the servers information instead? Here are my config files: paco# pwd ; more run /var/qmail/supervise/qmail-send #!/bin/sh exec /var/qmail/rc paco# pwd ; more rc /var/qmail #!/bin/sh PATH="/var/qmail/bin:/usr/local/bin:/usr/bin:/bin" export PATH exec qmail-start ./Maildir/ paco# pwd ; more run /var/qmail/supervise/qmail-pop3d #!/bin/sh PATH=/var/qmail/bin:/usr/local/bin:/usr/bin/:/bin export PATH exec tcpserver -H -R -v -c100 0 110 qmail-popup paco.domain.com \ /vpopmail/bin/vchkpw qmail-pop3d Maildir 21 paco# pwd ; more run /var/qmail/supervise/qmail-smtpd #!/bin/sh PATH=/var/qmail/bin:/usr/local/bin:/usr/bin:/bin export PATH QMAILUID=`id -u qmaild` NOFILESGID=`id -g qmaild` exec softlimit -m 200 tcpserver -p -R -x /etc/tcp.smtp.cdb -u $QMAILUID -g $NOFILESGID 0 smtp qmail-smtpd 21 Maybe its something that needs to be added to or left out of the vpopmail ./configuration. I used roaming, quota, relay clear mins ip alias domains. Thanks in advance for any suggestions. _ Get your FREE download of MSN Explorer at http://explorer.msn.com
Re: no subject
On Tue, Apr 17, 2001 at 04:52:15PM -0400, chris wrote: I am receiving the following error and he file really is there. Can anyone help. tcpserver: warning: dropping connection, unable to read /etc/tcp.smtp.cbd: file does not exist TYPO ALERT: cbd should be cdb. --- StartUp Script env - PATH="/var/qmail/bin:/usr/local/bin" \ tcpserver -p -R -x /etc/tcp.smtp.cbd \ ^^^ - Directoriy Listing [root@tar-valon /etc]# ls -l tcp.smtp* -rw-rw-rw-1 qmaild nofiles30 Apr 16 14:44 tcp.smtp -rw-r--r--1 vpopmail vchkpw 2094 Apr 17 16:33 tcp.smtp.cdb ^^^ -- - Timothy L. Mayo mailto:[EMAIL PROTECTED] Senior System Administrator The National Business Network Inc. localconnect(sm) http://www.localconnect.net/ The National Business Network Inc. http://www.nb.net/ One Monroeville Center, Suite 850 Monroeville, PA 15146 (412) 810- Phone (412) 810-8886 Fax
Re: Vpopmail privacy problem please help ;(
It should show the local IP that the mail came from. I use this information all the time to track down spammers to the ISP they dialed into. - Original Message - From: "Jeremy Gray" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, April 17, 2001 4:11 PM Subject: Vpopmail privacy problem please help ;( I'm not sure if this is a vpopmail, qmail/pop3d or tcpserver issue =(, but when a user sends mail remotely via vpopmail (running qmail-pop3d), the "recieved from:" field in the headers shows the users local hostname/ISP IP rather than our server. Is there a flag or something to make it leave this information out, or use the servers information instead? Here are my config files: paco# pwd ; more run /var/qmail/supervise/qmail-send #!/bin/sh exec /var/qmail/rc paco# pwd ; more rc /var/qmail #!/bin/sh PATH="/var/qmail/bin:/usr/local/bin:/usr/bin:/bin" export PATH exec qmail-start ./Maildir/ paco# pwd ; more run /var/qmail/supervise/qmail-pop3d #!/bin/sh PATH=/var/qmail/bin:/usr/local/bin:/usr/bin/:/bin export PATH exec tcpserver -H -R -v -c100 0 110 qmail-popup paco.domain.com \ /vpopmail/bin/vchkpw qmail-pop3d Maildir 21 paco# pwd ; more run /var/qmail/supervise/qmail-smtpd #!/bin/sh PATH=/var/qmail/bin:/usr/local/bin:/usr/bin:/bin export PATH QMAILUID=`id -u qmaild` NOFILESGID=`id -g qmaild` exec softlimit -m 200 tcpserver -p -R -x /etc/tcp.smtp.cdb -u $QMAILUID -g $NOFILESGID 0 smtp qmail-smtpd 21 Maybe its something that needs to be added to or left out of the vpopmail ./configuration. I used roaming, quota, relay clear mins ip alias domains. Thanks in advance for any suggestions. _ Get your FREE download of MSN Explorer at http://explorer.msn.com
Re: Vpopmail privacy problem please help ;(
At 9:11 PM + 4/17/01, Jeremy Gray wrote: I'm not sure if this is a vpopmail, qmail/pop3d or tcpserver issue =(, but when a user sends mail remotely via vpopmail (running qmail-pop3d), the "recieved from:" field in the headers shows the users local hostname/ISP IP rather than our server. Is there a flag or something to make it leave this information out, or use the servers information instead? Since you keep sending this same question over over no one else is answering, I'll pass on a couple of comments: A- If you really want to hide that information, use FirstClass on a Mac or NT box. Or better yet, QuickMail 1.x with StarNine Internet Gateway. B- Judging from a quick extremely unscientific survey of headers in various incoming emails on my laptop, it appears that whether or not the sender's IP appears in the Received: header is dependent on some combination of client server, further that it is by no means restricted to Qmail. I'll refrain from commenting on whether suppressing the sender's IP info would actually be desirable. -Kit
Re: Vpopmail privacy problem please help ;(
A- If you really want to hide that information, use FirstClass on a Mac or NT box. Or better yet, QuickMail 1.x with StarNine Internet Gateway. B- Judging from a quick extremely unscientific survey of headers in various incoming emails on my laptop, it appears that whether or not the sender's IP appears in the Received: header is dependent on some combination of client server, further that it is by no means restricted to Qmail. I'll refrain from commenting on whether suppressing the sender's IP info would actually be desirable. -Kit I would have to paste exactally what is being shown, I know that by default the senders actual ip is sent, but this is also showing the full local hostname / email address of the sender. I could see how it would be annoying to start getting mail for your business to your home local isp. In my case, I dont even use my local isp mail, so if someone responded to something like that, I wouldnt even get the mail. Could make for people thinking I'm ignoring them. _ Get your FREE download of MSN Explorer at http://explorer.msn.com
Re: Load Balancing questions...
yes, well, what i will do is share ~vpopmail/etc/ but have wrappers on the vadd and vdel domain programs that when called, will populate ( scp over ) the pertenent files to the other mail servers... as for the access of the tcp.smtp.cdb being quite high, i will check, hopefully it woun't be too high, but as an option i could take on the future, i could use matt simmerson's hack to use mysql for the relay table Ben Beuchler writes: On Tue, Apr 17, 2001 at 10:10:17PM +, Javier Frias wrote: if local copies were kept of tcp.smtp.cdb? how were you doing smtp after pop/imap? since this file is needed for the open relay... and all front servers would be adding entries to it.. just wondering.. Ah. I am not doing smtp after pop. You will apparently need to share your tcp.smtp.cdb file and hope that NFS does good cacheing. since my domains don't change often, the control files would be easy to replicate :) I think that's good choice. Ben -- Ben Beuchler There is no spoon. [EMAIL PROTECTED]-- The Matrix
Re: vdelivermail dosen't update .current size file correctly.
Ken Jones writes: The idea is that the .current_size file keeps counting up untill the user reaches thier quota. At that point it calls the recalc_quota to see if the .current_size file is accurate. This minimizes the number of times vpopmail counts all the emails. Perhaps a better name could be used for the .current_size file. Like, .current_size_of_email_that_has_been_delivered_not_counting_ emails_that_have_been_deleted ;] -- Ken Jones "Live Free, Live GPL" http://www.inter7.com/ So, are you approving this change? I currently use the figure in this file to generate a warning to users on whether their mailbox is going to be full or not. Since the figure is not that accurate, I've to rename the file to something else after mailing the warning to the users. Any idea would be most appreciated. ++ | Francis P. Ling [EMAIL PROTECTED] | | Network Administrator +6084-66 | | Pan Sarawak Co Sdn Bhd www.pansar.com.my | ++ "Facts are stubborn things; and whatever may be our wishes, our inclinations, or the dictates of our passions, they cannot alter the state of the facts and evidence." -- John Adams, President, United States (1735-1826) --- Any opinions, explicit or implied, are solely those of the author and do not necessarily represent those of PANSAR ---
Re: How to create message (filter) rule?
Dear Johan Almqvist, Thank you for your guide. However I still cannot get mail filters worked. My configuration include qmail (/var/qmail), vpopmail (/home/vpopmail), sqwebmail, maildrop (/usr/local/bin/maildrop) my /var/qmail/rc : exec env - PATH="/var/qmail/bin:$PATH" \ qmail-start '|dot-forward .forward | /usr/local/bin/maildrop ./Maildir/' my /usr/local/share/sqwebmail/maildirfilterconfig : MAILDIRFILTER=../.mailfilter MAILDIR=./Maildir When I try to create a mail filter in sqwebmail, the filter rule is created successfully. I can see sqwebmail creating a .mailfilter file in /home/vpopmail/domains/fsps.com/a1/. The only thing is that when I sent an email to test the rule, It does not seem to have any effect. Do I miss any configuration step? Thanks, - Original Message - From: "Johan Almqvist" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, April 17, 2001 7:03 PM Subject: Re: How to create message (filter) rule? * Le Van Chi [EMAIL PROTECTED] [010417 05:42]: Dear All, I am using vpopmail + courier-imap server and sqwebmail. I wonder if I can create filter rules for incoming messages. Thanks in advance, RTFM. This is described in great detail in the sqwebmail docs. The relevant file in the source tree is maildir/README.maildirfilter.html If you have problems, be sure to check the logs... -Johan -- Johan Almqvist http://www.almqvist.net/johan/qmail/