Re: POP Authentication Not Working
- Original Message - From: "GIC MLs" <[EMAIL PROTECTED]> To: "Chris Bolt" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, May 08, 2001 4:05 PM Subject: Re: POP Authentication Not Working > > > > Why aren't you using qmail-pop3d? > > > > > > Wasn't aware that I should be. > > > > You should :-) Perhaps the README should be clearer about this. Disable > QPOP > > and run qmail-pop3d, here's a qmail-pop3d startup script from > > http://www.inter7.com/vpopmail/FAQ : > > > > env - PATH="/var/qmail/bin:/usr/local/bin" \ > > tcpserver 0 pop3 /var/qmail/bin/qmail-popup your.host.here \ > > /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir & After doing some reading and poking around, I am still wondering whether QPOP is the popper line in /etc/inetd.conf. If so, this was originally disabled. Does this help? %ps waux | grep qmail qmails 200 0.0 0.2 924 296 con- S26Feb01 0:48.67 qmail-send qmaild 201 0.0 0.1 880 140 con- S26Feb01 0:06.25 /usr/local/bin/tcpserver -x /etc/tcp.smtp.cdb -v -u 201 -g 201 0 sm root 202 0.0 0.2 864 212 con- S26Feb01 0:09.93 /usr/local/qmail/bin/splogger smtpd 4 root 203 0.0 0.1 880 132 con- S26Feb01 0:21.06 /usr/local/bin/tcpserver -v 0 pop3 /usr/local/qmail/bin/pop5smtp /u qmaill 212 0.0 0.2 864 232 con- S26Feb01 0:21.39 splogger qmail root 213 0.0 0.1 864 148 con- S26Feb01 0:08.70 qmail-lspawn ./Mailbox qmailr 214 0.0 0.2 868 208 con- I26Feb01 0:03.71 qmail-rspawn qmailq 215 0.0 0.1 852 180 con- S26Feb01 0:08.45 qmail-clean It looks like tcpserver is controlling pop5smtp as pop3... Is that what I should be looking at? How does the above qmail-pop3d script relate to this? Thanks, Shawn
Re: vpopmail 4.10.1 compile problems
Sean C Truman wrote: > > gcc -I. -I/usr/include/mysql -g -O2 -Wall -c vauth.c > vauth.c:1011: conflicting types for `valias_select' > vauth.h:103: previous declaration of `valias_select' > vauth.c: In function `valias_select': > vauth.c:1014: warning: return makes pointer from integer without a cast > vauth.c: At top level: > vauth.c:1036: conflicting types for `valias_select_next' > vauth.h:104: previous declaration of `valias_select_next' > make[2]: *** [vauth.o] Error 1 > make[2]: Leaving directory `/usr/local/src/vpopmail-4.10.1' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/usr/local/src/vpopmail-4.10.1' > make: *** [all-recursive-am] Error 2 I got that too. I'll try to fix it Wednesday. It's should return a pointer to a valias structure instead of a char *. Ken Jones
vpopmail 4.10.1 compile problems
gcc -I. -I/usr/include/mysql -g -O2 -Wall -c vauth.c vauth.c:1011: conflicting types for `valias_select' vauth.h:103: previous declaration of `valias_select' vauth.c: In function `valias_select': vauth.c:1014: warning: return makes pointer from integer without a cast vauth.c: At top level: vauth.c:1036: conflicting types for `valias_select_next' vauth.h:104: previous declaration of `valias_select_next' make[2]: *** [vauth.o] Error 1 make[2]: Leaving directory `/usr/local/src/vpopmail-4.10.1' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/vpopmail-4.10.1' make: *** [all-recursive-am] Error 2
Re: Advertising + vpopmail
You could insert a program that parses emails, and looks up what attachments to add to them. Rename qmail-queue to something else, and name this program qmail-queue. Have it talk to the same file descriptors that qmail-queue does. Once the processing is done, just call the orignal qmail-queue to send it into the queue. I think there are some links off www.qmail.org that have exactly this type of thing. Perhaps they don't add the attachments, but they insert themselves into the whole qmail-queue pipe. In this way, every email that flows through the system will get an attachment. The program would have to check it has already added the header, cause some .qmail file processing re-injects the email back into the queue. Ken Jones [EMAIL PROTECTED] wrote: > > I think you could do this with the server that does the relaying, it could > check which user and domain is sending the mail and add any necessary > attachments. I have no clue how to do this, just a thought. > But wouldn't really be a parts of vpop but more qmail and tcpserver. > > rick griffith > > > DearAll, > > > > Who have any idea about Advertising + vpopmail? > > > > Hotmail and Yahoo add some lines at the bottom of mail. > > > > How can I do like that? > > > > Thank. > > > >
Re: Advertising + vpopmail
I think you could do this with the server that does the relaying, it could check which user and domain is sending the mail and add any necessary attachments. I have no clue how to do this, just a thought. But wouldn't really be a parts of vpop but more qmail and tcpserver. rick griffith > DearAll, > > Who have any idea about Advertising + vpopmail? > > Hotmail and Yahoo add some lines at the bottom of mail. > > How can I do like that? > > Thank. > >
Re: Advertising + vpopmail
on 5/8/01 2:28 PM, Krissada Jindanupajit at [EMAIL PROTECTED] wrote: > DearAll, > > Who have any idea about Advertising + vpopmail? > > Hotmail and Yahoo add some lines at the bottom of mail. > > How can I do like that? This is generally the function of the mail client, not the local delivery agent (vpopmail). Offhand, I know that SqWebmail and IMP have this functionality. Regards, Bill Shupp
Advertising + vpopmail
DearAll, Who have any idea about Advertising + vpopmail? Hotmail and Yahoo add some lines at the bottom of mail. How can I do like that? Thank.
RE: Dbfunctions
For what its worth, my 0.02 >From what I remember the dbfunctions patch is strictly for those people using vpopmail with a db backend, from my original quick scan several months ago I was able to determine that this would break my installation of vpopmail since I do not use a db, but instead another authentication format. Ken has to retrofit this to fit EVERYONE who is using vpopmail, not just those who fit your scenario Krzysztof, and though you have many people using your patches successfully I would assume that that is a very small portion of the installed userbase of vpopmail. I also remember Ken publicly asking for documentation on how it works when you publicly complained in the last version of vpopmail when it wasn't included. I would assume Ken never received what he felt was needed to fit this properly into vpopmail and therefore developed perhaps a "feature-crippeled version" of your patch in order to provide a product to support the entire userbase of vpopmail. -- Tim -Original Message- From: Krzysztof Dabrowski [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 08, 2001 5:32 AM To: [EMAIL PROTECTED] Subject: Dbfunctions Ken, I've read the latest changelog for vpopmail. i've noticed that you have implemented something that looks like feature-crippled version of my dbfunctions patch. After a half year of nearly ignoring me and my friends attempts, without ANY open discussion about these features (i've been asking for discussion atleast few times) you have basicaly THROWN AWAY all of our work (and wasted the efforts of beta testers from this list). Can you tell me is there a way for people like us to contribute to vpopmail without the risk of being completely ignored and our time wasted? This is the last time, i'm trying to change something. I grew tired of all this. If nothing changes (or i get no reply as usual) i will stop investing my time in vpopmail. Kris
Re: pine 4.33
* Dave Ellsworth <[EMAIL PROTECTED]> [010508 12:56]: > I'm looking for a patch/rpm for pine 4.33 to use Maildir's > anyone know of any? alias patch='rm -rf' find pine4.33 -type f | xargs egrep '(sprintf|strcpy|strcat)' | wc -l 3817 Trust me, you do *not* want to run this program. But: http://qmail.org/ has the patches.
pine 4.33
I'm looking for a patch/rpm for pine 4.33 to use Maildir's anyone know of any? - Dave Ellsworth Nickname: DaveE or MasterJedi
Re: Dbfunctions
Krzysztof Dabrowski wrote: > > Ken, > > I've read the latest changelog for vpopmail. i've noticed that you have > implemented something that looks like feature-crippled version of my > dbfunctions patch. > > After a half year of nearly ignoring me and my friends attempts, without > ANY open discussion about these features (i've been asking for discussion > atleast few times) you have basicaly THROWN AWAY all of our work (and > wasted the efforts of beta testers from this list). > > Can you tell me is there a way for people like us to contribute to vpopmail > without the risk of being completely ignored and our time wasted? > > This is the last time, i'm trying to change something. I grew tired of all > this. If nothing changes (or i get no reply as usual) i will stop investing > my time in vpopmail. > > Kris Sorry you feel this way Kris, I've asked you in the past to provide documentation and a cdb version of the code. And I didn't really get back anything that I could use. Basicly just the code. I'm not going to get into a war with you over this. It's one thing to add features that you need to vpopmail. It's another thing entirely to backward fit those features into the other authentication modules, provide documentation and test it all. That's what I have to do as the package maintainer. Cheers Ken Jones
Re: vdelivermail error
Bill Shupp wrote: > > on 5/7/01 9:04 PM, Shawn Duffy at [EMAIL PROTECTED] wrote: > > > I am seeing a lot of these errors in /var/log/messages: > > > > May 7 21:44:53 W11-6 /kernel: pid 5426 (vdelivermail), uid 98: exited on > > signal 11 (core dumped) > > May 7 21:46:43 W11-6 /kernel: pid 5452 (vdelivermail), uid 98: exited on > > signal 11 (core dumped) > > May 7 21:51:49 W11-6 /kernel: pid 5496 (vdelivermail), uid 98: exited on > > signal 11 (core dumped) > > > > I don't see any major problems in mail delivery or anything but I keep > > seeing this message... /var/log/messages are full of them... > > > > any ideas? I know that I am not giving a whole lot information and I > > apologize I am not giving more info... > > Haven't seen this myself, but I've heard (check the archives) that if you > have a "catch-all" account defined, and then that account is removed, > vdelivermail will core dump when trying to deliver non-matching emails to > the missing "catch-all" account. We finally had to track down and fix that problem. The new development version has the fix for it. Cheers Ken
[PATCH] Vpopmail with procmail and non-delivering recipes
Hi - I've been using a combination of qmail/vpopmail/procmail and John Hardin's email security procmail recipes (see http://www.impsec.org/email-tools/procmail-security.html) recently with what seems to be good success. However, vpopmail in its vanilla form gets in the way of the procmail recipes due to the piping of procmail before the vdelivermail executable in a domains .qmail-default like: | preline procmail -m /path/to/rcfile | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox (Note this should all be one line and requires your procmail recipe to deliver to stdout by default - see http://mailman.rwth-aachen.de/pipermail/procmail/2000-May/74.html) The upshot of this is that if a procmail recipe quarantines an email with a non-delivering recipe (or at least one that delivers a security message to the domains postmaster and not one to the intended recipient), procmail pipes an empty message to vpopmail (of no length), but then vdelivermail tags the empty message with the Delivered-To and Return-Path headers (taken from the qmail process environment variables?) and delivers this to the users maildir. The following patch to vdelivermail.c checks to see if the incoming mail is of length>0 and only delivers if this is true, thus allowing the procmail pipe. You may well be able to do this check earlier in the code (before the delivery goes as far as the tmp/ directory) but I couldnt get any other place to work reliably. I'm not sure how useful this is for anyone else, but I haven't found any other way of using John's recipes with vpopmail so I thought I'd post it. I haven't lost any mail because of it but that doesn't mean you wont! If anyone has a better way of doing this, email me because I'd be interested how they did it. Hope its of use, Marcus -- Marcus Williams - http://www.onq2.com Quintic Ltd, 39 Newnham Rd, Cambridge, CB3 9EY diff -NabBur vpopmail-4.9.9.orig/vdelivermail.c vpopmail-4.9.9/vdelivermail.c --- vpopmail-4.9.9.orig/vdelivermail.c Fri Mar 16 17:51:22 2001 +++ vpopmail-4.9.9/vdelivermail.c Thu Mar 29 18:03:11 2001 @@ -671,6 +672,7 @@ int pid,i; int mailfile; size_t bytes; + size_t fbytes; #ifdef HARD_QUOTA FILE *fs; #endif @@ -748,7 +750,8 @@ failtemp ("Failed to write RP & DT (#4.3.2)\n"); } - bytes=read(0,msgbuf,sizeof(msgbuf)); + fbytes=bytes=read(0,msgbuf,sizeof(msgbuf)); + while (bytes > 0) { msg_size += bytes; if (write(mailfile,msgbuf,bytes) != bytes) { @@ -769,7 +772,10 @@ delete_tmp(); failtemp("Unable to close() tmp file (#4.3.6)\n"); } - if (safe_rename(tmp_file,mailname) == -1) { + + if (fbytes==0) { + unlink(tmp_file); // throw away the file + } else if ((safe_rename(tmp_file,mailname) == -1)) { unlink(tmp_file); failtemp("Unable to rename tmp to new (#4.3.7)\n"); }
Re: Dbfunctions
Hello to all. I would like to join to this shout for attention by stating that I have been waiting for this patch to go into the main vpopmail release for several months now, because this patch allows vpopmail to become MTA independent - I have done some research for using vpopmail with postfix, with considerable success (not the crippled way it is described on inter7's website), but was waiting for these functions to go operational. I didn't check out the new release yet, but I believe to the author of the dbfunctions patch if he says that his patch includes more functionality then the 4.10.1 vpopmail, and especially important is the fact that this was extensively tested already. ---Original Message--- From: Krzysztof Dabrowski Date: Tuesday, May 08, 2001 12:30:01 To: [EMAIL PROTECTED] Subject: Dbfunctions Ken, I've read the latest changelog for vpopmail. i've noticed that you have implemented something that looks like feature-crippled version of my dbfunctions patch. After a half year of nearly ignoring me and my friends attempts, without ANY open discussion about these features (i've been asking for discussion atleast few times) you have basicaly THROWN AWAY all of our work (and wasted the efforts of beta testers from this list). Can you tell me is there a way for people like us to contribute to vpopmail without the risk of being completely ignored and our time wasted? This is the last time, i'm trying to change something. I grew tired of all this. If nothing changes (or i get no reply as usual) i will stop investing my time in vpopmail. Kris
Dbfunctions
Ken, I've read the latest changelog for vpopmail. i've noticed that you have implemented something that looks like feature-crippled version of my dbfunctions patch. After a half year of nearly ignoring me and my friends attempts, without ANY open discussion about these features (i've been asking for discussion atleast few times) you have basicaly THROWN AWAY all of our work (and wasted the efforts of beta testers from this list). Can you tell me is there a way for people like us to contribute to vpopmail without the risk of being completely ignored and our time wasted? This is the last time, i'm trying to change something. I grew tired of all this. If nothing changes (or i get no reply as usual) i will stop investing my time in vpopmail. Kris