[vchkpw] =?ISO-8859-1?Q?RE:_[vchkpw]_What_is_enable-make-seekable_and_disable-make-seekable_??=
> From: Ken Jones <[EMAIL PROTECTED]> > > On Friday 12 March 2004 5:54 am, CoyoteTM wrote: > > What is enable-make-seekable and disable-make-seekable ? > > > > What is the difference? Which is prefered ? > > It makes the file descriptor that qmail-local hands to > vdelivermail seekable. By default it's not seekable. > [...] > > Ken Jones > hmm... qmail-local ecpecially requires it's input to be seekable which I guess guanrantees the fd (pipe) to be seekable. ...or what am I missing here ??? Anyway, I have never had any problems to rewind the stdin with any program. Please correct me if I'm wrong =d0Mi=
RE: Re: [vchkpw] vdelivermail and bounced messages
one solution could be to use "doublebounceto" and write a program to take care of mails, parsing them and trying to find out what to do with it. And finally dump it to domain postmaster or the mailer-deamon or /dev/null depending on what it is... Just a thought, have never tested, not even done some deeper analyzing of the problem... =d0Mi= > Original Message - > Date: 4-Apr-2003 22:25:50 +0200 > From: Chris Manjoine <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Subject: Re: [vchkpw] vdelivermail and bounced messages > > ok bounces the the default postmaster when the sender is bogus so it > doesn't send twice. > So I guess my problem is how do I get those bounces to goto the virtual > email postmaster and not the default mail server postmaster? > > At 05:00 PM 4/4/2003 +0200, you wrote: > >Hi Chris, > > > >On Fri, 04 Apr 2003 08:35:19 -0600 Chris Manjoine wrote: > > > > > When mail gets sent to a user that does not exist it gets bounced to > > > the user and to the default postmaster not of the domain but for the > > > email server. > > > > > my .qmail.default file says > > > | /usr/home/vpopmail/bin/vdelivermail '' bounce-no-mailbox > > > >Are you sure the _bounce_ gets directed and delivered to $SENDER _AND_ > >postmaster? > > > >Usually postmaster only gets double-bounces, stating "... but the bounce > >bounced. ..." in the very beginning of the mail. > > > >What makes you assume _qmail_ (and it is qmail handling the bounce, > >vdelivermail only exits '100' to tell qmail delivery agent to bounce) > >doubles the bounce? > >-- > >Pit > > >
RE: Re: [vchkpw] *.domain
Hi !! > Subject: Re: [vchkpw] *.domain > > Hi Raboo, > > > how do you like add in vpopmail? > > *.domain??? > > > > if i want to get the mail for all the subdomains of a domain > > There is no such option in vpopmail. > > Jonas ...but you can set it up manually creating a wildcarded host in ../control/virtualdomains please, check http://qmail.dcs.net/man/man9/qmail-send.html If you're planning to use this as default for all Your domains then You need a simple hack in vpopmail code. =d0Mi=
Re: [vchkpw] vpopmail as a daemon
Hi !! > If you dislike NFS, then why did you go with qmail to begin with? > That was the target for qmail. To use NFS without file locking. I hope this never reaches djb since I'm 100% sure he never thougth qmail to be designed for "Network Failure System"... :-) =d0Mi=
RE: [vchkpw] vpopmail as a daemon
I think this is a very bad idea and I'm not sure if it even possible. How can vpopmail interact with qmail if it runs as a deamon process ?? The whole idea of qmail is very simple and almost everything goes into a pipeline. This gives an easy way to write own modules/filters which can be added to the pipe. ok, I'm not 10th-graded-black-belt coder so You may excuse me if I'm wrong but I cant see this possible without rewriting qmail itself... What about qmailadmin, webmail and other stuff ?? We already have SQL backend and it works great ! We can share the work between one or more SQL servers running on remote computers. Qmailadmin need access to filesystem, so does sqwebmail and that's bad. I think the best solution is to make vpopmail config, users, aliases etc completely sqlbased so we never need to create symlinks or .qmail-files or whatever limits etc... the second step is to rewrite qmailadmin so it only operates on backend (sql) level. That way we can run qmailadmin on whatever machine, wherever in the world. The only thing we need is access to sql backend. Or if You like, You could easily write Your own "mailadmin" in PHP ! same thing with webmail. With courier-IMAP running on the mailserver You can use any webmail client that undertand IMAP. Or write Your own webmail client !! Thanks for reading. =d0Mi= > Original Message - > Date: 23-Feb-2003 18:59:40 +0100 > From: Jesse Guardiani <[EMAIL PROTECTED]> > To: vpopmail <[EMAIL PROTECTED]> > Subject: [vchkpw] vpopmail as a daemon > > Greetings list, > > I'm sure people have considered this before, but I'd like to collect everyone's thoughts on the idea I'm about to present: > > VPopMail as a daemon > > What does everyone think about the possibility of turning vpopmail into a daemon? Complete with network ports and the like. It would > allow for a much more distributed architecture, IMHO. > > Currently, if someone wants to run qmailadmin on a separate web server, they have to create an NFS share, right? > > Wouldn't it make a lot of sense to provide a vpopmail network protocol that allows connections from remote administrative utilities? > > Possibly even implement support for vpopmail clusters (although I'm thinking you'd have to have a crazy amount of users to need a > cluster! Vpopmail is pretty darn efficient.) > > Administrative programs like qmailadmin and vqadmin would benefit by not having to be run on the primary mail server, but I highly > doubt that the majority of web traffic comes from the admin CGIs. > > Programs like sqwebmail would benefit by not having to be recompiled every time vpopmail is upgraded. The port protocol wouldn't > change much between versions, and developers could maintain backward compatibility. > > Sqwebmail WOULDN'T be able to run on a separate server, as it accesses maildirs directly, but at least administration, upgrades, and > general package stability would likely improve a bit. > > Who knows. One might even be able to implement a maildir access protocol. But that would probably just duplicate the functionality > of the IMAP protocol. > > Can anyone else think of a good reason why vpopmail might benefit from being made into a daemon? > > Can anyone think of a really good reason why it shouldn't? (Other than the time it would take to code everything.) > > I'm just thinking aloud here, but I'd like to hear everyone's ideas on the matter. > > Thanks, > > -- > Jesse Guardiani, Systems Administrator > WingNET Internet Services, > P.O. Box 2605 // Cleveland, TN 37320-2605 > 423-559-LINK (v) 423-559-5145 (f) > http://www.wingnet.net > > We are actively looking for companies that do a lot of long > distance faxing and want to cut their long distance bill by > up to 50%. Contact [EMAIL PROTECTED] for more info. > > > >
RE: [vchkpw] Default delivery for whole domains
If You add all these domains as aliasdomains then then all existing accounts in the original domain will get their messages, not the catch-all. Maybe it's good enough but if I understood your question You want ALL mail to these domains redirected to a SINGLE account. then do this: #> mkdir /my/dummy/dir #> echo "&[EMAIL PROTECTED]" > /my/dummy/dir/.qmail-default ## for each aliasdomain echo "aliasdomain.com" >> /path/rcpthosts echo "aliasdomains.com:mydummy" >> /path/virtualdomains #> echo "+mydummy-:mydummy:89:89:/my/dummy/dir:-::" >> /path/assign #> /path/qmail-newu I hope You got the idea :-) =d0Mi= But > Original Message - > Date: 17-Feb-2003 18:08:34 +0100 > From: Ajai Khattri <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Subject: [vchkpw] Default delivery for whole domains > > This is probably a qmail question ;-) > > I am using the usual qmail+vpopmail on a server with two main domains. > > One of the customer's has a bunch of other domains that redirect to the > same box and same web site. He would now like all emails for all those > "other" domains to be delivered to the catchall for his main domain. I > would rather not have to add each and every domain and then set a > catchall for each one. There must be a quick way to just say "deliver > all email for these other domains to this one domain's catch-all" > > Can I do this by creating a suitable .qmail file in ~qmail/alias or can > I do some other trickery in ~qmail/users/assign ? > > -- > Aj. > Systems Administrator / Developer > > >
RE: [vchkpw] [Fwd: failure notice] Timeouts
Is this happening all the time ?? No matter what client or account ??? I have seen this behavior couple of times and the reason was always the same. A malformatted message that hangs outlook and also eudora sometimes. It seems like client did not understood the message was already completely recieved and just wait and wait... I tried with webmail without problems !! Finally, I edited the message on server and corrected all broken boundaries and voilá, suddenly Outlook had no problems in recieving the message !!! =d0Mi= > Original Message - > Date: 17-Feb-2003 16:49:29 +0100 > From: Dave [Hawk-Systems] <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Subject: [vchkpw] RE: [Fwd: failure notice] Timeouts > > >FWIW, I had that happen where both the mail server and the client were > >on the same LAN. > > Not the case here. > > >The PC was a Pentium 100 (or 133), with 128MB of Ram. I think the box > >would just get too busy to deal with Outlook, and for some reason emails > >would be duplicated (Outlook would retrieve the mail, but timeout trying > >to delete it, so it would download the message again - hence > >'duplicates'). > > no duplicates, it is not downloading ANY messages... it times out trying to DL > the first. > > >Are you running an older machine, or maybe one with low memory, PLUS > >qmail-scanner/anti-virus stuff? That could do it.. > > Server is a P3-600, 1GB RAM > Workstation is a P3-550, 512mb RAM > No qmail scanner, etc... running on toaster. > > >All I ended up doing was getting them a $200 Wal-Mart PC (the Lycoris > >ones) and reinstalling the toaster on that. I did end up replacing the > >built-in NIC with an old 3c90x - The built-in one was getting buffer > >errors that, according to the 1997 (1999?) posts I found, were because > >of bad NIC drivers in FreeBSD.. > > Using Intel Pro 100 NIC... solid performers with FreeBSD > > >Seems fine now. > > Thanks for the try though. > > Dave > > > >
RE: Re: [vchkpw] switching database servers
Hi Andrew !! I guess You did not read the whole story :-) It's not about shutting down deliveries. It's not even about compiling vpopmail... It's a comparison of having a vpopmail SQL configfile vs. compiled in SQL config (vmysql.h) Please read the story, I'm tired... bye... > Original Message - > Date: 15-Feb-2003 05:00:47 +0100 > From: Andrew Kohlsmith <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Subject: Re: [vchkpw] switching database servers > > > 5 min * 60 sec/min = 300 sec > > 300 sec / .02 sec/delivery = 15000 deliveries > > Why on earth would you shut down delivery for the compile? > > time to make install: 30 seconds > 30 sec / .02 sec/delivery = 1500 deliveries > > that's one order of magnitude, assuming that you need the full 30 seconds to > do a shutdown/make install/startup. I would believe you could get this down > by another order of magnitude with a simple script -- making your total > deliveries on the order of 150-250. > > Speaking from experience on a mid-volume mail server (about a thousand > deliveries per hour) -- qmail compensates perfectly. In my case I'm also > running every message though spamc and procmail *and* an antivirus scan (Rav > antivirus) -- You get a 1min load spike of about 22-30 which goes away within > a minute and you're back down to normal levels. > > > What about all POP/IMAP connections ? > > Many users gets maybe less than 10 emails a day but they > > do POP their mailbox every 5 (or less) minutes !!! > > You schedule it during a normal maintenance window. Not many people are up > and about at 4am. And also speaking from experience, people will get an > error, go "hmm" and try again. By that time you're back up and nothing > happens. > > And if you really needed to look like you were always up, you'd have already > written a very quick and dirty pop/imap server which just replied "yup, > password good, no messages" to any query. > > Regards, > Andrew > >
RE: Re: [vchkpw] switching database servers
heh, yeah... Let's say recompiling vpopmail takes 5 minutes. 5 min * 60 sec/min = 300 sec 300 sec / .02 sec/delivery = 15000 deliveries on a hi-traffic mailserver 15000 deliveries is maybe less than an HOUR So, if you do not know where Your SQL is in one hour then you propably need to check your routines and plan everything from scratch :-) In comparison it takes less than 10 sec to change the record in /etc/hosts. You could also have a cmdline switch in .qmail "| /vdelivermail '' [EMAIL PROTECTED] sqlhost sqluser sqlpass" which allows you to override the default sqlconf on PER USER/DOMAIN BASIS if needed... Or why not pass the config in ENVIRONMENT and just restart qmail with the new config. time: less than 10 sec What about all POP/IMAP connections ? Many users gets maybe less than 10 emails a day but they do POP their mailbox every 5 (or less) minutes !!! ## what I mean is waste is that I'm not movin around my ## SQL on a day to day basis so I think it's nothing but waste. It's also true, which you effectively proved here, that it is very easy to write the "read-sql-config" functionality into vpopmail code so I guess the problem is solved now !!! please submit a patch ! There is ofcourse other anvantage of having sql config in a single text file instead of compiled-in but that's another story. regards, =d0Mi= PS. one more thing. The time it took to write this message is more than twice the time it'd take to move the SQL server and recompile vpopmail and that is definitely a waste :-) > Original Message - > Date: 15-Feb-2003 00:23:55 +0100 > From: dWi saSonO b <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Subject: Re: [vchkpw] switching database servers > > On 14 Feb 2003 22:45:05 - > [EMAIL PROTECTED] wrote: > > > > > To let vpopmail read a config file is nothing > > but waste > > > > =d0Mi= > > > example program to get server name,user, and passwd. > > #include > #include > > char server[20]; > char user[20]; > char passwd[20]; > > int main(void ) > { > > FILE *fd; > char data[100]; > > if((fd=fopen("/tmp/test.conf","r"))==NULL) { > printf("file tidak bisa dibukan"); > exit(1); > } > fgets(data,sizeof(data),fd); > strcpy(server,data); > strtok(server,"n"); > //printf("server = %sn",server); > fgets(data,sizeof(data),fd); > strcpy(user,data); > strtok(user,"n"); > //printf("username = %sn",user); > fgets(data,sizeof(data),fd); > strcpy(passwd,data); > strtok(passwd,"n"); > //printf("passwd = %sn",passwd); > fclose(fd); > } > > [onOs@shadow tmp]$ time ./test > > real0m0.002s > user0m0.000s > sys 0m0.002s > > /dev/hda: > Timing buffer-cache reads: 128 MB in 0.91 seconds =141.25 MB/sec > Timing buffered disk reads: 64 MB in 3.19 seconds = 20.07 MB/sec > > > why waste ?? > running simple program like that only use resources 0.002 s > that mean every 500 message had lost delay 1 s > and my hardisk only use QUANTUM FIREBALLlct20 20, ATA DISK drive > how abaut SCSI IBM with 160 MB/s ?? > it is not "usefull" ? > > > -- > thx > onOs > >
RE: [vchkpw] switching database servers
a simple solution is just configure vpopmail to connect to a HOSTNAME (even if localhost). then the only thing you need to do is add a line to your /etc/hosts or modify your DNS To let vpopmail read a config file is nothing but waste =d0Mi= > Original Message - > Date: 14-Feb-2003 22:40:30 +0100 > From: Benjamin Tomhave <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Subject: RE: [vchkpw] switching database servers > > What would it take for this to be a configurable parameter instead of a > compiled-in parameter? In other words, would it be possible to add a config > file, read at startup, from, say vpopmail/etc or qmail/control or similar? > It seems to me that this would make a lot more sense than requiring the > server, user and password to be compiled into the program itself. > > > -Original Message- > > From: Clayton Weise [mailto:[EMAIL PROTECTED]] > > Sent: Friday, February 14, 2003 1:47 PM > > To: 'Benjamin Tomhave'; [EMAIL PROTECTED] > > Subject: RE: [vchkpw] switching database servers > > > > > > Recompile. And do it from fresh source, don't just do a make clean and > > reconfigure it. > > > > -Clayton > > > > -Original Message- > > From: Benjamin Tomhave [mailto:[EMAIL PROTECTED]] > > Sent: Friday, February 14, 2003 10:41 AM > > To: [EMAIL PROTECTED] > > Subject: [vchkpw] switching database servers > > > > > > Hello, > > > > If I want to switch from using localhost to another remote host for my > > vpopmail, does that require a rebuild/recompile, or is there a > > configurable > > parameter somewhere that can be modified to make that adjustment? > > My notes > > seem to imply that the only way to change this is by editting the proper > > values in the vmysql.h file. > > > > Thank you, > > > > -ben > > > > > > Benjamin Tomhave, Senior Systems Engineer > > [EMAIL PROTECTED] > > Sofast Communications www.sofast.net > > > > > > > > > > > > > > >
[vchkpw] =?ISO-8859-1?Q?RE:_[vchkpw]_No_Bounces??=
well, are you sure there isn't anything else in the qmail log ?? If You only see "starting delivery" but nothing else then the only answer I can come up with is that vdelivermail has never returned. Qmail needs the vdelivermail exit code before it can take the appropriate action. If this is the case you should have a whole lot of active vdelivermail processes... check with ps... =d0Mi= Original Message - Date: 5-Feb-2003 00:01:18 +0100 From: <[EMAIL PROTECTED]> To: vpopmail list <[EMAIL PROTECTED]> Subject: [vchkpw] No Bounces? > Greetings All, > > I'm puzzled by something I'm seeing on a box I've set up with > qmail/vpopmail/mysql/qmailadmin/ezmlm/vqadmin: > > No bounces. In other words, I send an email to a known bad/nonexistant > address on the box ([EMAIL PROTECTED])and in the logs I get: > > Feb 4 17:35:29 mail1 qmail: 1044398129.674515 starting delivery 681: msg > 1848411 to local [EMAIL PROTECTED] > > in the logs, but nothing further. No bounce message comes back to the > sending account and I don't see the bad message in the queue. > > I'm sure bouncing was working properly when the box was first set up; the > only recent changes have been to add the idx package to ezmlm. > > I've been googling this problem, but haven't found anything useful. > > Has anyone seen this before? > > TIA, > > --Duncan > > >
RE: [vchkpw] roaming user for imap
Hi !! I've seen this topic come up over and over again so I finally decided to "contribute" to the thread... I think the problem has most likely to do with IMAP clients using persistent connections. When they first login successfully vpopmail updates tcp.smtp.cdb file and the user has open relay for one hour or whatever it is for timeout. But since the IMAP client uses persistant connection a new login procedure never takes place and the old "RELAYCLIENT" flag times out. Maybe this is not the case in Davids problem but I want to give a hint anyway... I know there is solution for this problem but I do not remember the webaddress. =d0Mi= > > I am sorry the question may be off topic. > > I am running vpopmail and courier-imap, roaming with vpopmail works fine > but for user using imap roaming does not work. I have searched any > relevant info on this topic but it is rather scare. Would anyone point > me to the right direction? > > Many thanks in advance. > > David Kwok >