[vchkpw] Re: a copy for all mails/all users to an adrress

2004-02-14 Thread Peter Palmreuther
Hello PIETRARU,

On Friday, February 13, 2004 at 12:58:00 PM you wrote (at least in
part):

 If you avoid usage of /ANY/ .qmail files in ~vpopmail/domains/domain/
 you can misuse .qmail-default there.

 How I do that? How I use .qmail file or how I misuse the .qmail-default?
 I try to modify .qmail-default but vdelivermail cannot permit to move
 somewhere else the mails.

man dot-qmail
-- 
Best regards
Peter Palmreuther

Politicians should read science fiction,  not westerns and detective
stories.



Re: [vchkpw] vpopmail welcom message

2004-02-14 Thread Howard Miller
Why not just write a shell script to create the mailbox and then send a 
mail to it?

On 14 Feb 2004, at 21:41, Radu Naidinescu wrote:

hello all.

i use vpopmail(maildir style) and i want to put a greeting mail in
every new mailbox that i create. any ideeas? does vpopmail has this
feature?
thank you!



Re: [vchkpw] vpopmail welcom message

2004-02-14 Thread Yermo Lamers

You could just use the Welcome Message Patch against 5.4.

 hello all.

 i use vpopmail(maildir style) and i want to put a greeting mail in
 every new mailbox that i create. any ideeas? does vpopmail has this
 feature?

 thank you!




-
DTLink Software http://www.dtlink.com
FieldPost Business Email http://www.fieldpost.com
Nuts and Bolts Interactive, Inc. http://www.nbinteractive.com
-



[vchkpw] Re: [qmailadmin] Re: PHP vpopmail extension

2004-02-14 Thread Rick Widmer


qmadmin wrote:

I'm interested in the PHP extensions you have for the current versions 
of vpopmail.  
Since I got more than one response, I'll answer on the list...

I have changed vpopmail_auth_user (which calls vauth_user) so it returns 
false if the username/password/domain is invalid, or for a good login an 
array containing the password file information for the current user. 
The existing function only returns true/false.

I am adding support for the following vpopmail functions:

vset_limits, vdel_limits, (vget_limits is already there) vset_lastauth, 
vget_lastauth, vget_lastauthip, vget_ip_map, vadd_ip_map, vdel_ip_map, 
vshow_ip_map, vauth_getpw, vauth_getall, valias_remove valias_select_names

I am adding the following functions to vpopmail (If Tom allows them...) 
and adding support for them in the extension:

valias_select_names, valias_select_names_next, valias_select_names_end

These functions retrieve just the sorted names of aliases for a domain.

I just got it to compile with no errors for the first time.  There are 
probably a couple of days of testing before I publish the code.  I think 
there is a conflict in the version checking code in config.m4 and the 
latest version of vpopmail.  I just added some #define's and #undefs in 
the code to bypass it.  I believe something better must be done before 
it is submitted to PECL, but that is not very high on my prioroty list.

I am testing the extension running PHP as an Apache module, with Apache 
running as vpopmail:vchkpw.  I think it should also run from CGI as long 
as it is run as the vpopmail user.  I don't see any way to get around 
running as the mail system user, and considering how easy it is to setup 
a separate instance of Apache I don't see any reason to worry about 
anything else.  If you don't agree, now is the time to show me a better way.


Have you also done any work on extensions for ezmlm-idx?
No, and I don't think there is anything that deserves to be in an 
extension.  The vpopmail extension is an adapter to the libvpopmail 
library.  Ezmlm is a program, all you do is select the parameters and 
exec() the program.  That is easier to do in PHP, I can't see any 
advantage to doing it in a c extension.