At 01:55 PM 10/13/02 +0200, Raboo Treed wrote:
Isn't it better to make vpopmail leave a pid file instead then?
No. ps output is always right, an old pid file could point to the wrong
process.
Rick
on 12/22/02 5:37 PM, Hugo Escobar [EMAIL PROTECTED] wrote:
authdaemond is running.
Any ideas?
One thing comes to mind...
I did not look at your specific problem, but in everything I've seen when
using sqwebmail with vpopmail says you should NOT use authdaemon. I've
seen numerous
At 09:20 PM 1/13/03 -0500, Frank A wrote:
My question is how do I start up Qmail to just run the queue and not have
it try and bind to port 25.
That pretty much is the answer too... Run qmail, but don't start it
listening on port 25. Running qmail is related to a .rc file in the
/var/qmail
Shaun Reitan wrote:
How can i rebuild a users vpasswd.cdb from vpasswd with out using any of the
vpop utilitys? I assume i can do this some how with the cdb util? i have
tryed the following and this is the error i get...
Why?
If you remove the .cdb file it will be automagically recreated
Geoff Sweet wrote:
So per Courier's instructions I am posting my questions to this list.
Any thoughts?
Try this...
./configure \
--disable-root-check \
--without-authdaemon \
--with-authvchkpw \
--enable-workarounds-for-imap-client-bugs
Rick
, that are not
mentioned in README.* and docs/* ?
Thanks,
Rick Widmer
Sorry, this should have gone to the list the first time...
Ken Jones wrote:
Hi Rick,
Use the ones without the _ characters. The ones with the _
are the lower level functions which encapsulate the details of
each authentication backend.
OK.
What kind of changes are you planning on putting in
Alejandro Aguilar Sierra wrote:
A way to let final users to do some basic tasks (like change passwords,
forwards, filters) from another application like a squirrelmail plugin
would be fine.
It seems to me the way to handle that is to have the plugin call
vpopmail functions directly. I see
Tom Collins wrote:
On Feb 2, 2004, at 7:21 AM, Luca Morettoni wrote:
I have two server running vpopmail (5.3.27 on the first and 5.3.30 on
the second), some user have a particular .qmail file (with some
command executed with | command) and all work fine.
The problem (on both version) come
If you are currious about what is missing from your favorite database
interface take a look here.(I hope the formatting survives!)
This table lists which functions are defined by each of the database
interface modules in vpopmail. I hope someone else finds it helpful.
* = full function
SourceForge.net wrote:
Rick, please upload the patch again. Remember, you need to click on
the Upload and Attach a File checkbox, select the file to upload and
provide a description.
It must have been the checkbox I missed... I know I selected the file.
Please make sure that you aren't
Here is an obnoxious idea for you...
If the user is checking mail too often, send them an email every time
they check telling them how often you think they should be doing it...
Dear subscriber,
It has only been 32 seconds since you last
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
Is there anyone on these lists that are using the PHP extension for
vpopmail?
I have made substantial changes that adapt it to vpopmail 5.4.0 and I am
wondering how much effort I need to put into compatability with older
versions.
Thomas Madej wrote:
There is no such file. I tried logging in as different domain and i'm
having the same problems. They, too, have no such file.
If the file is not being created, then there is a problem with
permissions or something else that does not allow the user QmailAdmin is
running as
X-Istence wrote:
Rick Widmer wrote (At least in part):
I am adding the following functions to vpopmail:
valias_select_names, valias_select_names_next, valias_select_names_end
Kinda like C++'s std::vector things, allowing you to walk thru an
array of aliased domain names.
I don't know about
Radu Bighiu wrote:
How can i encrypt passwords with php or perl like vpasswd?
crypt()
This does require your system so support md5 passwords for it to work in
php.
http://www.php.net/crypt
I whant to insert and change passwords from the web page dirctly in
MySQL vpopmail db via PHP or
There is now a sneak peek at the updated PHP extension for vpopmail
available on my test web site:
http://kimberly.developersdesk.com/vpopmail.php.tar.gz
Basic installation instructions are in INSTALL.
You should read README, NEWS and TODO.
There are now 21 functions available to access
Alejandro Aguilar Sierra wrote:
On Thu, 19 Feb 2004, Rick Widmer wrote:
There are now 21 functions available to access and update information
about email addresses. To work they must be run as the vpopmail user.
I do it by running apache under the mail user. Hopefully there are
other
Darren Beale wrote:
Hi
The problem is that the foo.bar address is the one that everyone will be
using. I did think about deleting foo.bar reinstating the account to foo
and setting up a valias foo.bar but this seems heavy handed and will
require quite a bit of work to migrate a lot of
Existence wrote:
Rick Widmer wrote:
That is what i meant, not everyone is able to have a special server just
for mail, and thus running Apache as vpopmail:vchkpw is not an option.
If you created some sort of deamon that allows you with public and
privatekey's to communicate. Then you can
Eduardo M. Bragatto wrote:
Rick Widmer wrote:
There are two ways to run the extension that I know of.
o Start a separate instance of Apache on its own port or IP address,
running as the mail user. This instance should only serve mail related
pages. This is very easy to do.
o Don't allow any
Thomas Madej wrote:
On 22-Feb-04, at 7:29 PM, Marcin Soltysiak wrote:
sudo with PHP extension? When PHP is a module? How?
Solt
Via PHP's CGI module.
Please try it and let me know how it works!
Personally, I am quite happy keeping general web sites off the mail
server, and running PHP
Marcin Soltysiak wrote:
Another problem, if you allow the www user access to the vpopmail
programs - how do you keep every web site on the server from having full
access to mail system? The vpopmail library functions don't provide
authentication. (They do provide functions for doing
davila wrote:
1) there must be some way to clear that cache (if it exsists)
~vpopmail/bin/clearopensmtp does that job. Somewhere in your install
instructions you should be adding that to crontab so it is run periodically.
2) I don't fully understand the concept of roaming users in
davila wrote:
1) Destroy all spammers and take back our network
2) Write a small proxy listener that I can connect to and forward the
traffic to my smtp server.
3) Continue being happy using my sqwebmail install when I am out a lovely
little cafes
Of the possible solutions 3 seems to be the
Matt Darcy wrote:
Hi all,
I built a vpopmail on qmail system for the first time in a long time. I'm
using netqmail 1.05 and vpopmail 5.2.2 (for the first time)
The first thing I would do is get vpopmail 5.4.0 from here:
http://sourceforge.net/projects/vpopmail/
Many bugs have been
Chris wrote:
I reinstalled vpopmail 5.2.1 and now I am having some problems with
qmailadmin and sqwebmail. Qmailadmin (1.0.6) will add email accounts, but
cannot add alias/forwards. It appears that it works, but the forwards don't
appear.
Additionally, sqwebmail does not work properly. Users
as
the vpopmail user.
If you want to look at what I've done with pMailAdmin, let me know off
list, and I'll send you a copy.
Rick Widmer
Iavor Raytchev wrote:
Hello,
I am new to the list.
The last weeks I tried to research on php based vpopmail manager. The nearest I found were some vpopmail php
Charles Sprickman wrote:
On Wed, 31 Mar 2004, Doug Clements wrote:
Radiator (open.com.au) rules. You can do virtually anything, including
custom SQL queries.
I know, I used to use it. Best radius server ever. But it costs $$ that
we don't have.
A good start to getting something else
Would someone please make sure this information finds a home somewhere
in the vpopmail distribution!
Thanks, Rick
Ken Jones wrote:
On Wednesday 31 March 2004 07:42 pm, Charles Sprickman wrote:
Hi all,
Also, does anyone have some info on what exactly the values in pw_gid are?
It's numeric,
A new update to the vpopmail extension for PHP has been uploaded to
http://kimberly.developersdesk.com/
I believe it now supports everything that QmailAdmin uses.
Charles Sprickman wrote:
Ken (and anyone else who knows),
Can you explain a bit how these flags work? When I look in the db at the
pw_gid fields, they are all decimal values (ie: 64, 128, etc.). I hope
this isn't some kind of bitmasking thing, because that just makes my head
spin.
That is
Charles Sprickman wrote:
On Wed, 31 Mar 2004, Doug Clements wrote:
Radiator (open.com.au) rules. You can do virtually anything, including
custom SQL queries.
I know, I used to use it. Best radius server ever. But it costs $$ that
we don't have.
A good start to getting something else
X-Istence wrote:
why? We could talk to it using normal sockets. I dont see why it would
require a special API to talk to a normal deamon on a TCP/IP. Even Unix
sockets.
Here is my $0.02 on how to best implement a daemon...
The daemon is in C [1] and runs under tcpserver. It opens a unix
X-Istence wrote:
I'd like to keep it in the vpopmail project. The daemon could be part of
the regular code and the php client module could be part of contrib?
Ken
This would cause problems. Then it would not be in PHP releases, and
only in the contrib directory, thus making it still an remote
Paul Oehler wrote:
The daemon MUST require all connections to be authenticated, preferably
against the vpopmail user base.
user rwidmer ok
password mypassword ok
This is only slightly related to Rick's comments (which I think
Paul Oehler wrote:
There is a function that provides authentication:
vpasswd( user, domain, password, is_apop )
that returns the user's password info if valid, or 0.
The problem is, if you can execute the vpopmail library at all, you can
execute every function within it. This is how
Iavor Raytchev wrote:
It seems now the next bottleneck is 'how will php talk to the daemon'.
My PHP interface to the daemon would work like this:
example.php
--
?
include( vpopmail.pobj );
# Information for login
Iavor Raytchev wrote: (on the wiki)
* brief idea - combination of extension and daemon
I think that should be changed. 'Extension' implies C code that is
compiled into PHP. With a daemon there is no need for such drastic
measures. 'Module' or 'library' would be better since the whole
Ken Jones wrote:
Here is what I've come up with so far for the vpopmaild daemon.
Looking good! Can I get an early copy? I'd like to try to build the
PHP object to connect with it using sockets. I think most of what you
have done looks great.
Comments?
Several.
You don't show any
Rick Widmer wrote:
mkdir
auth: SA - restricted to vpopmail domain directories
auth: DA - restricted to DA domain directory
auth: U - restricted to users directory
usage: mkdir directory
OK - on success
ERROR error code error message
What is directory, and how do I specify them. I think my
Ken Jones wrote:
Anyone want a test copy of vpopmaild
before it gets posted? It could use another
set of eyes.
Yes, please.
Rick
Ken Jones wrote:
On Monday 05 April 2004 4:05 pm, you wrote:
Ken Jones wrote:
Anyone want a test copy of vpopmaild
before it gets posted? It could use another
set of eyes.
Got it! It compiled and ran the first time. Good job Ken!
Am I correct that any user can be a System admin, if given
Ken Jones wrote:
On Monday 05 April 2004 2:46 pm, Ken Jones wrote:
[snip]
I'd like any comments or votes on how this version
is using a POP3 type protocol.
I like it very much so far!
The way you put the user name and password on the same transaction is
even better than following pop3
Charles Sprickman wrote:
On Mon, 5 Apr 2004, Ken Jones wrote:
I'd like any comments or votes on how this version
is using a POP3 type protocol.
Sounds good to me, this is getting exciting!
One little question... What are you thinking of as far as encryption?
I'm sure there's going to be
Rick Macdougall wrote:
I'm of the thought that it should be
line of text
line of text
+OK
Or even skip the . and just finish with +OK #more text available here
That way every single response ends in +OK or -ERR
+1.
Note, I removed the . in the response list. It will be easier to just
look
Ken Jones wrote:
Any votes on which way of specifying directories would be easier
from the client program's point of view?
a) full paths
b) relative based on user or command
As long as you tell me where ~vpopmail is when I login, always using
fully qualified paths will be easiest, I think.
I see you have different error messages during login for:
invalid email address
user does not exist
invalid password
It might be better to return the same message for all so the hostile
hacker can't learn as much about your users.
Rick
When I login, the following information is returned:
vpopmail_dir /mail
uid 77
gid 72
name postmaster
comment Postmaster
quota NOQUOTA
dir /mail/domains/test.com/postmaster
encrypted_password $1$zkJe.3SH$7HOl1RbwfKcibL67iXjsh/
clear_text_password password
Do I have any better way to obtain information on the catchall status
than reading .qmail-default myself?
Do I need one?
The status report, about line 1077, in function list_users is missing
the '+'.
I have a bit of an object for vpopmaild working. It will login and
retrieve the list of users, and domains. The tarball includes an
example program. On my system (a 500MHz PII) running both the daemon
and this program it retrieved 3108 users from a single domain in 10.23
seconds, and 1563
Marcin Soltysiak wrote:
- Original Message -
From: Ken Jones [EMAIL PROTECTED]
Any votes on which way of specifying directories would be easier
from the client program's point of view?
a) full paths
b) relative based on user or command
+1 for b) First, it would be a bit like
Marcin Soltysiak wrote:
Either I am missing something or... If we use full path then same operations
would look like:
Sys Admin would send same as
The Domain admin would send same as
And the user would send:
write_file /path/to/vpopmail/home/domains/test.com/user/VacationMessage
And
I just uploaded a new PHP object to interface to the vpopmaild daemon.
http://kimberly.developersdesk.com/vpopmaild-php.tar.gz
vpopmail.pobj is the source code for the actual object.
README lists all available methods in the object.
example.php is a command line PHP program that tests the
Marcin Soltysiak wrote:
Although I am sysadmin I cannot list users in other domains.
I have already reported this to Ken.
What is funny, [EMAIL PROTECTED] does not appear in UserList array amd it
is only account that had quota set.
This may be a new bug.
Paul Oehler wrote:
Tom Wrote:
At the very least, vpopmaild discussion should be on vpopmail-devel
instead of the vchkpw list. I am sure that there are others, like me,
who aren't interested in following the early stages of development and
would prefer not to receive 20-30 messages a day
Marcin Soltysiak wrote:
What is funny, [EMAIL PROTECTED] does not appear in UserList array amd
it
is only account that had quota set.
This may be a new bug.
It seems to be the firt entry on list_users..I've check od few domains and
everyoan behaved same way.
In the ListUsers() function try
Ken Jones wrote:
Here are three suggested ways of specifying relative
paths. What do you folks think?
user directory relative
[EMAIL PROTECTED]/path
domain directory relative
domain/path
I think I can do everything I need to do with just those two. I would
prefer you NEVER, EVER allow ANY file
Iavor Raytchev wrote:
[snip]
Tom:
At the very least, vpopmaild discussion should be on vpopmail-devel
instead of the vchkpw list. I am sure that there are others, like me,
who aren't interested in following the early stages of development and
would prefer not to receive 20-30 messages a day
After thinking long and hard about the best way to provide sorted
domains names, I believe the winner is to sort /var/qmail/users/assign
when it is updated by vopomail. Since Qmail and vpopmail don't care
about the order of entries in the file, I don't expect it to have any
effect on existing
First, Tom, can I get your alias list code?
Update on ordered domain names...
I have an insertion sort working with users/assign that keeps domain
names in order. Should I try to make it support all the qmail control
files or have a separate function for that file?
Delete domains
I still
Tom Collins wrote:
On Apr 21, 2004, at 4:00 AM, Rick Widmer wrote:
I have an insertion sort working with users/assign that keeps domain
names in order. Should I try to make it support all the qmail control
files or have a separate function for that file?
Will there be a procedure for people
One thing you might try is send the user a welcome mail right after you
create the address. vpopmail will create the maildir when the first
message to the address comes in.
Rick
Tech Info wrote:
Hello there,
I have a qmail/vpopmail/mysql set-up running on Redhat 8, I would like
to know how I
Juan Enciso Condeña wrote:
Hi folks.
How can forward a copy of message a another account of same domain?
I need do this:
When somebody send a message to [EMAIL PROTECTED], do:
copy to /home/vpopmail/domains/domain.com/user1/Maildir/new/message.eml
copy to
tonix (Antonio Nati) wrote:
I feel it would be nice if it could be developed another set of robust
vpopmail calls.
What if you had vauth_open() which you can call early in the program.
If it returns 0, you have a valid authentication connection and can
expect later calls to work. If it
Patrick Donker wrote:
Where can I get the 5.5.1 devel? On Sourceforge I can only download 5.5.0
I believe that would be HEAD in CVS.
http://sourceforge.net/cvs/?group_id=85937
If you have any problems, you should probably let me know first, I've
made a few changes since Ken, and did not
Marcin Gondek wrote:
Hi
Is there any way to add domain not by vadddomain but via PHP direct
inserting data (domain info) in mysql table?
Without any disk access, only php+mysql
Maybe is there somekind od vpopmail API for php?
Only in the bleeding edge CVS versions of vpopmail and qmailadmin.
[EMAIL PROTECTED] wrote:
does vdelivermail mail have a drop-no-mailbox option?
Replace drop-no-mailbox with delete
Rick
I am in the process of adding Tom's users/assign code to vpopmail.
Currently I have modified the vdominfo program to pass its domain
parameter directly to get_domain_entries(). It works for and for a
real domain name, but not an alias domain name.
Vdominfo returned the following, except that I
Tom Collins wrote:
It might be possible to simply modify get_domain_entries() by adding a
few lines (manually typed and not tested):
With a screwy users/assign file, you will get weird results. You need
to be sure that all real domains are only aliased to themselves.
For example, this
Tom Collins wrote:
On Apr 27, 2004, at 1:56 PM, Rick Widmer wrote:
So, is there a reason for keeping the logic in delete_line(), or
should I re-write it from scratch based on update_file()?
Yes, I think you should. Others may disagree though...
Rom: I assume you mean I should re-write
Steve Ames wrote:
Right. However what I'm saying is that it wouldn't take much to make
vpopmail work properly with other MTA.
Just jack up the user interface, and replace all the code that does the
real work...
Cesare D'Amico wrote:
Hi all, I've googled for this, but I came to nothing.
Is it possible to configure vpopmail to use more than one auth module at
a time?
That is not going to be possible because the choice of authentication
back-end is made by setting a symlink (vauth.c) at compile time.
Steve Ames wrote:
- Original Message -
From: Rick Widmer [EMAIL PROTECTED]
Right. However what I'm saying is that it wouldn't take much to make
vpopmail work properly with other MTA.
Just jack up the user interface, and replace all the code that does the
real work...
I don't believe
Tom Collins wrote:
On Apr 27, 2004, at 3:23 PM, Rick Widmer wrote:
Rom: I assume you mean I should re-write the function.
Yes, and I assume you mean Tom. ;-)
Grrr.. Sorry, I guess the fingers were going too fast.
I think I've got everything we've discussed completed in vpopmail
Cesare D'Amico wrote:
Thanks for all your advices, I'll try to find some time to have a look at the
(really interesting) pmailadmin framework. Does it work with cdb files yet?
Right now there are things that only work with cdb files. At least with
the extension option. Once I get all the
Steve Ames wrote:
Am I reading into this statement that vpopmail is already in the process of
layering the code in such a manner as to isolate qmail thus allowing,
potentially, other MTA libraries to be added and used? If thats the case
then I will positively help in whatever way is needed. I
My travels have finally brought me to the MySQL database module... I am
working on improving the error messages returned by vconvert, as part of
the process of testing the MySQL back end.
The first thing I've noticed is that a number of errors call
fprintf(stderr) directly from the extension. I
Ewan Bain wrote:
On Friday 14 May 2004 9:40 pm, Tom Collins wrote:
On May 14, 2004, at 10:20 AM, Ewan Bain wrote:
I'm trying to use valias to setup a catch-all address. I've tried
several
different ways and the mail always bounces. Is it possible to setup a
catch-all with valias? Is so how?
The
Michael Bellears wrote:
Is there a simple way to temporarily disable mail delivery to domain
(i.e. When a client has not paid there bill)
Simple, but not terribly easy.
I edit the vpasswd file in the domain and add a '*' in front of each of
the encrypted password values. Now no one can download
Michael Bellears wrote:
Applying the domain limits (pop/imap) works (I have them enforced atm) -
But I was hoping there was also a simple way to temp. disable the domain
from receiving mail altogether (Would be an even greater motivational
factor for the client to pay if mail destined to them
Michael Bellears wrote:
Complicating things (apparently) is that our mail server is
separate from the Web server on which we provide clients'
virtual hosts:
That doesn't complicate things, it simplifies them. I do not want
clients updating web files on my mail server. You will want an
Jeff Koch wrote:
We have users that have their email clients set to check for new mail
every minute. We ask them to check no more than once every 15 minutes
but they don't listen. We are hitting close to 10K pop sessions/hour at
peak and it is killing the server. Is there anything we can do to
tonix (Antonio Nati) wrote:
I'll ask, nextly, to join the development group and develop a robust
subset of calls solving this problem (for all, not only for chkuser).
Help on vpopmail would be welcome, at least by me, [1] but creating
another set of calls is not a good way to handle this
Bill Gradwohl wrote:
I noticed that vdeluser doesn't get rid of the .qmail files for a user if
there are any. Has anyone developed a patch to do this?
What files were left behind, and where did they come from?
Is there a general place to check for patches? I checked the archives before
posting,
X-Istence wrote:
For cdb there are these things you can do.
1) Wait till the PHP extensions fully work and the vpopmail deamon that
the PHP extensions use fully work
First a little correction, the PHP extension and the vpopmail daemon are
two different ways to do the same thing. The extension
X-Istence wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Rick Widmer wrote:
X-Istence wrote:
For cdb there are these things you can do.
1) Wait till the PHP extensions fully work and the vpopmail deamon that
the PHP extensions use fully work
First a little correction, the PHP extension
Chris Miller wrote:
When I setup a user in qmailadmin and check the Spam detection? box,
it adds |preline /usr/local/bin/maildrop /etc/mailfilter to their
~/.qmail. This is great, except I need it to be something different.
Where do I set what the Spam detection box adds to a users .qmail
X-Istence wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Rick Widmer wrote:
snip
I'm not sure what thread you are looking at, but considering that I
wrote all the PHP code on http://pmailadmin.sourceforge.net/, more than
doubled the size of the code in the vpopmail extension for PHP
master wrote:
Hi, i have recently wanted to add to alias to one user and when i try to
remove it i get this error :
Error: valias_remove() not implemented for non-SQL backends.
will this be fix in the next release of vpopmail ? because not only sql need
this features.
There is a fair chance you
Kirti S. Bajwa wrote:
/home/vpopmail/bin/vadddomain: error while loading sharred libraries:
libmysqlclient.so.12: cannot open shared object file: no such file or
directory
What is this error how to fix it?
The mysql-client and/or mysql-devel packages (what ever RedHat calls
them) are not
[EMAIL PROTECTED] wrote:
How do I manage/create aliases for an email account created with vpopmail? Please
Help
You can do it the easy way, or the hard way...
The easy way: (Requires a web server on the mail server machine.)
http://sourceforge.net/projects/qmailadmin/
The hard way:
Create
François Wautier wrote:
Hi,
Duly noting the near absolute lack of interest in my previous email (Only
Devendra Singh responded indicating he had the same problem), I decided to
go and figure out things my way.
Good job. I use CDB, and don't know enough about using MySQL with
vpopmail to
Jeremy Kitchen wrote:
On Monday 07 June 2004 02:22 pm, Jeremy Kitchen wrote:
As an ex-database admin, I wrote the many-domains=no option as
an optimization to the database schema to save disk space.
Consider hosting one domain with 1 million email accounts.
The pw_domain(64 char) field is
Pascal DeMilly wrote:
Thanks that did it. Another question. How can I drop a message? (kind of
like contredirect /dev/null)
A .qmail file with a one line comment will discard mail.
.qmail-blackhole:
--
#
--
Rick
Paul Oehler wrote:
It's in the qmail docs.
man dot-qmail
It isn't in there explicitly, but it says that lines starting with # are
ignored, and that qmail-local will only process .qmail files that aren't
empty.
Is this how qmailadmin creates a blackhole e-mail address?
I don't think there is a
Charles M. Gerungan wrote:
I really don't see why you would have to recompile qmail, and especially
qmail-smtpd. qmail-smtp uses an external password checker like vchkpw.
qmail-send bounces the message if it can't find a match.
The vpopmail library is statically linked, so every time you
X-Istence wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Charles M. Gerungan wrote:
I've followed the instructions w.r.t. maildrop and vpopmail according to
Johan Almqvist[1] and it's working as expected. Is it possible to have
vpopmail create the required files -- MAILDIRFILTER, MAILDIR
1 - 100 of 320 matches
Mail list logo