Re: [vchkpw] IMAP/POP3 errors
On Wed, 30 Jul 2003, Juan Hernandez wrote: The problem comes when one user logs into the server thru IMAP using webmail and then if he lf he logs back again thru pop3 will most of the time get errors, Is it because of all the directories that IMAP creates? Probably not. What pop server are you using? Qmail's popper or the Courier popper? How are you starting the popd? What are the errors the user gets when using pop? Is it because I have to apply a patch or something?? Is it because you either have to log all the time with IMAP or POP3 and not both?? Probably not, you should be able to use both imap/pop at the same time, Maildirs should not have a problem with that at all. Charles Thanx a lot for your help and expect more mails in this great mailing list RHCE/Oracle DBA Juan F. Hernández Administrador/Programador de Sistemas Linux/Unix/PHP Tel: 58212-6902445 Cel: 58412-9784303 MacPC Station C.A. http://www.macpcstation.com/ www.macpcstation.com
Re: [vchkpw] vpopmail without qmail
On Mon, 28 Jul 2003, Rudi wrote: Ok, so I have to install qmail, even though I want to use postfix? Yes. Postfix doesn't know what to do with all the .qmail files that vpopmail relies on, nor does it know about /var/qmail/control files. Cause there is a page on their website explaining howto get it to work wit postfix. Supposedly you can front-end things with postfix, basically replacing qmail-smtpd. But you still need qmail-send running to actually deliver the mail through vpopmail. http://www.inter7.com/vpopmail/postfix.txt Has anyone got it working with Postfix yet? I've seen plenty of people ask about it, but have not seen anyone answer. Charles
Re: [vchkpw] PATCH: Define custom Domain Directory
On Fri, 25 Jul 2003, Mike Miller wrote: What does one have to do to get this into the distribution for all to appreciate :) As opposed to having custom direcories to store domains in, this patch allows a user to simply store a domain anywhere- in a pre-existing directory for mail. Tom (and others, I'm not sure who) have setup qmailadmin and vpopmail projects at SourceForge. Part of that is an area where you can upload patches. Tom is on vacation until August 1st, but that's still the best place to submit patches/bugs/etc. https://sourceforge.net/projects/vpopmail/ https://sourceforge.net/projects/qmailadmin/ Lots of very good work going on lately... Charles Cheers; -- Mike [note: Michael Rogers is not my real name] _ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail
Re: [vchkpw] Request for comments
On Fri, 25 Jul 2003, Gerald Villemure wrote: Would GREATLY improve the usability of vpopmail in many environments. Am I the only one to think this? No, I'm sure, but right now I think there's a lot of work going into cleaning things up and making some basic decisions on how things should work going forward. I'm sure there's plenty of people that would love to see a PHP qmailadmin work-alike, and there is already one (kind of) for squirrelmail, in the form of a plugin. It's a hack though. When the next devel cycle happens, I think it would be worthwhile to look at turning vpopmail into a fully db-backed delivery agent. Some goals that that would help accomplish are: -easy development of a web frontend in any language that can talk SQL -easy integration with other web products, such as squirrelmail -ability to use vpopmail with other MTAs -easy integration with many billing backends -more efficiency; instead of having to read upwards of five files for every delivery and executing as many programs, one db call and one call to a filteing program. It seems to me that vdelivermail is very close to being able to do this. Additionally, working support for other MTAs into vadd/delete would not be terribly difficult... I think a vchkpw-devel list would also be worthwhile. It has helped keep things in order for qmailadmin... Charles Gérald
[vchkpw] Re: [qmailadmin-devel] Updated vpopmail -- please review beforepublic announcement
On Sat, 19 Jul 2003, Jeff Hedlund wrote: This definitely needs to be looked into as a bug, but in the meantime-- why don't you check out my mailfilter script here: http://marc.theaimsgroup.com/?l=qmailadminm=105689448125793w=2 You are calling maildrop from the directory where the Maildir is, why not use the PWD environment var instead of running vuserinfo? That script also picks apart the PWD to get EXT and HOST. What shell are you using within maildrop? I modified my filter and it seems something is not quite working: Modifying my filter like so: SHELL=/bin/sh VHOME=$PWD/Maildir/ USERNAME=`echo ${PWD##*/}` USERHOST=`PWDTMP=${PWD%/*}; echo ${PWDTMP##*/}` #VHOME=`/home/vpopmail/bin/vuserinfo -d [EMAIL PROTECTED] logfile $VHOME/maildrop.log log = if ( $SIZE 262144 ) { exception { #xfilter /usr/local/bin/spamc -f -u [EMAIL PROTECTED] xfilter /usr/local/bin/spamc -f -u [EMAIL PROTECTED] } [etc] I get the following in my qmail log when a message arrives: 2003-07-20 19:04:02.689482500 delivery 13903: deferral: Message_start_at_59_bytes,[EMAIL PROTECTED]/maildrop:_Attempting_/usr/local/etc/mailfilter.user/maildrop:_Filtering_through_`echo_${PWD##*/}`/maildrop:_Filtering_through_`PWDTMP=${PWD_/*};_echo_${PWDTMP##*/}`//usr/local/bin/maildrop:_Unable_to_create_log_file./ Thanks, Charles Jeff --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 ___ qmailadmin-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmailadmin-devel
RE: [vchkpw] Seamless Integration - Finally Posted - New Look, Feel,and Navigation for Qmailadmin
On Wed, 16 Jul 2003, Justin Couto wrote: Maybe if I get time in the future I could put an example up, but I am not sure when that will be. To save yourself a little work, how about a few select screenshots? I'm sure there's plenty of people that are curious, but not quite curious enough that they're going to install it. Thanks, Charles Justin C. -Original Message- From: Linux [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 15, 2003 5:44 PM Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [vchkpw] Seamless Integration - Finally Posted - New Look, Feel, and Navigation for Qmailadmin Do you have an URL that we can look at to see this in action? I would love to do something like this myself! Thank you, Linux Hello Everyone, I am writing in response to someone that asked how we seamlessly integrated squirrelmail and qmailadmin using iframes and so a user doesn't have to login to each application after initially logging in. This was a pretty simple task using PHP. Instruction: First we created our administrative shell. This contained a header and a footer in two separate PHP files. Next we created our own login.php file that asked for a username and password. This script included the header.php and the footer.php Once a person submits the login form contained in the login.php page, we use PHP pop functions to authenticate them on our mail servers. If there is a successful authentication, we break the email address apart into 3 variables. The variables are username, domainname, and password. These variable are then added into a session and the users gets redirected to our squirrmail.php login script. Our squirmail.php script includes our header.php script, the line for the Iframe that points to the squirmail login script and our footer.php script. Our header.php script keeps the session running. At the top of the page in the header script we have a navigation bar with 2 icons in it. The icons point to our squirmail.php and our qmailadmin.php scripts. Our qmailadmin.php script is setup exactly like out squirrelmail.php script. It contains the header that keeps the seesion information and a line that includes the Iframe that points to the qmailadmin login script and our footer.php script. The two icons in the header that allow you to switch between the two different application have dtnamic links that get built by the information stored in the session. So basically the username and password get passed through the links when they are clicked. The links are built and populated via the session variables. This all works like a charm. I realize I could have been a little clearer explaining this, but I figure most of you with programming experience should be able to figure it out. I hope this helps. Justin C.
Re: [vchkpw] Re: Fw: [qmailadmin] aliases to bitbucket
On Tue, 15 Jul 2003, Tom Collins wrote: Based on my understanding, vdelivermail has a somewhat deceptive name. Odd you just brought that up. I never touched maildrop before and I was putting together a rule for per-user spam filtering (which is now easy to turn on and off due to your recent changes to qmailadamin, thanks!) and maybe because it was late at night, the vdelivermail line didn't catch my eye. I was going with the assumption it was a generic delivery agent, which I later saw it wasn't. I set up a wicked loop, but svscan here is started with sane limits, so after it iterated the loop 10 times or so it stopped. Many people (myself included) thought it would just accept the mail and do whatever you requested as the last parameter (bounce-no-mailbox, deleted, directory for delivery, etc.). Heh heh. In reality, vdelivermail uses environment variables set by qmail-local to try to find the appropriate user and deliver the mail to them. It only delivers to the last parameter if it can't find a match. This brings up another question. Right now my maildrop has an ugly hack to determine the directory. Is there a list anywhere of the environment variables that vdelivermail passes to the next program in line? I'm doing this: VHOME=`/home/vpopmail/bin/vuserinfo -d [EMAIL PROTECTED] That seems so bogus and unnecessary; I'm invoking yet another program making for a total of 6 program startups just to deliver a single piece of mail (original qmail delivery, vdelivermail, preline, maildrop, spamc, vuserinfo). Correct? I need to draw up a map for myself similar to the Qmail Big Picture to make sure I'm getting all this right. Is that homedir value not known by vdelivermail? It seems like it should be there... Instead of using vdelivermail, you may need to use maildrop (Jeff Hedlund can provide details on that one) to process the email and drop it in the user's Maildir. This works well (once you get the homedir location). It might be helpful to add another program (vstoremail?) to the vpopmail distribution that would accept a message in STDIN and save it to the Maildir specified as the first parameter. Then it would be possible to have entries in your .qmail file like |/usr/local/bin/spamc | /home/vpopmail/bin/vstoremail /home/vpopmail/domains/example.com/fred/Maildir/ I think that might be unnecessary. Maildrop (or procmail) should suffice for the final delivery... vstoremail would take care of file locking/naming/etc. and exit with the proper error code. Maildrop should do this too... What do you think? I propose tweaking vdelivermail a bit would be a better use of your time (and I'd love to see you clean up that code like you have qmailadmin, that's a stunning CHANGELOG you've got going). Thoughts? Charles -- Tom Collins [EMAIL PROTECTED] http://sniffter.com/ - info on the Sniffter hand-held Network Tester
Re: [vchkpw] possible smtp-auth bug (qmail)
On Mon, 14 Jul 2003, Alejandro Ortega Paez wrote: It will be only from old versions of vpopmail. I'm using 5.3.20 and this test does not work: The reason I posted is that even though it's an old issue, apparently now spammers are discovering it. If you follow the thread, it seems it's a (common?) mistake in the tcpserver setup where the user has omitted the hostname argument. In that case, relaying is wide open for anyone using smtp-auth and any user/pass. If anyone has other details (which smtp-auth patch is at issue, etc.), post away so it gets in the archives. Charles telnet 192.168.1.2 25 Trying 192.168.1.2... Connected to 192.168.1.2. Escape character is '^]'. 220 xx..xx ESMTP auth login 334 VXNlcm5hbWU6 VXNlcm5hbWU6 334 UGFzc3dvcmQ6 UGFzc3dvcmQ6 user invalid username: 535 authorization failed (#5.7.0) But it's very interesting to know this issue... Regards, Alejandro Ortega.
Re: [vchkpw] Problem in restoring backup!
On Wed, 11 Jun 2003, Samuel Abreu de Paula wrote: The original files are in vpopmail 5.2 instalation, and the new server has vpopmail 5.3.20, is that the problem I think that would be the problem, yes. Have a look at the upgrade notes in the README that comes with vpopmail. Charles Thanks Samuel Abreu
Re: [vchkpw] Working towards vpopmail 5.4 stable
On Wed, 4 Jun 2003, Moshe Jacobson wrote: My (untested) fix is as follows. pnt = last + strlen(DOMAINS_DIR) + 2; while( *(pnt+1) == '/' ) pnt+=2; for( ; (*pnt *pnt != '/' j 255); ++pnt, ++j ) { email[j] = *pnt; } If we're not going to ever see cvs access for this project, I would think a good idea would be to have seperate user/devel lists for the major projects. At the very least we can keep the does SpamAssassin work with vpopmail messages seperate from the patches that may or may not be applied messages. Charles Moshe -- Moshe Jacobson http://runslinux.net AIM: Jehsom
Re: [vchkpw] Toasters with POP-Before-SMTP
On Wed, 4 Jun 2003, Matthew Walker wrote: POP-Before-IMAP is possible, but for some reason Courier has disabled the feature for unexplained security reasons. I don't have the information handy, but I'm sure someone else on the list can provide the file and line you have to edit to get it to work. I posted a query to the courier list (and also found another post asking the same thing) about the IMAP-before-SMTP problem, but did not get any answers. Charles Matthew Ben Ullian said: does anyone know of a qmail toaster setup guide (with or without mysql -- I dont care, cdb is fine) that describes how to implement POP/IMAP before SMTP with vpopmail? I'm not even sure if IMAP before SMTP is possible, but if so, it would be good (i'd be using Courier-IMAP). I had a toaster set up a while ago which required POP-before-SMTP, but I recompiled Qmail to use mysql and since then I have had open relay issues, yet i can't seem to find the original guide i used. I'd be willing to ditch mysql entirely and do the first installation again, as long as the solution has pop-before-smtp/imap-before-smtp. ben
Re: [vchkpw] Working towards vpopmail 5.4 stable
Ken, Just out of curiousity, what's the status with mysql limits? It seems like there's code to read them, but no tools to write them. Thanks, Charles On Tue, 3 Jun 2003, Ken Jones wrote: Hi Folks, Does anyone have any code changes they would like to get into the next release? I want to put together a new stable version 5.4. Hopefully release it in the next few weeks. Currenly the only change I have is to management of maildirsize files. There are some cases when the quota is changed, the maildirsize file is not rebuild, just deleted. This causes sqwebmail to not see a quota usage until email is delivered to the account, or they pop in. Ken Jones