Re: [vchkpw] processing .qmail files for all users

2005-05-24 Thread Anders Brander
Hi, On Tue, 2005-05-24 at 12:04 -0400, Payal Rathod wrote: In a qmail + vpopmail setup, I would like to run, | /path/to/script in .qmail file for all users. Is there any eay way of doing it? You can do it in the .qmail-default file. Change: | /path/to/vpopmail/vdelivermail ''

Re: [vchkpw] processing .qmail files for all users

2005-05-24 Thread Anders Brander
Hi again, On Tue, 2005-05-24 at 12:24 -0400, Payal Rathod wrote: In a qmail + vpopmail setup, I would like to run, | /path/to/script in .qmail file for all users. Is there any eay way of doing it? You can do it in the .qmail-default file. Change: |

Re: [vchkpw] Troubles running make

2004-05-04 Thread Anders Brander
Hi, On Tue, 2004-05-04 at 21:50, Patrick Donker wrote: Anybody willing to comment on my problem, or are there only 3 people on this list? From my experience, there is lots of clever and helpful people on this this list and in the vpopmail community in general. Have patience ;) About your

Re: [vchkpw] php extension or daemon

2004-04-01 Thread Anders Brander
Hi, On Fri, 2004-04-02 at 03:46, Iavor Raytchev wrote: The main stumbling block seems the need to run Apache as vpopmail user. I have not investigated deep enough, but this seems to be one of the main reasons why the extension is somehow dead. Just from the top of my head, wouldn't Apache 2

Re: [vchkpw] vpopmail 5.4.0 Make error on Solaris 9 (possible solution)

2004-02-26 Thread Anders Brander
Hi, On Thu, 2004-02-26 at 21:09, Shiraz wrote: Did the steps to include nsl and socket libs for make of vpopmal v5.4.0 on Solaris 9 (sparc) with gcc 3.3.2. However, I am still getting the following error: gcc -g -O2 -Wall -o vchkpw vchkpw.o md5.o hmac_md5.o libvpopmail.a

Re: [vchkpw] Heureka! Finished POP3-Frequency-Patch (against bruteforcing)

2004-02-11 Thread Anders Brander
Hi, On Thu, 2004-02-12 at 01:21, knom wrote: I finished the Patch forqmail-pop3d which doesn't allow more then xx logins every yy seconds. Please see my post to the sourceforge tracker [874660]. Can we see the patch anywhere? If you log in more often then eg. 10 times in 5 minutes you get an

RE: [vchkpw] Heureka! Finished POP3-Frequency-Patch (against bruteforcing)

2004-02-11 Thread Anders Brander
Hi, On Thu, 2004-02-12 at 02:15, Jake S wrote: Also, perhaps instead of you have to wait xx minutes maybe you can just list 0 messages. The idea of listing 0 messages (as new) could lead to some support nightmares. A customer consequently using the wrong password, and there is no sign that

RE: [vchkpw] Eureka! Finished POP3-Frequency-Patch (against brute forcing)

2004-02-11 Thread Anders Brander
Hi, On Thu, 2004-02-12 at 04:40, Jake S wrote: Also, perhaps instead of you have to wait xx minutes maybe you can just list 0 messages. The idea of listing 0 messages (as new) could lead to some support nightmares. A customer consequently using the wrong password, and there is no sign

RE: [vchkpw] vchkpw and courier 2.2.2 (probably a bug)

2004-01-14 Thread Anders Brander
Hi, On Wed, 2004-01-14 at 11:24, Andrea Riela wrote: Try something simple like telnet 127.0.0.1 pop3 user [EMAIL PROTECTED] pass password I've tried with courier pop3. observe# telnet 127.0.0.1 110 Trying 127.0.0.1... Connected to 127.0.0.1. Escape character is '^]'. +OK Hello

Re: [vchkpw] Managing vpopmail from remote server

2004-01-07 Thread Anders Brander
Hi, On Wed, 2004-01-07 at 20:27, Mauricio Teixeira (listas) wrote: Is there a tool or magic way to manage vpopmail info from a remote server? Not afaik. How can I make this tool communicate to the remote vpopmail server and manage the existent users and domains? How about using ssh with

Re: [vchkpw] vpopmail MD5 vs squid MD5

2004-01-07 Thread Anders Brander
Hi, On Thu, 2004-01-08 at 02:43, toblo wrote: I found a workaround for this. I disable the MD5 password encryption at vpopmail (configure --enable-md5-password=n), thus it uses linux crypt encryption which is recodnized by squid. Could you please paste an example of one of those passwords

Re: [vchkpw] Disabling an account in vpopmail (using valias)

2004-01-02 Thread Anders Brander
Hi, On Fri, 2004-01-02 at 18:54, John Councilman wrote: I am aware that in a standard dot-qmail file, you can disable an account by putting a # in the file, but the same does not seem to work with valias. I was trying to put a # in valias_line, and vpopmail tries to deliver to [EMAIL

Re: [vchkpw] Re: Inserting new users via mysql-insert into the vpopmail database

2003-11-07 Thread Anders Brander
Hejsa, On Fri, 2003-11-07 at 00:21, Tom Collins wrote: Narrowing the possible scope for each letter to 64 from some larger group but increasing the entropy that goes into selecting each character seems like a good idea to me. Remember that we're only selecting 8 random characters --

Re: [vchkpw] vdelivermail EXITCODE problem

2003-09-30 Thread Anders Brander
Hi, On Tue, 2003-09-30 at 10:09, [EMAIL PROTECTED] wrote: So I upgraded to the last stable version 5.2.1 whereas the changelog said that within 5.2.1 the EXITCODE checks would be performed. Vpopmail 5.2.1 fails to catch exitcode 100. Here is a patch:

Re: [vchkpw] Feature request for vaddaliasdomain

2003-09-24 Thread Anders Brander
Hi, On Wed, 2003-09-24 at 23:31, Tom Collins wrote: A feature request for vaddaliasdomin. I would like a configure option (best) or a command-line switch (not so good) that reverses the order of the two arguments. I'd like it for two reasons: What if it was automatic? A bit odd to

Re: [vchkpw] Re: Feature request for vaddaliasdomain

2003-09-24 Thread Anders Brander
Hi, On Thu, 2003-09-25 at 03:26, Paul L. Allen wrote: A bit odd to document, Damn right. I still haven't figured out a sensible usage message. I think we should just ignore the old way of calling vaddaliasdomain in the usage message, in that way new users will adobt the new way of doing

Re: [vchkpw] Re: Feature request for vaddaliasdomain

2003-09-24 Thread Anders Brander
Hi, On Thu, 2003-09-25 at 03:46, Paul L. Allen wrote: I think we should just ignore the old way of calling vaddaliasdomain in the usage message, in that way new users will adobt the new way of doing things. Ummm, that implies that one way is more correct than the other. I do not believe

Re: [vchkpw] Re: courier-imap / sql files

2003-09-12 Thread Anders Brander
Hi, Phew, this mail is getting longer and longer... On Fri, 2003-09-12 at 04:23, Paul L. Allen wrote: It could get rather unwieldy if you use MySQL for other things. Why? Just a gut feeling that if you have many MySQL users for one purpose and many more MySQL users who are there purely as

Re: [vchkpw] Re: courier-imap / sql files

2003-09-12 Thread Anders Brander
Hi Paul and others, On Fri, 2003-09-12 at 14:32, Paul L. Allen wrote: IMHO it's the correct (tm) way to do things. It's not just a fiddle, it's the best solution. I would say that the setuid-thing is a fiddle. I think which way you regard as a fiddle depends very much upon what you do on

Re: [vchkpw] OT: sourceforge management

2003-09-11 Thread Anders Brander
Hi, On Wed, 2003-09-10 at 21:09, Ken Jones wrote: Does anyone know how to delete a project at sourceforge. http://sourceforge.net/docman/display_doc.php?docid=14041group_id=1#projectremoval /Anders

Re: [vchkpw] courier-imap / sql files

2003-09-11 Thread Anders Brander
Hi, On Thu, 2003-09-11 at 22:47, Tom Collins wrote: On Thursday, September 11, 2003, at 01:22 PM, Ken Jones wrote: The issue about sql login being compiled in also brings up another issue.. By putting the sql information into a ~vpopmail/etc file it solves the issue as long as all email

Re: [vchkpw] Re: courier-imap / sql files

2003-09-11 Thread Anders Brander
Hi, On Fri, 2003-09-12 at 01:17, Paul L. Allen wrote: This is an interesting point and I'd love to find a clean solution to this issue. I don't think you'll find a clean solution which doesn't involve set-id. All the others are messy to administer, like a MySQL username per system user or

Re: [vchkpw] Re: courier-imap / sql files

2003-09-11 Thread Anders Brander
Hi, On Fri, 2003-09-12 at 03:16, Paul L. Allen wrote: If you add a special group to every user you are back where you started. I didn't say it was a good solution. I said it was a solution. Compared to that, a lot of the alternatives look good. Agree, alternatives are better. I can't

Re: [vchkpw] Re: Tom's fork of vpopmail (and qmailadmin)

2003-09-10 Thread Anders Brander
Hi, On Wed, 2003-09-10 at 16:09, Benjamin Tomhave, CISSP wrote: First off, everybody needs to quit whining. Seriously, if Tom hadn't [snip] Just my sniping comment... I am so very sorry for being a whining sleeping idiot! I will say thanks to Tom, stop being a sysadmin and go back to

Re: [vchkpw] Re: Tom's fork of vpopmail (and qmailadmin)

2003-09-09 Thread Anders Brander
Hi, On Tue, 2003-09-09 at 19:30, Tom Collins wrote: I have forked ownership since I felt that Inter7 was doing a poor job of maintaining vpopmail and qmailadmin. I readily acknowledge that Ken created vpopmail and qmailadmin. They're GPL projects, so I'm free to fork them if I like.

Re: [vchkpw] Re: Tom's fork of vpopmail (and qmailadmin)

2003-09-09 Thread Anders Brander
Hi, On Tue, 2003-09-09 at 19:51, Rick Romero wrote: Ken Jones hasn't contributed to vpopmail and qmailadmin development since March. We've had 12 qmailadmin releases and 7 vpopmail releases since then. Managing the projects on SourceForge keeps everything out in the open, and allows

[vchkpw] Old releases, was: Re: [vchkpw] Inter7, vpopmail, and open source standards

2003-09-09 Thread Anders Brander
Hey, On Wed, 2003-09-10 at 01:26, Oden Eriksson wrote: If you want to check in old stuff for historical reasons or whatever, I think I have at least 80% of all the releases at my site, it's at: http://www.deserve-it.com/sw/src/ Thanks man! You're a lifesaver! I just used almost an two hours

Re: [vchkpw] Re: Change the default quota

2003-03-20 Thread Anders Brander
and chgrp? If so, it would be a bad idea to use 'make install' if you use system quotas. -- Anders Brander - http://anders.brander.dk/

Re: [vchkpw] accept selected mails

2003-03-16 Thread Anders Brander
all further delivery instructions; [...] - and there's more, i often use these defines in my dotqmail-code: /* exit codes */ #define EXIT_ACCEPT 0 #define EXIT_DROP 99 #define EXIT_BOUNCE 100 #define EXIT_TEMPERROR 111 -- Anders Brander [EMAIL PROTECTED]

Re: [vchkpw] Forwarding....

2003-03-16 Thread Anders Brander
at the check_forward_deliver() function in vdelivermail.c In other words, .qmail files in the domain directory is handled by qmail-local, while .qmail files in user-directories is handled by vdelivermail. -- Anders Brander [EMAIL PROTECTED]

Re: [vchkpw] Feature request: Usage of SSLREMOTEIP

2003-03-02 Thread Anders Brander
/vpopmail/bin/vchkpw ? -- Anders Brander - http://anders.brander.dk/

Re: [vchkpw] starting vpop gives error

2003-02-28 Thread Anders Brander
Hi, On Thu, 2003-02-27 at 20:47, Rob G wrote: Do a netstat -na | grep LISTEN and see if anything else is listening on port 110 as that is what is holding the address open. Try a netstat -lnp | grep 110 instead. It will also show the pid of the listening program. -- Anders Brander - http

Re: [vchkpw] vpopmail as a daemon

2003-02-23 Thread Anders Brander
Hi, On Sunday 23 February 2003 19:03, Jesse Guardiani wrote: 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. How about: ssh -l vpopmail

Re: [vchkpw] Email encryption

2002-12-11 Thread Anders Brander
Hi, On Wednesday 11 December 2002 22:16, Remo Mattei wrote: Hi guys does any of you have an howto on how to have email drop in the user mailbox encrypted? So if send to a particolar address it's going to be automatically encrypted. I have often been thinking about this myself. We must face

Re: [vchkpw] Email encryption

2002-12-11 Thread Anders Brander
Hi, On Wednesday 11 December 2002 23:21, W.D.McKinney wrote: Just a few thoughts... (btw: I ended up using tcpserver with ssl support) How did you do this if may ask ? How i got tcpserver ssl-enabled? Here's a patch: http://www.nrg4u.com/qmail/ucspi-tcp-ssl-20020705.patch.gz - did that

Re: [vchkpw] pop3s - vpopmail using stunnel on port 995

2002-11-13 Thread Anders Brander
Hi, On Thursday 14 November 2002 01:35, martin wrote: A link would do or a response from someone using vpopmail that has this successfully working. How about using tcpserver-ssl? It works like a charm (AFAIK) :) http://www.nrg4u.com/qmail/ucspi-tcp-ssl-20020705.patch.gz And as Rick noted,

Re: [vchkpw] incorrect work of vdelivermail

2002-11-12 Thread Anders Brander
Hi, I think Peter answers were good for #2-4, but I would like to comment on #1. On Tuesday 12 November 2002 14:11, JUST a Tester wrote: PROBLEM #1. dot-qmail-default with contents like | /var/vpopmail/bin/vdelivermail '' [EMAIL PROTECTED] produce unnecessarily Delivered-To: [EMAIL

Re: [vchkpw] To bounce or not to bounce...

2002-11-05 Thread Anders Brander
Hi, On Tuesday 05 November 2002 09:22, [EMAIL PROTECTED] wrote: Is there any way to say in the domain/user/.qmail-file that If something, then bouche, else deliver the mail to the Maildir? Yep, return 100 (and some bounce text) for bounce - 0 for delivery. I got a program running first when

Re: [vchkpw] To bounce or not to bounce...

2002-11-05 Thread Anders Brander
Hi, On Tuesday 05 November 2002 09:53, [EMAIL PROTECTED] wrote: It's running from the file /home/vpopmail/domain/user/.qmail (In the domain/.qmail-default it's okey, but it has to be user-spesific..) If it's okay in the default-file, then it's the problem with vdelivermail i was referring

Re: [vchkpw] temporarily disable delivery retrieval for a domain

2002-10-24 Thread Anders Brander
Hi, On Thursday 24 October 2002 22:29, you wrote: [snip] 1) if there is a comparable way to defer delivery for a virtual domain, similar to setting the sticky bit on a home directory How about a .qmail-default like this?: |exit 111 - That would make the mail-delivery fail temporarily (afaik),

Re: [vchkpw] temporarily disable delivery retrieval for a domain

2002-10-24 Thread Anders Brander
Hi, On Friday 25 October 2002 01:14, you wrote: Said Anders Brander on Fri, Oct 25, 2002 at 12:38:21AM +0200: How about a .qmail-default like this?: |exit 111 - That would make the mail-delivery fail temporarily (afaik), and qmail would try again later. Thanks for the tip, but I think

[vchkpw] vdelivermail fails when alias line starting with | and containing /Maildir/

2002-10-23 Thread Anders Brander
Hi, I think i've encountered a bug, vdelivermail seems to process the line: |/do/deliver/to /home/vpopmail/domains/example.com/test1/Maildir/ wrongly. It deals with it like it's a /Maildir/-line, which is wrong. It seems like vdelivermail checks for /Maildir/ anywhere in the line, before it

[vchkpw] return code 100 and vdelivermail

2002-10-23 Thread Anders Brander
Hi, Is there any reason that vdelivermail doesn't catch return code 100 when running |-commands? Please see vdelivermail.c line 764-770. It deals with 100 as it were 111. Is this right? For the curious: http://fmail.dk/stuff/vdeliver-command-return-100.diff :) /Anders