Re: [qmailadmin] [SPAM] List-Unsubscribe

2007-12-12 Thread Ken Jones

Jacques Mafaity wrote:

List-Unsubscribe


Hi,

To unsubscribe from the qmailadmin@inter7.com list
please send an email to

[EMAIL PROTECTED]

Then reply to the email confirmation you will receive.

Thanks,
Ken Jones
inter7.com


Re: [qmailadmin] Receive messages from ONE domain.

2007-04-04 Thread Ken Jones
Jason King wrote:
 I have ONE account on my qmail server that needs to be able to receive
 mail from only one domain, namely its own domain. Users will forward
 incorrectly labled spam/ham to this folder for spamassassin to learn
 through a script. But I don't want that account open for everyone in the
 world to send to it...because then anyone could send anything into that
 box and when spamassassin would go through the learning process it would
 begin to skew the database. Only valid emails from my own domain should
 be able to send anything to this box. Does anyone know if there is a way
 to accomplish this?

We are doing something like this for dspam and simscan.
If you are using simscan you can update the source to
reject emails from unauthorized senders to spam@ or nospam@

We are testing that on our system and it seems to be working well.

Ken Jones
inter7



Re: [qmailadmin] qmailadmin add mailbox problem

2006-05-31 Thread Ken Jones

What kind of operating system to you have?
What distribution/version?
Did you install apache yourself from source?

Ken

Cdj wrote:

Ken can you help me please ?
I've thought that the problem is something regarding suexec feature... 
but what i must check ???

Sorry for my english !

Tnx
Dario


At 15.27 25/05/2006, you wrote:


Cdj wrote:


Hi,
i've just installed all the qmailrocks package on a linuxbox running 
redhat 9, apache 1.3.28, mysql 4.0.18 , qmailadmin 1.2.10 (and tried 
also 1.2.9), vpopmail 5.4.13 vqadmin 2.3.6 . Everything work fine, 
but when i try to add user on qmailadmin (in italian) apache give me :

Internal Server Error
The server encountered an internal error or misconfiguration and was 
unable to complete your request

and on the httpd logs :
[Thu May 25 13:57:09 2006] [error] [client XXX.XXX.XXX.XXX] Premature 
end of script headers: /usr/local/apache/cgi-bin/qmailadmin
151.42.214.26 - - [25/May/2006:13:57:09 +0200] GET 
/cgi-bin/qmailadmin/com/adduser?user=postmastertime=1148558226dom=.com 
HTTP/1.1 500 621

and on show mailbox :
blank screen appear!!!
Same thing in vqadmin when i clic show users :
Internal Server Error
The server encountered an internal error or misconfiguration and was 
unable to complete your request

and on the logs :
[Thu May 25 13:59:46 2006] [error] [client XXX.XXX.XXX.XXX] Premature 
end of script headers: /usr/local/apache/cgi-bin/vqadmin/vqadmin.cgi
151.42.214.26 - admin [25/May/2006:13:59:46 +0200] POST 
/cgi-bin/vqadmin/vqadmin.cgi HTTP/1.1 500 621

My apache is configured with :
 ScriptAlias /cgi-bin/ /usr/local/apache/cgi-bin/
 Directory /usr/local/apache/cgi-bin
AllowOverride All
Options ExecCGI
Order allow,deny
Allow from all
/Directory
and
#Settaggi per vqadmin
Directory /usr/local/apache/cgi-bin/vqadmin
deny from all
Options ExecCGI
#AllowOverride AuthConfig
AllowOverride All
Order deny,allow
/Directory
File system privileges :
-rwsr-sr-x1 vpopmail vchkpw 317632 mag 25 11:41 qmailadmin
drwxr-xr-x3 vpopmail vchkpw   4096 mag 23 21:27 vqadmin
and vqadmin dir :
drwxr-xr-x2 vpopmail vchkpw   4096 mag 23 21:23 html
-rw-r--r--1 vpopmail vchkpw864 mag 23 21:23 vqadmin.acl
-rwsr-sr-x1 root root   274576 mag 23 21:23 vqadmin.cgi
All the rest function of qmailadmin and vqadmin works great !!!
Tried also with qmailadmin 1.2.9, but the results is the same.
Please help me.
Thanks in advice
Dario Cdj



If you have selinux on your system be sure to disable it or
configure selinux to let vqadmin and qmailadmin run setuid.

Ken Jones







Re: [qmailadmin] qmailadmin add mailbox problem

2006-05-25 Thread Ken Jones

Cdj wrote:

Hi,
i've just installed all the qmailrocks package on a linuxbox running 
redhat 9, apache 1.3.28, mysql 4.0.18 , qmailadmin 1.2.10 (and tried 
also 1.2.9), vpopmail 5.4.13 vqadmin 2.3.6 . Everything work fine, but 
when i try to add user on qmailadmin (in italian) apache give me :


Internal Server Error
The server encountered an internal error or misconfiguration and was 
unable to complete your request


and on the httpd logs :

[Thu May 25 13:57:09 2006] [error] [client XXX.XXX.XXX.XXX] Premature 
end of script headers: /usr/local/apache/cgi-bin/qmailadmin
151.42.214.26 - - [25/May/2006:13:57:09 +0200] GET 
/cgi-bin/qmailadmin/com/adduser?user=postmastertime=1148558226dom=.com 
HTTP/1.1 500 621


and on show mailbox :
blank screen appear!!!

Same thing in vqadmin when i clic show users :

Internal Server Error
The server encountered an internal error or misconfiguration and was 
unable to complete your request


and on the logs :
[Thu May 25 13:59:46 2006] [error] [client XXX.XXX.XXX.XXX] Premature 
end of script headers: /usr/local/apache/cgi-bin/vqadmin/vqadmin.cgi
151.42.214.26 - admin [25/May/2006:13:59:46 +0200] POST 
/cgi-bin/vqadmin/vqadmin.cgi HTTP/1.1 500 621


My apache is configured with :
 ScriptAlias /cgi-bin/ /usr/local/apache/cgi-bin/
 Directory /usr/local/apache/cgi-bin
AllowOverride All
Options ExecCGI
Order allow,deny
Allow from all
/Directory

and

#Settaggi per vqadmin
Directory /usr/local/apache/cgi-bin/vqadmin
deny from all
Options ExecCGI
#AllowOverride AuthConfig
AllowOverride All
Order deny,allow
/Directory

File system privileges :

-rwsr-sr-x1 vpopmail vchkpw 317632 mag 25 11:41 qmailadmin
drwxr-xr-x3 vpopmail vchkpw   4096 mag 23 21:27 vqadmin

and vqadmin dir :

drwxr-xr-x2 vpopmail vchkpw   4096 mag 23 21:23 html
-rw-r--r--1 vpopmail vchkpw864 mag 23 21:23 vqadmin.acl
-rwsr-sr-x1 root root   274576 mag 23 21:23 vqadmin.cgi

All the rest function of qmailadmin and vqadmin works great !!!
Tried also with qmailadmin 1.2.9, but the results is the same.

Please help me.
Thanks in advice
Dario Cdj



If you have selinux on your system be sure to disable it or
configure selinux to let vqadmin and qmailadmin run setuid.

Ken Jones



Re: [qmailadmin] add maillist problem

2006-03-31 Thread Ken Jones

Anton Butsyk wrote:

Hi list!

We use:
  autorespond-2.0.5
  ezmlm-idx-0.40
  netqmail-1.05 with qmail-toaster-0.7.2.patch
  qmailadmin-1.2.7
  vpopmail-5.4.10
on FreeBSD.

 Can't add maillist via browser.
apache logs when try to add test maillist:
ezmlm-sub: fatal: unable to switch to  
/usr/local/vpopmail/domains/DOMAIN/test/: file does not exist

ezmlm-sub: fatal: unable to switch to
/usr/local/vpopmail/domains/DOMAIN/test/mod: file does not exist

In console everything works fine.


Might be a permission issue. QmailAdmin has to switch to
the vpopmail user to access those directories. Which means
it has to run setuid vpopmail and the web server needs to
allow it to switch users.

Ken Jones



[qmailadmin] mailing list admin access for mailing list owners

2006-02-01 Thread Ken Jones

Hi,

Is there any code around (or interst) in allowing
mailing list owners to have access to the mailing
list administration features for their lists?

I'm moving a email server to qmail and their old
system allows for this. It seems like a useful feature
to have in qmailadmin.

Any comments?

--
Ken Jones


Re: [qmailadmin] mailing list admin access for mailing list owners

2006-02-01 Thread Ken Jones

Tom Collins wrote:

On Feb 1, 2006, at 8:17 AM, Ken Jones wrote:


Is there any code around (or interst) in allowing
mailing list owners to have access to the mailing
list administration features for their lists?

I'm moving a email server to qmail and their old
system allows for this. It seems like a useful feature
to have in qmailadmin.

Any comments?



It would be very useful, and something I'd like to see added.  The list  
owner would have to be an account in the same domain, as that's the  
only easy way to authenticate the user and allow access to the list.   
I'll try to get QmailAdmin 1.2.10 released so you can base your work on  
that.


Here's the SourceForge tracker item for this feature request (from  
August 2003):
http://sourceforge.net/tracker/index.php? 
func=detailaid=791585group_id=6691atid=356691


And some of my notes from that item:

If we add this, it should be optional.  Some ISPs might not want to  
allow list owners to modify list settings.  Maybe it could be tiered --  
list owner:


1) has no admin access
2) can modify the list of subscribers and/or moderators, but not change  
the list options.

3) has full access to modify list settings

Additionally, moderators should have access to the add/show/delete  
subscriber options on the mailing list page.


Sounds great Tom,

Looks like we will go ahead with the changes.
Best of luck getting 1.2.10 out the door!

--
Ken Jones


Re: [qmailadmin] premature script error...

2005-11-03 Thread Ken Jones

Oliver A. Rojo wrote:
Hi... im using Fedora Core 3 with Postgresql-8.0.0. I just intalled 
qmail admin with apache but everytime I view qmailadmin on the web, I 
usually get this error on my apache logs...


[Thu Nov 03 23:07:54 2005] [error] [client xxx.xxx.xxx.xx] Premature end 
of script headers: qmailadmin
[Thu Nov 03 23:13:37 2005] [error] [client xxx.xxx.xxx.xx] 
/var/www/cgi-bin/qmailadmin: error while loading shared libraries: 
libpq.so.3: failed to map segment from shared object: Permission denied


Got an idea?


disable selinux if it is enabled.
/etc/sysconfig/selinux

Then reboot or re-init selinux.

selinux enforcing will not allow qmailadmin to set uid.

Ken Jones


Re: [qmailadmin] Qmailadmin Procmail

2005-11-03 Thread Ken Jones

Rick Root wrote:

Hi,

I wondered if anyone had devised a way for individual vpopmail users to 
manage a procmailrc file via a web-based interface.


I use procmail in my vpopmail environment to drop certain messages into 
specific IMAP folders.  But obviously it could also be useful for custom 
spam assassin stuff and other filtering.


I could probably write something like this in Perl (although to be 
honest I'd probably build the interface in some other environemtn and 
just build a web service in perl to handle the actual file management


Anyway... anyone done anything like this?


Maybe the vpopmail daemon could work for you
http://www.qmailwiki.com/Vpopmaild

What you could do is run the vpopmail daemon and have the php web 
interface talk to the daemon. You can read and write files under a users 
Maildir directory with the correct permissions. So you could read the
procmailrc file, display it in your php interface and then write changes 
to the disk.


The two vpopmaild commands would be:
read_file /full/pathcrlf
write_file /full/path (data lines)crlf.crlf

Ken Jones


Re: [qmailadmin] Error. Domain test.com was not found

2005-10-07 Thread Ken Jones

Check
/etc/sysconfig/selinux

Make sure you have:
SELINUX=disabled

I forget how to tell the system to re-read that file.
But a reboot will cause it to take effect.

David Brown wrote:

Ken,

On Fri, 2005-10-07 at 15:58 -0500, Ken Jones wrote:


Make sure the web server allows set uid cgi programs.



the server is Apache/2.0.54 (Fedora), but i cant find any reference to
allowing set uid cgi



And make sure the qmailadmin cgi has is setuid vpopmail setgid vchkpw
if all the domains are owned by vpopmail.



I've checked the qmailadmin cgi, and the owner is set to user vpopmail
and group to vchkpw. permissions on the cgi are owner+rw,group+r,other+r
and the file is marked as excutable.

Hope this helps.


Ken

David Brown wrote:


Ken,

That is the way that I had created the domains in the first instance.

I tried again to add the domain using the line that you sent (just in case I 
had missed something)
but I have just checked the /var/qmail/users/assign file, and the domain is
listed in there, I have redone the cdb update, but I am still getting
the error in the apache log.

Any other ideas?

On Fri, 2005-10-07 at 15:24 -0500, Ken Jones wrote:



David Brown wrote:



[Fri Oct 07 18:56:32 2005] [error] [client 127.0.0.1]
Error. Domain test.com was not found in the assign
file, referer:
http://digital-fortress.co.uk/cgi-bin/qmailadmin

Username: postmaster
Domain: test.com
Password: letmein

As far as I know all of the permissions are correct,
but I am not sure what / where this assign file should
be located.

Thanks in advance
Dave



The best thing to do is add the domain with
the vpopmail vadddomain program like:
/home/vpopmail/bin/vadddomain test1.com letmein

The vadddomain program will do all the work to let
qmail know about the domain. Which includes adding
the domain to /var/qmail/users/assign and compiling
the /var/qmail/users/cdb file.

Cheers,
Ken Jones












Re: [qmailadmin] vacation and forward

2005-09-01 Thread Ken Jones

You could copy the email to one account and have that
account forward copies to multiple email addresses.

currently qmail tap only supports sending the copy
to one email address.


[EMAIL PROTECTED] wrote:

It works! - part of it at least :)

But :
 - I am using an already patched qmail (with the John Simpson combined
patch) and when I patch it with qmail-tap I get a failure indication on
qmail-control.9. After viewing qmail-control.9.rej I see it fails adding
the .I taps \fR(none) \fRqmail-queue so, I add this line manually to
the qmail-control.9 file. After that I recompile qmail and copy the old
contents of the control dir to the current control dir (to keep my qmail
settings, otherwise it looses mailbox information (?). Nevertheless, It
seems to be working. If anyone knows any drawback please advice.

 - qmail-tap copies ALL mails, even mail from local accounts. Is there a
way to copy only mails in and/or out the server ?

 - how can I copy to 2 accounts ? i.e., copy to a mailmaster account and
also to a department account. I don't know the syntax. I already tried
[EMAIL PROTECTED]:[EMAIL PROTECTED]:[EMAIL PROTECTED]
[EMAIL PROTECTED]:[EMAIL PROTECTED];[EMAIL PROTECTED]
[EMAIL PROTECTED]:[EMAIL PROTECTED],[EMAIL PROTECTED]
[EMAIL PROTECTED]:[EMAIL PROTECTED] [EMAIL PROTECTED]



[EMAIL PROTECTED] wrote:


You're right, I can create it by hand. My problem is that it will be
visible  by qmailadmin, and so, the user can disable it.

The copy is for full backup of incoming and outgoing mail. There are
some
mailboxes used for customer service and we want to keep a record of all
processes, not allowing any assistant to wipe out a record.


Ah! There is an easier way. Apply the qmail-tap patch to your qmail
source code and you can configure a /var/qmail/control/taps file
to make a copy of all incoming/outgoing email.
http://www.inter7.com/?page=qmailtap

The qmail tap patch is designed for exactly what you are trying to do.
Allow the system admin to make backup copies of all incoming/outgoing
email.

Then qmailadmin will never see it. Just system admins who have
access to that /var/qmail/control/taps file





If qmailadmin doesn't let you create it you can create it by hand.

Why would you want to send a copy of the users email address someplace
else and also deliver a copy to their vpopmail box?

[EMAIL PROTECTED] wrote:



But that way I am just creating an alias, right ?
Because I can´t create a new forward with the same name of an already
existent account.
With sendmail I was able to create an alias with the same name of an
existent user (and even forward it to the same-name user). That was how
I
did the mail-copying : i create the user, an alias with the same name,
and
then forwarded the alias to the user (with the same name) and the
mailmaster repository.

With Qmail I don't know how to do this easily





Create a forward from the main menu.
Not from the user modification page

The user mod page creates a .qmail file in
the users Maildir area

The forward on the main menu creates
a .qmail-forwardname file in the
domain's main directory

[EMAIL PROTECTED] wrote:




Whenever I create a forward, either as a user (creating my own
forward)
or
as postmaster creating a forward on someone account, qmailadmin
always
create the same file : .qmail
This way, the user can reset the forward.

Am I doing something wrong ?






[EMAIL PROTECTED] wrote:





Hi,

I would like to have some email accounts copied/forwarded to some
other
accounts. I don't mind if the user sees that the account is being
forward
and to whom. What I don't want is that the user have the capability
of
disabling that forward. However, it should be possible for the user
to
create/change/delete his owns forwards.

If I manually change the .qmail, the forward appears in qmailadmin
but
the
user can disable it.

How can I do this ? Is it possible to this without changing the
qmailadmin
code ? (I thought about a file created by qmailadmin that would
have
the
.qmail entries that should not be altered by non-admin users)



You might be able to create a forward with qmailadmin. Which
writes a .qmail-user file. The user won't be able to change
that. They could only change their own forwards.

The other way would be to use the qmail-tap patch that lets you
tap any email address and send a copy to an address of your choice.

Ken Jones
inter7.com
















Re: [qmailadmin] disable valias support in qmailadmin

2005-08-31 Thread Ken Jones

Grant Supp wrote:
I am using qmailadmin-1.2.7. How can I disable qmailadmin's support for storing aliases 

in the mysql valias table?


The changelog indicates qmailadmin will detect if vpopmail was compiled with
--enable-valias during configure time. However, I did not compile 
vpopmail with
--enable-valias and using ./valias to add an alias creates the 
.qmail-[aliasname]
file, not an entry in the valias table. How does qmailadmin detect if 
--enable-valias
was used when compiling vpopmail? I would rather not re-compile 
vpopmail, because
everything is working as it should, the issue is with the qmailadmin 
configure script

 thinking vpopmail is using valiases when it's not.

qmailadmin uses the vpopmail library functions. The vpopmail library 
knows to do the valias probably becuase you configured it that way.


Reconfiguring vpopmail is fairly simple.

You can get your current configuration from the config.log file.
Save that configure line.

Then do something like this:
make distclean (clears out all the configuration information)
./configure (with your options and without the valias option)
make
make install-strip

Then in qmailadmin
make clean
make
make install-strip

And since your vpopmail library won't have the valias, and since you
recompiled qmailadmin, then qmailadmin won't use valias.

Hope that helps
Ken Jones


Re: [qmailadmin] vacation and forward

2005-08-31 Thread Ken Jones

[EMAIL PROTECTED] wrote:

You're right, I can create it by hand. My problem is that it will be
visible  by qmailadmin, and so, the user can disable it.

The copy is for full backup of incoming and outgoing mail. There are some
mailboxes used for customer service and we want to keep a record of all
processes, not allowing any assistant to wipe out a record.


Ah! There is an easier way. Apply the qmail-tap patch to your qmail
source code and you can configure a /var/qmail/control/taps file
to make a copy of all incoming/outgoing email.
http://www.inter7.com/?page=qmailtap

The qmail tap patch is designed for exactly what you are trying to do.
Allow the system admin to make backup copies of all incoming/outgoing
email.

Then qmailadmin will never see it. Just system admins who have
access to that /var/qmail/control/taps file





If qmailadmin doesn't let you create it you can create it by hand.

Why would you want to send a copy of the users email address someplace
else and also deliver a copy to their vpopmail box?

[EMAIL PROTECTED] wrote:


But that way I am just creating an alias, right ?
Because I can´t create a new forward with the same name of an already
existent account.
With sendmail I was able to create an alias with the same name of an
existent user (and even forward it to the same-name user). That was how
I
did the mail-copying : i create the user, an alias with the same name,
and
then forwarded the alias to the user (with the same name) and the
mailmaster repository.

With Qmail I don't know how to do this easily




Create a forward from the main menu.
Not from the user modification page

The user mod page creates a .qmail file in
the users Maildir area

The forward on the main menu creates
a .qmail-forwardname file in the
domain's main directory

[EMAIL PROTECTED] wrote:



Whenever I create a forward, either as a user (creating my own forward)
or
as postmaster creating a forward on someone account, qmailadmin always
create the same file : .qmail
This way, the user can reset the forward.

Am I doing something wrong ?





[EMAIL PROTECTED] wrote:




Hi,

I would like to have some email accounts copied/forwarded to some
other
accounts. I don't mind if the user sees that the account is being
forward
and to whom. What I don't want is that the user have the capability
of
disabling that forward. However, it should be possible for the user
to
create/change/delete his owns forwards.

If I manually change the .qmail, the forward appears in qmailadmin
but
the
user can disable it.

How can I do this ? Is it possible to this without changing the
qmailadmin
code ? (I thought about a file created by qmailadmin that would have
the
.qmail entries that should not be altered by non-admin users)



You might be able to create a forward with qmailadmin. Which
writes a .qmail-user file. The user won't be able to change
that. They could only change their own forwards.

The other way would be to use the qmail-tap patch that lets you
tap any email address and send a copy to an address of your choice.

Ken Jones
inter7.com
















Re: [qmailadmin] interface with PHP CURL

2005-08-30 Thread Ken Jones

Antoine wrote:

Antoine wrote:


Hi,
I'm searching for a way to automate creation of POP mail account  
when  a person subscribes to my web site.
With my host service, I must use qmailadmin to create mail  account.  
According to them, I can use the libcurl with PHP to  handle with  
qmailadmin.

Any ideas how I come to do it ?



We've started using php with the vpopmaild daemon.
vpopmaild was written so php programs do things
like add and delete accounts.

Ken Jones




Should I use the PHP function vpopmail_add_user() ?
It is said as experimental and could be removed at any times.


Nope. Use the vpopmail daemon interface.

Ken



Re: [qmailadmin] vacation and forward

2005-08-30 Thread Ken Jones

[EMAIL PROTECTED] wrote:

Hi,

I would like to have some email accounts copied/forwarded to some other
accounts. I don't mind if the user sees that the account is being forward
and to whom. What I don't want is that the user have the capability of
disabling that forward. However, it should be possible for the user to
create/change/delete his owns forwards.

If I manually change the .qmail, the forward appears in qmailadmin but the
user can disable it.

How can I do this ? Is it possible to this without changing the qmailadmin
code ? (I thought about a file created by qmailadmin that would have the
.qmail entries that should not be altered by non-admin users)



You might be able to create a forward with qmailadmin. Which
writes a .qmail-user file. The user won't be able to change
that. They could only change their own forwards.

The other way would be to use the qmail-tap patch that lets you
tap any email address and send a copy to an address of your choice.

Ken Jones
inter7.com


Re: [qmailadmin] Restricting Archive Retrieval For Mailing LIsts

2005-08-30 Thread Ken Jones

Josh Stutts wrote:
I have the setup from qmailrocks.org http://qmailrocks.org and I have been 
trying to institute restrictions on viewing mailing list archives to no 
avail. Every time I go through the qmailadmin panel, edit an existing 
mailing list and set the  Archive retrieval is dropdown to limited to 
subscribers then click the Modify button this never sticks. When I go back 
in to edit the same mailing list again, this option has reverted to open to 
anyone. Can someone please advise me on what could possibly be wrong. I've 
been digging around google and man pages for a few hours now and seem to be 
running in circles. Thanks,


Sounds like the qmaiadmin code is not picking up or setting this option.

Ken Jones



Re: [qmailadmin] vacation and forward

2005-08-30 Thread Ken Jones

Create a forward from the main menu.
Not from the user modification page

The user mod page creates a .qmail file in
the users Maildir area

The forward on the main menu creates
a .qmail-forwardname file in the
domain's main directory

[EMAIL PROTECTED] wrote:

Whenever I create a forward, either as a user (creating my own forward) or
as postmaster creating a forward on someone account, qmailadmin always
create the same file : .qmail
This way, the user can reset the forward.

Am I doing something wrong ?



[EMAIL PROTECTED] wrote:


Hi,

I would like to have some email accounts copied/forwarded to some other
accounts. I don't mind if the user sees that the account is being
forward
and to whom. What I don't want is that the user have the capability of
disabling that forward. However, it should be possible for the user to
create/change/delete his owns forwards.

If I manually change the .qmail, the forward appears in qmailadmin but
the
user can disable it.

How can I do this ? Is it possible to this without changing the
qmailadmin
code ? (I thought about a file created by qmailadmin that would have the
.qmail entries that should not be altered by non-admin users)



You might be able to create a forward with qmailadmin. Which
writes a .qmail-user file. The user won't be able to change
that. They could only change their own forwards.

The other way would be to use the qmail-tap patch that lets you
tap any email address and send a copy to an address of your choice.

Ken Jones
inter7.com









Re: [qmailadmin] interface with PHP CURL

2005-08-28 Thread Ken Jones

Antoine wrote:

Hi,

I'm searching for a way to automate creation of POP mail account when  a 
person subscribes to my web site.


With my host service, I must use qmailadmin to create mail account.  
According to them, I can use the libcurl with PHP to handle with  
qmailadmin.


Any ideas how I come to do it ?


We've started using php with the vpopmaild daemon.
vpopmaild was written so php programs do things
like add and delete accounts.

Ken Jones


Re: [qmailadmin] Mailinglist

2005-05-24 Thread Ken Jones
On Tuesday 24 May 2005 9:06 am, Martin Östlund wrote:
 Hello.

 One of my customers wish to send an email to all his customers
 in his webshop, for that I was thinking to create a mailinglist.

 Today he has all the emails in a mysql table, is there any way
 to import all those mailadresses from his table to the mailinglist I
 created for him in qmailadmin, instead of clicking Add Subscriber in
 Qmailadmin manually? Afaik the subscribers arent stored in the vpopmail
 mysql, they're stored in ~vpopmail/domains/domain.tld/listname/subscribers

qmailadmin only allows one at a time.

But you could write a simple script to call ezmlm-sub with the email address.
and run it from the command line.

The command line would be like:
/usr/local/bin/ezmlm-sub /path/to/mailinglist/directory emailaddress

Ken Jones


Re: [qmailadmin] List breaks when moderation is turned on.

2004-11-29 Thread Ken Jones
On Sunday 28 November 2004 8:06 pm, Oscar Retana wrote:
 Thanks Tom.

 No other ezmlm nor ezmlm-idx was installed on my system before the
 installation I did. And ezmlm-store binary was there, in the expected
 place.

 But my installation is working now!

 I did my first installation using the link for the source code provided
 in Inter7's home page (which is
 http://www.inter7.com/devel/ezmlm-0.53-idx-0.41.tar.gz). It had the
 problem I first commented.

 For my second installation, I download the ezmlm-0.53.tar.gz from
 directly from DJB home page, and then the ezmlm-idx-0.43.tar.gz from
 www.ezmlm.org. I didn't work either (this time compilation/install
 problems)

 My third installation is working: ezmlm-0.53.tar.gz from DJB home page,
 and ezmlm-idx-0.421.tar.gz from www.ezmlm.org.

 So:
 - ezmlm-0.53-idx-0.41   :(
 - ezmlm-0.53 + ezmlm-idx-0.43   :(
 - ezmlm-0.53 + ezmlm-idx-0.421  :)

 I know this is not a *solution* to the problem, but at least this
 workaround will help anybody needing a working installation *now* :)

Sounds like we could use an update to our ezmlm-idx distribution!

Ken Jones
inter7.com


Re: [qmailadmin] Hard coded paths in qmailadmin

2004-10-28 Thread Ken Jones
On Thursday 28 October 2004 05:39 am, Jason Mann wrote:
 Hi folks.

 I've just installed qmailadmin, but in a slightly different way than usual.

 For reference, my Apache server root directory is /var/www.

 I built qmailadmin with --enable-htmldir=/var/www and
 --enable-cgibindir=/var/www

 I then renamed the qmailadmin cgi binary as index.cgi, and enabled ExecCGI
 for my Apache root.

 The reason for this is so that I can access qmailadmin purely by going to
 http://mailserver/

 Initially, this seems to work. Browsing to that URL presents the qmailadmin
 login screen. However, after I enter a domain and password, my browser then
 attempts to load http://mailserver/cgi-bin/qmailadmin, which results in a
 404.

 Does anyone know how to resolve this?
Leave the qmailadmin binary in the standard place and create an index.html
that redirects to qmailadmin. Something like this:
index.html:

html
headtitleYour Page Title/title
meta http-equiv=REFRESH content=0;url=/cgi-bin/qmailadmin/head
bodyOptional page text here./body
/html


Re: [qmailadmin] is this the current qmailadmin list?

2004-10-12 Thread Ken Jones
On Tuesday 12 October 2004 02:07 pm, Jesse Guardiani wrote:
 Or is the official list being hosted on sourceforge?

Yep. This is the offical list. The project is hosted
on sourceforge and the list is hosted here.

Ken Jones


[qmailadmin] configure.in checking for c++ compiler

2004-10-06 Thread Ken Jones
I'd like to make a small change to the configure.in script.
Remove the line:
AC_PROG_CXX

This checks for a c++ compiler, which is not needed as far as I know.

Any objections?

Ken Jones



Re: [qmailadmin] can't create forward

2004-06-24 Thread Ken Jones
On Wednesday 23 June 2004 02:24 pm, Patrick Liechty wrote:
 Hello,

 I have Qmail Admin 1.2.0 on Solaris with NetQmail 1.05 and Vpopmail 5.40. 
 I create a forward in Qmail Admin but it does not create the .qmail-user
 file in the domains/domain directory.  I also checked to see if it creates
 a .qmail file in the domains/domain/user directory, but it doesn't.  I
 don't see any error messages.  It acts like it created the forward file
 successfully.  Is this a bug?

 Patrick Liechty

Does qmailadmin display the forward information?

Ken Jones


Re: [qmailadmin] limit size of mails ?

2004-06-22 Thread Ken Jones
On Tuesday 22 June 2004 05:28 am, Ulrik S. Kofod wrote:
 Is it possible to set a maximum size of accepted mails for a specific
 account?

 Like adding an account that only accepts mails smaller than 2048Kb and
 bounce everything else with a mail too big message.

 There is the databytes in /var/qmail/control but that will limit all
 mails send to all accounts on the server.

Not that I know of. The place to add that kind of functionality 
would be in the vpopmail vdelivermail program. 

Ken Jones


Re: [qmailadmin] No Aliases/Forwards to Display

2004-06-22 Thread Ken Jones
On Monday 21 June 2004 08:41 pm, Charles M. Gerungan wrote:
 I've added aliases using valias and they work fine. However, I just
 installed qmailadmin and qmailadmin tells me that there are No
 Aliases/Forwards to Display? What's wrong?

 qmailadmin 1.2.0
 vpopmail 5.4.2

No one has yet added support for valiases into qmailadmin.

Ken Jones


Re: [qmailadmin] Email Authenticity

2004-06-15 Thread Ken Jones
On Tuesday 15 June 2004 06:44 pm, [EMAIL PROTECTED] wrote:
  6/15/2004 6:31 PM



 First time post and I am a novice when it comes to qmail.



 It is a very long story, but briefly, when I send out a mailing list how do
 I know that an email bounced or someone has a bad email address.  Does it
 have anything to do with digest subscriber?



 The fellow that developed my website and gave me the qmail programs, his
 solution, was that I should print a list of my subscribers (about 500)
 before I send the intended email.  Then, after I send the email, I should
 compare list 2 with list1 and the bounced emails should not be on list 2.
 He is wrong; he admitted that I am the first account that he used qmail.

I assume you are using ezmlm. ezmlm does have the feature that it will
remove bad email addresses automatically. It doesn't happen immediately
since there is the possibility that someones mail would be down for
a few days and they shouldn't be instantly removed from the mailing list.

But in effect, he is correct. ezmlm will remove the bad email addresses
and you can determine which ones were removed by comparing the
two listings.

Ken Jones


Re: [qmailadmin] max forwards

2004-06-12 Thread Ken Jones
On Saturday 12 June 2004 12:05 pm, qmailadmin user wrote:
 Hi all,

 I think this is for Tom or Jeremy.

 I agree that using a mailing list when the number of alii/forwards
 exceeds some arbitrary number is a good thing; nonetheless, I've seen
 questions about the maximum number of alii/forwards on this list several
 times over the years.  May I offer a suggestion?

 The line numbers below refer to qmailadmin-1.2.0 (tarball is misnamed
 qmailadmin-2.2.0.tar.gz)

 In qmailadmin.h add this line:
 #define MAX_FORWARDS 5

 In user.c #916
 change
  while( tmpstr != NULL  count  5) {
 to
  while( tmpstr != NULL  count  MAX_FORWARDS) {


 IMHO this should make that constant easier for do-it-yourselfers to find
 and modify.

I agree. 
What about using the .qmailadmin-limits values for max forwards?

Ken Jones


Re: [qmailadmin] Maildir vs .maildir

2004-05-09 Thread Ken Jones
On Saturday 08 May 2004 6:17 pm, Nathan Gaida wrote:
 Is there a reason why qmailadmin is hardcoded to use Maildir?  I have my
 site set up to use .maildir, and I was able to get qmailadmin to work by
 changing the code to assume .maildir instead of Maildir.

 I was wondering why this wasn't in a config file or a compile time
 config option.

Because Maildir is the accepted standard capitalization.

Ken Jones


Re: [qmailadmin] spamassassin support quick question

2004-04-01 Thread Ken Jones
On Thursday 01 April 2004 02:03 am, Charles Sprickman wrote:
 On Thu, 1 Apr 2004, Jeremy Kitchen wrote:
  I simply wrote a patch to make it work.  I'm not a maintainer of the
  package, if they want to modify it to make it work along side with the
  existing stuff, go right ahead.  We are not using the older
  --enable-spam-command stuff with our customers, so the patch I made
  doesn't affect any of them, other than allowing their users to
  enable/disable spamassassin scanning themselves.

 OK, let me put it this way.  If I was a committer and I went and pulled
 out what you put in and put something in there that better suits my
 personal needs, would my commit bit get pulled?

 It simply would have been nice if you had left the old option intact and
 let people choose if they want the integrated spamc options or the not
 so integrated but much more flexible spamc options.

 At the very least, can you document this in the CHANGELOG and README
 files?  People besides you and your customers do use this code, that's why
 the project is over at SF.

I agree Charles. I'll work with Jeremy on keeping the old code in
and adding the new code as a new option. I've always tried to keep
each release of qmailadmin (and vpopmail) backwardsly compatible.

Ken Jones


Re: [qmailadmin] qmailadmin spamassassin on/off functionality

2004-03-31 Thread Ken Jones
On Wednesday 31 March 2004 05:29 am, rybka52 wrote:
 Hi !

 after patch i saw :

 user.c: In function `addusernow':
 user.c:498: `NO_SPAMASSASSIN' undeclared (first use in this function)
 user.c:498: (Each undeclared identifier is reported only once
 user.c:498: for each function it appears in.)
 user.c: In function `modusergo':
 user.c:862: `NO_SPAMASSASSIN' undeclared (first use in this function)
 *** Error code 1

 Stop in /home/src/qmail/qmailadmin-1.2.1.
 *** Error code 1

 vpopmail 5.4.0
 qmailadmin 1.2.0/1.2.1

You'll need the CVS version of vpopmail from sourceforge.
It has the new spamassassin code in it.

Ken Jones


Re: [qmailadmin] Compilation Problems with qmailadmin 1.2.0

2004-03-31 Thread Ken Jones
On Wednesday 31 March 2004 01:32 am, Matthew Winer wrote:
 ok I have vpopmail 5.4.3 installed and I am trying to upgrade to qmailadmin
 1.2.0.  And as I have seen posted in the archives I am not the only one
 having this issue.  I get:

 --
 alias.c: In function `show_dotqmail_lines':
 alias.c:81: `MAXALIASESPERPAGE' undeclared (first use in this function)
 alias.c:81: (Each undeclared identifier is reported only once
 alias.c:81: for each function it appears in.)
 alias.c:209: `CGIPATH' undeclared (first use in this function)
 alias.c: In function `show_dotqmail_file':
 alias.c:291: `CGIPATH' undeclared (first use in this function)
 alias.c:304: `IMAGEURL' undeclared (first use in this function)
 make[1]: *** [alias.o] Error 1
 make[1]: Leaving directory `/usr/src/qmailadmin-1.2.0'
 make: *** [all] Error 2

It looks like a timestamp problem in the tar ball.
The first time I run make from a fresh tarball off sourceforge I get:
[EMAIL PROTECTED] qmailadmin-1.2.0]# make
cd .  /bin/sh /home/devel/qmailadmin/tmp/qmailadmin-1.2.0/missing --run 
autoheader
touch ./config.h.in
cd .  /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged

After a make distclean configure and make again I don't get those
lines. I'll see what I can do about uploading a new tar ball. (I've never
done that before on sourceforge).

What you could do in the mean time is make sure you have autoheader
on your machine. It's probably in the auto-make or auto-conf packages.

Ken Jones


Re: [qmailadmin] cgibin text output

2004-02-20 Thread Ken Jones
On Thursday 19 February 2004 2:57 pm, SEFEROVIC Edvin wrote:
 Hi...

 After I installed qmailadmin, I cannot call the cgi script.  My browser
 always starts a text file download. Can anyone tell me what am I doing
 wrong? And yes - I googled, I read the manual of apache webserver, and I
 still dont know that am I doing wrong...

 TIA

 Edvin Seferovic

Probably because your web server doesn't know that qmailadmin
is a cgi program. Some web servers are configured to only think
programs that end with .cgi are to be run as cgi programs. What
usually happens is the web server sends the qmailadmin binary
as a text file that looks like garbage characters. The solution
is to re-configure your web server to run it as a cgi.

Ken Jones


Re: [qmailadmin] QmailAdmin 1.2.0 (final) released as stable

2004-01-29 Thread Ken Jones
On Thursday 29 January 2004 9:29 am, Ulrik S. Kofod wrote:
  Well i tried it all.
 
  1. With the same steps as always I get the errors as stated above. 2.
  With the suggestions from Ulrik S. Kofod I have succes!
  3. With the suggestion from Tom to touch all I have succes!
  4. With the suggestion from Tom to only touch Makefile.in I have succes!
  5. With the same steps as always after i tried everything above I get
  the same result as step 1 (as expected off course, just to be on the
  safe side)
 
  Hope to have helped you a little as well.

 Just for the record I don't recall suggesting anything, just stated that I
 got the same error messages :)

 But I'll try the above and see if that solves the problem on Trustix too.

 regards
 Ulrik

I used to do this before releasing a tar ball, to avoid any timing issues
1) ./configure
2) make (gets those errors)
3) make distclean
then tar it up

Then the next person to untar and configure won't get the messages.
It's a timestamp issue on certain files.

Ken Jones


Re: [qmailadmin] spam assassin support

2004-01-08 Thread Ken Jones
Hi David,

I checked this out. Looks really nice. One thing I can't figure
out is how to set the user_prefs directory. Do you know how
to do that?

On Tuesday 06 January 2004 10:33 pm, David Rodgers wrote:
 there is already an amazing tool for this it's called webuserprefs

 http://www.pipegrep.net/webuserprefs/

 it can use flat local.cf files or a db for spamassassin  prefs and
 manages its
 own auth via imap/pop3/squirrelmail

 if you use the mysql option you get the added benefit of not having to
 save the individual files for every user
 just one dump and you're all backed up.

 also of interest is that you can extend it's functionality pretty
 easily by adding panels to it.

 David Rodgers

 Ken Jones wrote:
 Not quite what I was looking for. I'm probably going to start
 working on some changes to add support for spam assassin,
 with a --enable-spamassassin option.
 
 Basicly to allow a user to change their user_prefs file so they
 can manage whitelisting and change their hit count.
 
 Probably it would be best to add it to a new devel version
 after 1.2 is released as stable.
 
 Does anyone have any suggestions?
 
 Ken Jones
 
 On Tuesday 06 January 2004 12:43 pm, Rick Widmer wrote:
 Kind of.
 
 --enable-modify-spam  adds a Spam detection? checkbox at the bottom of
 the modify users page.  If checked this changes the Standard delivery
 option from no .qmail file to one that contains the spam command.  It
 changes the delivery line in Vacation delivery, and the Save a copy
 option of Forward to deliveries from a direct maildir delivery to the
 spam command.
 
 The default spam command is:
 |preline /usr/local/bin/maildrop /etc/mailfilter
 
 It can be set with --enable-spam-command
 
 
 Rick
 
 Ken Jones wrote:
 Is there currently any support for spam assassin in the
 latest qmailadmin releases?
 
 Ken Jones



Re: [qmailadmin] spam assassin support

2004-01-08 Thread Ken Jones
Hi Rob,

Looks like the patch is out of date. Last hunk fails to apply.
Also, it looks like it's just the user.c changes. Are there changes
to the mod_user.html template too?

Ken Jones

On Tuesday 06 January 2004 6:36 pm, Rob Genovesi wrote:
 Hey Ken,

 I posted a patch on sourceforge awhile back regarding spam assassin
 preferences.  It's pretty hack-ish (not so good with C), but it might give
 you a few ideas.  I made changes to mod_user to allow for different spam
 actions and hit count.

 I stopped working on this awhile ago when I got distracted with other
 projects ...

 Patch request ID: 09


 cheers,

  Rob

 At 04:39 PM 1/6/2004 -0600, you wrote:
 Not quite what I was looking for. I'm probably going to start
 working on some changes to add support for spam assassin,
 with a --enable-spamassassin option.
 
 Basicly to allow a user to change their user_prefs file so they
 can manage whitelisting and change their hit count.
 
 Probably it would be best to add it to a new devel version
 after 1.2 is released as stable.
 
 Does anyone have any suggestions?
 
 Ken Jones
 
 On Tuesday 06 January 2004 12:43 pm, Rick Widmer wrote:
   Kind of.
  
   --enable-modify-spam  adds a Spam detection? checkbox at the bottom
   of the modify users page.  If checked this changes the Standard
   delivery option from no .qmail file to one that contains the spam
   command.  It changes the delivery line in Vacation delivery, and the
   Save a copy option of Forward to deliveries from a direct maildir
   delivery to the spam command.
  
   The default spam command is:
   |preline /usr/local/bin/maildrop /etc/mailfilter
  
   It can be set with --enable-spam-command
  
  
   Rick
  
   Ken Jones wrote:
Is there currently any support for spam assassin in the
latest qmailadmin releases?
   
Ken Jones



[qmailadmin] spam assassin support

2004-01-06 Thread Ken Jones
Is there currently any support for spam assassin in the
latest qmailadmin releases?

Ken Jones


Re: [qmailadmin] spam assassin support

2004-01-06 Thread Ken Jones
Not quite what I was looking for. I'm probably going to start
working on some changes to add support for spam assassin,
with a --enable-spamassassin option.

Basicly to allow a user to change their user_prefs file so they
can manage whitelisting and change their hit count. 

Probably it would be best to add it to a new devel version
after 1.2 is released as stable.

Does anyone have any suggestions?

Ken Jones

On Tuesday 06 January 2004 12:43 pm, Rick Widmer wrote:
 Kind of.

 --enable-modify-spam  adds a Spam detection? checkbox at the bottom of
 the modify users page.  If checked this changes the Standard delivery
 option from no .qmail file to one that contains the spam command.  It
 changes the delivery line in Vacation delivery, and the Save a copy
 option of Forward to deliveries from a direct maildir delivery to the
 spam command.

 The default spam command is:
 |preline /usr/local/bin/maildrop /etc/mailfilter

 It can be set with --enable-spam-command


 Rick

 Ken Jones wrote:
  Is there currently any support for spam assassin in the
  latest qmailadmin releases?
 
  Ken Jones



Re: [qmailadmin] Re: possible feature additions

2003-10-31 Thread Ken Jones
Dear Paul,

Your abusive behavior on this mailing list is not appropriate.
As administrator of the list I will have to remove you if you
can not play nicely. 

Ken Jones

On Wednesday 29 October 2003 8:36 pm, Paul L. Allen wrote:
 Jeremy Kitchen writes:

 Damn it's 2:30 am here and I really do need to go to bed.  Jeremy, rest
 assured that I have skimmed through your response and I will tear it to
 shreds when I have the time tomorrow.  And believe, me Jeremy, I will
 kick the crap out of you (I'm drunk now, and in far too good a mood
 to attack people).

 BTW, Jeremy, you don't even come close to Tom Collins for technical
 understanding, innovation or honesty.  Thank Fhuck that Tom wreested
 control from the fhuckwits at Inter 1.5.

 BTW, Jeremy, I am VERY pleasant and understanding when drunk, as I
 am now. Be prepared to have the crap kicked out of you tomorrow...




Re: [qmailadmin] question regarding qmailadmin

2003-09-24 Thread Ken Jones
On Tuesday 23 September 2003 9:22 pm, Vitaliy Sholokhov wrote:
 Hello qmailadmin,

   I've installed qmailadmin as per instructions, but when I access it
   through the browser (http://my-host.com/cgi-bin/qmailadmin) my
   browser starts to download a text file.

   I'm running FreeBSD 4.8 with apache 1.3.28

   P.S. all other scripts run fine in cgi-bin directory...

Your web server does not know it is a cgi program.
It thinks it is a file to download. Sometimes this
happens because the web server is configured to
only run cgi programs if the filename ends with .cgi

Ken Jones



Re: [qmailadmin] user forward error

2003-09-24 Thread Ken Jones
Which versions of qmailadmin and vpopmail are you using?

Ken Jones

On Tuesday 23 September 2003 10:01 pm, Medgyesi Gergely wrote:
 Hi All !

 My problem is:

 If I want to forward a mail to another address, and I create a
 forward/alias
 Everything goes WELL... BUT !!

 When a user adjusts it's own forwarding, there's a problem.

 Every forwarded mail loses it's FROM field. In fact the FROM field of
 The forwarded mail is always domain.com @ domain.com (without spaces)
 And IF I read the mails at the destination mailbox, I just can't guess
 who wrote them. BECAUSE THEY HAVE AN INVALID FROM FIELD!

 The only thing that I can't understand, that there's no such probleam if
 I set forward/alias to an other address.

 Does anyone can help me ?


 Thanks in advance,


   Gergo




[qmailadmin] devel links on inter7 updated

2003-09-10 Thread Ken Jones
I updated the qmailadmin and vpopmail links on
the inter7 devel pages to point directly at the 
sourceforge project pages.

Ken 



Re: [qmailadmin] basic question on upgrading

2003-09-10 Thread Ken Jones
On Wednesday 10 September 2003 6:22 pm, Flex-Internet.com Support wrote:
 To all:

 I just had a simple, newbie question that I am hoping somebody can give
 me guidance on.  I need to upgrade from qmailadmin 1.0.4 to 1.0.6 (it is
 currently integrated with vpopmail) - What would be the best process and
 the steps I would need to take to accomplish this task?

 Any help would be greatly appreciated - Thanks

 B. Rodak
 CMC Web Services Department

The software is designed to make this as easy as possible.

Here are the basic steps
1) run configure
Use the same configure options as you used with 1.0.4

If that finishes then

2) compile it
make

If that works, then do

3) make install-strip

That will install the new binary and the new html template files.


If you want to backup the current setup get these files
the qmailadmin binary where ever it is on the machine
the entire /usr/local/share/qmailadmin directory and it's sub directories.

Ken Jones
inter7.com



Re: [qmailadmin] bugs

2003-08-27 Thread Ken Jones
On Wednesday 27 August 2003 10:12 am, ievs wrote:
 Hello.

 I have a problem with delayedbounce attacks.. are there any patches 2
 this r just  echo '/dev/null' ~alias/.qmail-default 

echo #  ~alias/.qmail-default is what you want instead of
the /dev/null line.

Ken Jones
inter7.com




Re: [qmailadmin] Location of 1.0.25

2003-08-14 Thread Ken Jones
On Tuesday 05 August 2003 13:06, David Hubbard wrote:
 Anyone know where to find qmailadmin 1.0.25 that
 ISS seems to think exists to fix a high risk
 issue in 1.0.24?

 http://xforce.iss.net/xforce/xfdb/12737

 I don't see it anywhere on
 http://inter7.com/qmailadmin.html or
 http://www.inter7.com/develop.html

 David

I updated the qmailadmin devel package on inter7.com
http://www.inter7.com/develop.html

Thanks David,

Ken Jones
inter7.com




Re: [qmailadmin] Squirrelmail Theme and New Look for qmailadmin

2003-07-22 Thread Ken Jones
Use the template system from vqadmin. 
We use it in dnsadmin and several other cgi applications. 

On Tuesday 22 July 2003 00:23, Tom Collins wrote:
 On Monday, July 21, 2003, at 10:01  PM, Chris Hallgren wrote:
  I have a request for devlopment of this. Instead of using raw updating
  of
  files. Maybe incoperating a patch to the c files.

 Once we release a stable version (1.0.25?  1.0.26?) we're going to
 start a 1.1 development tree.  One of the first things to go into this
 tree will be to move ALL html out of the source code and into the
 template files.  This should allow for somnioworld.com to release their
 set of templates without having to alter any of the QmailAdmin source.

 We've found something on freshmeat.net called Flate that should work
 well, but we're open to other template systems for C if you know of any.

 --
 Tom Collins
 [EMAIL PROTECTED]
 http://sniffter.com/ - info on the Sniffter hand-held Network Tester




[qmailadmin] Re: [vchkpw] Seamless Integration - Finally Posted - New Look, Feel, and Navigation for Qmailadmin

2003-07-16 Thread Ken Jones
I'd like to see it too. I'm interested in adding in access
to dnsadmin in a frame.

Ken Jones


On Wednesday 16 July 2003 12:31 pm, spork wrote:
 On Wed, 16 Jul 2003, Justin Couto wrote:
  Maybe if I get time in the future I could put an example up, but I am
  not sure when that will be.

 To save yourself a little work, how about a few select screenshots?  I'm
 sure there's plenty of people that are curious, but not quite curious
 enough that they're going to install it.

 Thanks,

 Charles

  Justin C.
 
  -Original Message-
  From: Linux [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, July 15, 2003 5:44 PM
  Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
  Subject: Re: [vchkpw] Seamless Integration - Finally Posted - New Look,
  Feel, and Navigation for Qmailadmin
 
  Do you have an URL that we can look at to see this in action?  I would
  love
  to do something like this myself!
 
  Thank you,
 
  Linux
 
   Hello Everyone,
  
   I am writing in response to someone that asked how we seamlessly
   integrated squirrelmail and qmailadmin using iframes and so a user
   doesn't have to login to each application after initially logging in.
  
   This was a pretty simple task using PHP.
  
   Instruction:
  
   First we created our administrative shell.  This contained a header
 
  and
 
   a footer in two separate PHP files.
  
   Next we created our own login.php file that asked for a username and
   password.  This script included the header.php and the footer.php
  
   Once a person submits the login form contained in the login.php page,
 
  we
 
   use PHP pop functions to authenticate them on our mail servers.  If
   there is a successful authentication, we break the email address apart
   into 3 variables.  The variables are username, domainname, and
 
  password.
 
   These variable are then added into a session and the users gets
   redirected to our squirrmail.php login script.
  
   Our squirmail.php script includes our header.php script, the line for
   the Iframe that points to the squirmail login script and our
 
  footer.php
 
   script.
  
   Our header.php script keeps the session running.  At the top of the
 
  page
 
   in the header script we have a navigation bar with 2 icons in it.  The
   icons point to our squirmail.php and our qmailadmin.php scripts.
  
   Our qmailadmin.php script is setup exactly like out squirrelmail.php
   script.  It contains the header that keeps the seesion information and
 
  a
 
   line that includes the Iframe that points to the qmailadmin login
 
  script
 
   and our footer.php script.
  
   The two icons in the header that allow you to switch between the two
   different application have dtnamic links that get built by the
   information stored in the session.  So basically the username and
   password get passed through the links when they are clicked.  The
 
  links
 
   are built and populated via the session variables.
  
   This all works like a charm.
  
   I realize I could have been a little clearer explaining this, but I
   figure most of you with programming experience should be able to
 
  figure
 
   it out.
  
   I hope this helps.
  
   Justin C.





Re: [qmailadmin] Finally Posted - New Look, Feel, and Navigation for Qmailadmin

2003-07-14 Thread Ken Jones
Very Nice. I really like it. 
I would vote Yes to using it as the new interface look.

Looks like there are some hard coded hosts names in
the show_login.html template. 

Do you have any examples of using iframe to incorporate
qmailadmin into other web applications? 

Thanks
Ken Jones

On Monday 14 July 2003 7:56 pm, Justin Couto wrote:
 Hello Everyone,

 My business partners and I finally had the time to put up our changes to
 the qmailadmin interface.  We have changed the look and feel and
 navigation.  Our changes make it a snap to iframe qmailadmin into other
 web applications.  This is the main reason we changed it.  We also
 changed the way adding, managing, and deleting forwards and mailing
 lists are displayed in an attempt to make it less confusing to the user.
 I wrote a few weeks back asking who I should send the changes to and I
 was told to post them for download.  As a result, we have set up a URL
 where you can go and download our changes.  We have also added screen
 shots so you can see what some of the changes look like before do your
 install.  We have tested everything heavily and as far as we know there
 are no bugs.

 I hope this helps some of you and we really hope it gets adopted as the
 new qmailadmin interface.  Please give us feedback in the mailing list
 and if you would like to see these changes in future releases of qmail
 admin please show your support.

 To download the new look and feel, please visit:

 http://www.somnioworld.com/qmailadmin.php

 Thanks all!

 Justin C.




Re: [qmailadmin] qmailadmin 1.0.15 - vlimits.h

2003-03-24 Thread Ken Jones
In the vpopmail source code, copy the vlimits.h file
to the ~vpopmail/include directory.

I'll be releasing a new devel version of vpopmail 5.3.20 at
end of day tomorrow that automatically copies this file during
make install-strip

Ken Jones

On Monday 24 March 2003 02:13 pm, Christian Axelsson wrote:
 Trying out 1.0.15:

   lanil qmailadmin-1.0.15 # make
   gcc -I. -I/var/vpopmail/include  -g -O2 -c qmailadmin.c
   qmailadmin.c:31:21: vlimits.h: No such file or directory
   qmailadmin.c:66: storage size of `Limits' isn't known
   make: *** [qmailadmin.o] Error 1

 1.0.12 works fine.

 ./configure output:

 lanil qmailadmin-1.0.15 # ./configure --enable-modify-quota=y
 --enable-imagedir=/home/httpd/htdocs/qmailadmin/images/
 --enable-htmldir=/home/httpd/htdocs/qmailadmin/
 --enable-imageurl=/qmailadmin/images/
 loading cache ./config.cache
 checking for a BSD compatible install... (cached) /bin/install -c
 checking whether build environment is sane... yes
 checking whether make sets ${MAKE}... (cached) yes
 checking for working aclocal... found
 checking for working autoconf... found
 checking for working automake... found
 checking for working autoheader... found
 checking for working makeinfo... found
 checking host system type... i686-unknown-linux
 checking for gcc... (cached) gcc
 checking whether the C compiler (gcc  ) works... yes
 checking whether the C compiler (gcc  ) is a cross-compiler... no
 checking whether we are using GNU C... (cached) yes
 checking whether gcc accepts -g... (cached) yes
 checking for ranlib... (cached) ranlib
 checking for strerror in -lcposix... (cached) no
 checking how to run the C preprocessor... (cached) gcc -E
 checking for AIX... no
 checking for crypt in -lcrypt... (cached) yes
 checking for crypt in -lshadow... (cached) yes
 checking for floor in -lm... (cached) yes
 checking for gethostbyaddr in -lnsl... (cached) yes
 checking for getsockname in -lsocket... (cached) no
 checking whether we should prohibit caching... no
 checking whether to require ip authentication... yes
 checking whether to display user index... yes
 checking whether to allow admins to modify user quotas... yes
 checking whether to show help pages... no
 checking for ezmlm-idx... yes
 checking for dirent.h that defines DIR... (cached) yes
 checking for opendir in -ldir... (cached) no
 checking for ANSI C header files... (cached) yes
 checking for unistd.h... (cached) yes
 checking for working const... (cached) yes
 checking for size_t... (cached) yes
 checking whether struct tm is in sys/time.h or time.h... (cached) time.h
 checking for getcwd... (cached) yes
 checking for mkdir... (cached) yes
 checking for strdup... (cached) yes
 checking for strstr... (cached) yes
 creating ./config.status
 creating Makefile
 creating config.h

 Current settings
 ---

cgi-bin dir = /home/httpd/cgi-bin
   html dir = /home/httpd/htdocs/qmailadmin/
  image dir = /home/httpd/htdocs/qmailadmin/images/
  image URL = /qmailadmin/images/
   template dir = /usr/local/share/qmailadmin/
  qmail dir = /var/qmail
   vpopmail dir = /var/vpopmail
  ezmlm dir = /usr/bin
  ezmlm idx = yes

 Regards

 ---
 Christan Axelsson
 [EMAIL PROTECTED]




Re: [qmailadmin] Email archive/Store (NASD rule)

2003-03-23 Thread Ken Jones
Read the FAQ that comes with the qmail source.
8.2. How do I keep a copy of all incoming and outgoing mail messages?

Answer: Set QUEUE_EXTRA to Tlog\0 and QUEUE_EXTRALEN to 5 in extra.h.
Recompile qmail. Put ./msg-log into ~alias/.qmail-log.

You can also use QUEUE_EXTRA to, e.g., record the Message-ID of every
message: run

   | awk '/^$/ { exit } /^[mM][eE][sS][sS][aA][gG][eE]-/ { print }'

from ~alias/.qmail-log.

On Sunday 23 March 2003 01:06 am, Krishna Dagli wrote:
 Hi,

 As per NASD rule, now I have to store each and every email which goes
 out or comes onto my mail server for atleast 3 years. For incoming
 mails I can create a duplicate email ID and forward/copy incomming
 mails to duplicate emailID. For outgoing mails what can be done, I was
 thinking on the line of recordio or something like that. Is there any
 other better way to do this. Please suggest.

 Thanks
 ==
 Krishna




Re: [qmailadmin] Qmailadmin 1.0.12 and login via GET querystring

2003-03-22 Thread Ken Jones
On Friday 21 March 2003 05:42 pm, Holger Seidenberg wrote:
 Hi all,
 is login via GET still working on qmailadmin 1.0.12 
 It should be working since version 1.0.6 see changelog
 01/09/03
   - update login code to use a GET to login like:
 https://host/cgi-bin/qmailadmin?username=postmaster;
 domain=yourdomainpassword=your_postmaster_password

 Holger

Very strange. I just confirmed what you found in all of my development 
versions. 

In any case, I posted http://www.inter7.com/devel/qmailadmin-1.0.14.tar.gz
that puts this functionality back in.

Thanks alot for pointing this out!

Ken Jones




[qmailadmin] qmailadmin 1.0.13 devel release

2003-03-20 Thread Ken Jones
The new qmailadmin 1.0.13 devel release is available
http://www.inter7.com/devel/qmailadmin-1.0.13.tar.gz

ChangeLog here:
http://www.inter7.com/devel/qmailadmin/ChangeLog

Ken Jones



[qmailadmin] Another new devel release 1.0.12

2003-02-27 Thread Ken Jones
New release with major re-working of the mailing list screens.
Nice workTom!

http://www.inter7.com/devel/qmailadmin-1.0.12.tar.gz

Changes:
02/27/03Tom Collins
  - *Major* overhaul of add/modify mailing list code and interface.
  - New entries to en lanuage file for mailing list interface

Ken Jones
  - update all language files to include English text for the
new mailing list entries.

I think 1.0.12 could be our new production release canidate.
Please try it out and report any problems.

All the language files (except English) need translations for
the last 30 or so new entries for the mailing list pages.

Thanks,
-- 
- Ken Jones




[qmailadmin] 1.0.11 devel release

2003-02-26 Thread Ken Jones
here is the latest release:

http://www.inter7.com/devel/qmailadmin-1.0.11.tar.gz

Changes:
1.0.11
02/26/03Dorneles Tremea
  - Removed files 'Makefile.in.orig' and 'Makefile.in.rej'
  - Added item 260 to enable 'Routing' translation, on both
'mod user noquota.html' and 'mod user quota.html' files.
  - Updated Brazilian Portuguese translation file.

Ken Jones
  - new --enable-imagedir=[dir] configure option to control what
directory to place the image files in.
Default is DocumentRoot/images/qmailadmin

  - new --enable-imageurl=url configure option to control the URL
to access the images.
Default is http://machine/images/qmailadmin

1.0.10
02/25/03Tom Collins
  - Replace the generic red buttons used everywhere with special 
buttons
for delete and modify.

  - Replace the buttons in the user list for setting the CatchAll 
account
with a set of radio buttons.  This is a slight improvement, but 
could
use more work, specifically in how remote and bounce CatchAll are
displayed.

  - Move delete and modify buttons to the left side of row 
information,
especially in rows of varying length that are right align.
Note that trash.png is a modified version of an icon from KDE and
modify.png is an icon from GAIM (both GPL products, so re-use of 
icons
should be OK).

  - Honti Miki
Updated Hungarian translation

  - Nicolas Croiset
Updated French translation

  - Michael Bowe
configure.in syntax error for maxaliasesperpage fixed

-- 
- Ken Jones




Re: [qmailadmin] new hungarian language file

2003-02-25 Thread Ken Jones
On Sunday 23 February 2003 18:22, Honti Miki wrote:
 hi,

 here is the new hungarian translation.

 when will be a new stable relase? i want to post one more update befor it.

 thx to everybody for qmailadmin, it is a very good tool.

 bye

 Miki

Hi Miki,

I put your new translation into  the devel  version.
I think the new release might be released as stable in a few weeks.

-- 
- Ken Jones




Re: [qmailadmin] Updated Patch, UI improvements

2003-02-25 Thread Ken Jones
On Monday 24 February 2003 13:23, Tom Collins wrote:
 I've updated my patch from last Friday to include a nicer trash icon (

Hi Tom,

I just applied your patches and new images files. Looks really nice!
I updated the 1.0.10 tarball on www.inter7.com/devel/ to have your
changes (as well as Miki's new Hungarian translation)

-- 
- Ken Jones




Re: [qmailadmin] Passwords

2003-02-25 Thread Ken Jones
On Monday 17 February 2003 12:06, Steve Mallett wrote:
 Where does Qmailadmin look for passwords?

 I can successfully create new domains, add users etc, but cannot login
 through pop3 to get these new user's mail.

 Adding new users for existing domains results in the same thing. Can't
 log in.  I can get into the server, look at the new domains and the
 users created as well as the mail that is in the que.

 I must have a bad permission somewhere, but where?

 Steve Mallett

Passwords are stored by vpopmail. The default vpopmail installation
stores the passwords in vpasswd (clear text) and vpasswd.cdb (constant
database format). vchkpw is the vpopmail program to use in  pop 
authentication.

-- 
- Ken Jones




Re: [qmailadmin] qmailadmin not displaying properly

2003-02-25 Thread Ken Jones
Sounds like the web server doesn't know where to find the image
files. Normally these files are under
DocumentRoot/images/qmailadmin
There should be a bunch of files there.

Ken

On Monday 24 February 2003 23:44, Ryan wrote:
 Hello,

 Just installed qmailadmin. I'm able to login and but it
 does not display any images or buttons. I get just the
 login boxes (username/domain/pass). After logining in,
 I get the list of options, but no graphics. Obviously
 I can't do much without any buttons...

 Apache (1.3.26) is working fine with PHP (4.3) and
 Mysql(3.25) and vpopmail (5.3.14) and qmail. ezmlm
 .53 and autoresponder 2.02. I'm sure I've missed some
 thing, a permission, or a config option. I complied QA
 with:

 qmailadmin-1.0.6

 ./configure --enable-ezmlmdir=/usr/bin \
 --enable-htmldir=/var/www \
 --enable-maxpopusers=25 \
 --enable-maxaliases=5 \
 --enable-maxforwards=5 \
 --enable-maxautorepsonders=5 \
 --enable-maxmailinglists=1 \
 --enable-cgibindir=/usr/lib/cgi-bin/

 Any ideas?



 Ryan

-- 
- Ken Jones




Re: [qmailadmin] fr patch for 1.0.10

2003-02-25 Thread Ken Jones
On Friday 21 February 2003 11:56, Nicolas Croiset wrote:
 Hello,

 this is my new patch for the fr language.

 Bye.

Hi Nicolas,

Your updated French translation is in the devel version.

-- 
- Ken Jones




Re: [qmailadmin] what's wrong with qmailadmins aliases

2003-02-20 Thread Ken Jones
The dot qmail file in the users Maildir needs to be named .qmail
Not .qmail-username. 

Ken Jones
inter7.co

On Friday 14 February 2003 06:13, Thorsten Voss wrote:
 hi list...

 i'm using qmailadmin on all our servers for almost one year now.
 the main problem we had with it is the way local aliases are handled.
 let's see following scenario:

 we have a mailbox and create an alias for that mailbox.
 now the user owning the mailbox makes a forwarder or a vacation message.
 now a email is sent to our alias... and it is delivered directly into out
 mailbox - the .qmail-file in the mailbox directory IS IGNORED!

  SAME IS FOR CATCH-ALLS!!!  and this is a serious problem!!!

 i've hacked the way qmailadmin creates aliases so it makes a forwarder to
 [EMAIL PROTECTED] instead. don't know if there is any better way.

 what do others think about that ?! is it a bug or a feature?!

 would it be better to change qmailadmin's way it creates aliases or to
 change the vdeliver-program to recognise the .qmail-file?

 bye
 thorsten voss

-- 
- Ken Jones





Re: [qmailadmin] Unlisted dependancy with MySQL?

2003-02-03 Thread Ken Jones
Check your /home/vpopmail/etc/lib_deps and inc_deps files.
qmailadmin automatically uses the contents of those files
to determine what to include in the link lines.

Ken Jones

On Monday 03 February 2003 11:27, Joshua Coombs wrote:
 I'm attempting to build qmailadmin ontop of FreeBSD 4.7

 Version 1.0.6 is in ports, and configures cleanly, but durring build trips
 over missing mysql libs.  Now I've taken great care to make sure I never
 specify to use mysql anywheres when building qmail, vpopmail, etc.  The
 port entry also does not list mysql as a dependancy.  The qmailadmin
 requirements list only have mysql as an optional dependancy.

 Unfazed I went, and yanked down 1.0.9, the latest devel cut, ran configure
 with no options, and proceeded to attempt a make.  Again mysql, or the lack
 there of reared it's head.

 gcc  -march=i486 -Os -pipe  -o qmailadmin  qmailadmin.o alias.o
 autorespond.o forward.o  mailinglist.o user.o util.o auth.o template.o
 command.o show.o cgi.o  limits.o dotqmail.o -L/usr/local/vpopmail/lib
 -lvpopmail -L/usr/local/lib/mysql -lmysqlclient -lz -lm -lcrypt
 /usr/libexec/elf/ld: cannot find -lmysqlclient

 Is there something I should be doing differently to convince qmailadmin I
 in no way want mysql support included nor is it going to ever see mysql
 libs?

 Joshua Coombs

-- 
- Ken Jones





Re: [qmailadmin] TEST.deliver fail

2003-02-03 Thread Ken Jones
I would look for mail.kjos.no in /var/qmail/control/*
and in /var/qmail/users/assign
also look for /var/qmail/alias/.qmail-default
also look for /home/vpopmail/domains/mail.kjos.no
and /home/vpopmail/domains/mail.kjos.no/.qmail-default


It is deliverying the email locally. 

On Monday 03 February 2003 13:06, Øystein Kjosavik wrote:
 When I send the nonexistent:
 Local-error test: Send a message to a nonexistent local address.
   % echo to: nonexistent | /var/qmail/bin/qmail-inject

 /var/log/qmail
 @40003e3ed3d615d47e4c status: local 0/10 remote 0/20
 @40003e3ed3d615d495bc end msg 64918
 @40003e3ed3fb15a0953c new msg 64918
 @40003e3ed3fb15a0d3bc info msg 64918: bytes 212 from
 [EMAIL PROTECTED] qp 17572 uid 500 @40003e3ed3fb160e04dc starting
 delivery 5: msg 64918 to local [EMAIL PROTECTED]
 @40003e3ed3fb160e3b8c status: local 1/10 remote 0/20
 @40003e3ed3fb17370fd4 delivery 5: success: did 0+0+1/
 @40003e3ed3fb17374e54 status: local 0/10 remote 0/20
 @40003e3ed3fb173769ac end msg 64918

 I have setup qmail like the  http://www.sxpress.com/~henry/ tells me:




 Med vennlig hilsen
 Øystein Kjosavik

 SCANDINAVIAN ELECTRIC AS
 Dir.tlf.: 55 50 60 42
 Faks: 55 50 60 99
 Mobil: 40 40 21 62
 E-post: [EMAIL PROTECTED]

 Besøk vår hjemmeside;
 http://www.scel.no

 EXCELLENCE IN ELECTRIC

-- 
- Ken Jones





Re: [qmailadmin] LDAP

2003-02-03 Thread Ken Jones
You need to specifiy the ldap libraries on the link line.
Normally these are automatically setup by vpopmail's
configure. You can edit the Makefile and add lines for
-lyour ldap library -Lpath to your ldap libraries

Ken Jones

On Monday 03 February 2003 14:39, Tomas Correa wrote:
 I´m trying to compile qmailadmin with vpopmail LDAP option

 This is the vpopmail configure options.
 ./configure \
 --enable-ip-alias-domains=y \
 --enable-auth-logging=y \
 --enable-qmail-ext=y \
 --enable-roaming-users=y \
 --enable-relay-clear-minutes=60 \
 --enable-defaultquota=5120 \
 --enable-learn-passwords=y \
 --enable-admin-email=postmaster@MAQUINA.$DOMINIO \
 --enable-default-domain=$MAQUINA.$DOMINIO \
 --enable-ldap=y \
 --enable-logging=e


 This is the qmailadmin configure option

 ./configure --enable-htmldir=/var/www/html
 --enable-cgibindir=/var/www/cgi-bin/

 and I got this error:

 gcc -I. -I/home/vpopmail/include  -g -O2 -c util.c
 gcc -I. -I/home/vpopmail/include  -g -O2 -c auth.c
 gcc -I. -I/home/vpopmail/include  -g -O2 -c template.c
 gcc -I. -I/home/vpopmail/include  -g -O2 -c command.c
 gcc -I. -I/home/vpopmail/include  -g -O2 -c show.c
 gcc -I. -I/home/vpopmail/include  -g -O2 -c cgi.c
 gcc -I. -I/home/vpopmail/include  -g -O2 -c limits.c
 gcc -I. -I/home/vpopmail/include  -g -O2 -c dotqmail.c
 gcc  -g -O2  -o qmailadmin  qmailadmin.o alias.o autorespond.o forward.o
 mailinglist.o user.o util.o auth.o template.o command.o show.o cgi.o
 limits.o dotqmail.o -L/home/vpopmail/lib -lvpopmail -lnsl -lm -lcrypt
 /home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth getpw':
 /var/src/qmail-toaster/src/vpopmail-5.2.1/vauth.c:87: undefined reference
 to `ldap init'
 /var/src/qmail-toaster/src/vpopmail-5.2.1/vauth.c:93: undefined reference
 to `ldap simple bind s'
 /var/src/qmail-toaster/src/vpopmail-5.2.1/vauth.c:100: undefined reference
 to `ldap search s'
 /var/src/qmail-toaster/src/vpopmail-5.2.1/vauth.c:107: undefined reference
 to `ldap first entry'
 /var/src/qmail-toaster/src/vpopmail-5.2.1/vauth.c:108: undefined reference
 to `ldap count entries'
 /var/src/qmail-toaster/src/vpopmail-5.2.1/vauth.c:119: undefined reference
 to `ldap get values'
 /var/src/qmail-toaster/src/vpopmail-5.2.1/vauth.c:197: undefined reference
 to `ldap value free'
 /var/src/qmail-toaster/src/vpopmail-5.2.1/vauth.c:199: undefined reference
 to `ldap get values'
 /var/src/qmail-toaster/src/vpopmail-5.2.1/vauth.c:214: undefined reference
 to `ldap value free'
 /var/src/qmail-toaster/src/vpopmail-5.2.1/vauth.c:216: undefined reference
 to `ldap get values'
 /var/src/qmail-toaster/src/vpopmail-5.2.1/vauth.c:227: undefined reference
 to `ldap value free'
 /var/src/qmail-toaster/src/vpopmail-5.2.1/vauth.c:236: undefined reference
 to `ldap value free'
 /var/src/qmail-toaster/src/vpopmail-5.2.1/vauth.c:241: undefined reference
 to `ldap get values'
 /var/src/qmail-toaster/src/vpopmail-5.2.1/vauth.c:254: undefined reference
 to `ldap value free'
 /var/src/qmail-toaster/src/vpopmail-5.2.1/vauth.c:257: undefined reference
 to `ldap get values'
 /var/src/qmail-toaster/src/vpopmail-5.2.1/vauth.c:264: undefined reference
 to `ldap value free'
 /var/src/qmail-toaster/src/vpopmail-5.2.1/vauth.c:269: undefined reference
 to `ldap value free'
 /var/src/qmail-toaster/src/vpopmail-5.2.1/vauth.c:272: undefined reference
 to `ldap get values'
 /var/src/qmail-toaster/src/vpopmail-5.2.1/vauth.c:275: undefined reference
 to `ldap value free'
 /var/src/qmail-toaster/src/vpopmail-5.2.1/vauth.c:278: undefined reference
 to `ldap get values'
 /var/src/qmail-toaster/src/vpopmail-5.2.1/vauth.c:281: undefined reference
 to `ldap value free'
 /home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth getall':
 /var/src/qmail-toaster/src/vpopmail-5.2.1/vauth.c:322: undefined reference
 to `ldap init'
 /var/src/qmail-toaster/src/vpopmail-5.2.1/vauth.c:328: undefined reference
 to `ldap simple bind s'
 /var/src/qmail-toaster/src/vpopmail-5.2.1/vauth.c:335: undefined reference
 to `ldap search s'
 /var/src/qmail-toaster/src/vpopmail-5.2.1/vauth.c:344: undefined reference
 to `ldap first entry'
 /var/src/qmail-toaster/src/vpopmail-5.2.1/vauth.c:348: undefined reference
 to `ldap get values'
 /var/src/qmail-toaster/src/vpopmail-5.2.1/vauth.c:363: undefined reference
 to `ldap next entry'
 /var/src/qmail-toaster/src/vpopmail-5.2.1/vauth.c:367: undefined reference
 to `ldap get values'
 /var/src/qmail-toaster/src/vpopmail-5.2.1/vauth.c:373: undefined reference
 to `ldap value free'


 Does anyone know what is wrong?

-- 
- Ken Jones





[qmailadmin] New 1.0.9 devel version

2003-01-24 Thread Ken Jones
A new devel version is  available for the changes from Brian Kolaci
and Oden Erikson. I was able to compile on both RedHat 7.3 Linux
and Solaris 5.8!

Download URL:
http://www.inter7.com/deve/qmailadmin-1.0.9.tar.gz

1.0.9
01/24/03  - Makefile.am had 8 spaces instead of a tab

Brian Kolaci
  - make qmailadmin posix complient
remove the fts_ functions
implemented scandir() and bkscandir() functions
fixed memory leak in alias functions that used scandir

Oden Eriksson
  - Makefile.am: use DESTDIR variable

-- 
- Ken Jones





[qmailadmin] New 1.0.8 devel version available

2003-01-21 Thread Ken Jones
The latest devel version is available: 1.0.8

Two changes:
1) On modify mailing list, for sites with ezmlm-idx installed,
Quota was being displayed instead of Prefix - fixed

2) New help files!
The help files are broken out into a separate tar .gz file
since it is about 2Meg. Big thanks to the folks at 
http://www.cfes.ca for the help text. 

I took out most of the references to cfes.ca except for
a Author's link at the top of the main help page.

ChangeLog: http://www.inter7.com/qmailadmin/ChangeLog
Source http://www.inter7.com/devel/qmailadmin-1.0.8.tar.gz
New Help Files:
http://www.inter7.com/devel/qmailadmin-help-1.0.8.tar.gz

Please report any problems to the mailing list so we can
clean up this release for a 1.1 production version.

Thanks,
-- 
- Ken Jones





Re: [qmailadmin] New 1.0.8 devel version available

2003-01-21 Thread Ken Jones
On Tuesday 21 January 2003 15:07, Oden Eriksson wrote:
 tisdagen den 21 januari 2003 21.03 skrev Ken Jones:
  The latest devel version is available: 1.0.8

 Cool!

  Please report any problems to the mailing list so we can
  clean up this release for a 1.1 production version.

 Here's my latests swedish translation file for v1.0.8

 Svenskar bör korrekturläsa denna och/eller ge synpunkter.

 Chears.

Nice. Your file is in the 1.0.8 distro now.

-- 
- Ken Jones





Re: [qmailadmin] New 1.0.8 devel version available

2003-01-21 Thread Ken Jones
On Tuesday 21 January 2003 17:00, Michael Bowe wrote:
  -Original Message-
  From: Ken Jones [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, 22 January 2003 7:04 AM
  To: [EMAIL PROTECTED]
  Subject: [qmailadmin] New 1.0.8 devel version available
 
 
  The latest devel version is available: 1.0.8
 
  2) New help files!
  The help files are broken out into a separate tar .gz file
  since it is about 2Meg. Big thanks to the folks at
  http://www.cfes.ca for the help text.

 If you follow the INSTALL doc for the help files,
 the help files wont be installed into the location
 pointed to by the links on the qmailadmin login page

 The INSTALL doc says to copy the helps files into :
   /var/www/html/images/qmailadmin
 but the links on the login page are expecting the
 files to be in :
   /var/www/html/images/qmailadmin/help

 Michael.

Thanks. I updated the directions. What do you think about including
the help files in the qmailadmin tarball?
-- 
- Ken Jones





Re: [qmailadmin] Working on new 1.0.7 version

2003-01-14 Thread Ken Jones
On Monday 13 January 2003 08:10 pm, Michael Bowe wrote:
  -Original Message-
  From: Ken Jones [mailto:[EMAIL PROTECTED]]
  Sent: Friday, 10 January 2003 7:49 AM
  To: [EMAIL PROTECTED]
  Subject: [qmailadmin] Working on new 1.0.7 version
 
  I'm putting together a new 1.0.7 version.
  So anyone with updated code, or bug reports.
  Please post the information here.

 On the Email Accounts screen, at the top of the page, a count of the
 total number of email accounts is displayed

 In qmailadmin-1.0.4 this count was labelled Total:

 In qmailadmin-1.0.5 and later, the wording there incorrectly says Total
 Moderators:

 This is because token 228 was altered in the html/en file for the 1.0.5
 release.

 I took a bit of a look through the html/en file to see if there was another
 suitable token to use, however I didn't see any likely candidates.
 Therefore I would suggest that a new token be created (maybe call it Total
 Accounts: or something like that), and the template updated accordingly.

 Michael

Added a new line to the end of the language files for Total Accounts.

Also added a line for Prefix on the add mailing list screen. It was showing
Quota (MB).

Ken Jones





Re: [qmailadmin] French translation for 1.0.7

2003-01-13 Thread Ken Jones
On Sunday 12 January 2003 04:41 am, Honti Miki wrote:
  My problem is, I don't want people will can put no quota or have a quota
  greater than --enable-defaultquota parameter in vpopmail.


domain quota's have always been supported via the following method
1) Create file system quota on a directory. In RedHat it would normally
be the /home directory

2) Create a regular /etc/passwd system user account

3) Assign a quota to the users home directory

4) Create the domain under the users home dir. 
example: /home/vpopmail/bin/vadddomain -u username domainname

5) Change qmailadmin to be setuid root
Example:
-rwsr-sr-x1 root root   104424 Jan 10 14:36 qmailadmin

This will allow qmailadmin to manage the domain owned by the user.

The OS will then efficently control the quota on the domain. 
This is the most efficent way we have found to handle domain 
based quotas. Any method that counts incoming emails and
deletion of emails via sqwebmail/pop/imap carries a much high
transaction level cost. For small sites this processing cost will
probably not be noticed. But as the number of transactions increase,
this cost can become prohibitive.

 also would be grate the per-domain-quota, what about this? i remember,
 that was on the list some mail about this, but i did not find any doc
 about .qmailadmin-limits in the 1.0.7 tar. shuld i use the latest vqadmin?
I always do :)

 also would be good if in .qmailadmin-limits would be available
 for example an disable_quota_modify, and the root could set this per
 domain.
Perhaps someone can write a patch to the lastest vqadmin to support
all the new qmailadmin 1.0.7 features.

Ken Jones


 in the changelog the version number 1.0.6 missed.

 thank you for your work, qmailadmin is a realy good stuff.

 bye

 Miki





Re: [qmailadmin] Show subscribers not working

2003-01-13 Thread Ken Jones
On Monday 13 January 2003 10:41 am, Ross Davis - DataAnywhere.net wrote:
 I just did an upgrade this weekend to the latest devel versions and I
 have a problem.

 I setup a new mailing list and everything is working except my show
 subscribers and show digest subscribers.  The show moderators works, but
 not the other 2.

 The subscribers are being added into the mysql database and the list
 works.  I just can't see the subscribers on screen.

 TIA

 Ross Davis

Is anyone seeing this for non-mysql ezmlm lists with
the new 1.0.7 version?

Ken Jones





Re: [qmailadmin] New 1.0.7 01/13/2003 version available

2003-01-13 Thread Ken Jones
No one has sent me a patch like that.

Ken Jones

On Monday 13 January 2003 02:19 pm, tonix (Antonio Nati) wrote:
 Ken,

 speaking as provider, it does not make sense to me just let postmasters to
 decrease their user's quota (they will never do it), nor letting them to
 increase as they want (I don't want it!).

 I've read here in the past that someone made a nice patch, using the
 postmaster's quota as pool to use as general quota of the domain. Each new
 user, or each increased quota value for any user would be decreased from
 postmaster's quota, any deletion of user or any decrease of user's quota
 would increase the postmaster's quota.

 I'ld like to see that patch included, it would solve my problems (and a lot
 of other providers too, I think).

 It would enought to do that only within qmailadmin, without touching
 vpopmail.

 Tonino

 At 13/01/03 13/01/03 -0600, Ken Jones wrote:
 On Monday 13 January 2003 01:41 pm, tonix (Antonio Nati) wrote:
   Ken,
  
   one question.
  
   Which patch is this? The one using the postmaster's quota as pool from
   which to add and subtract users quotas, or does just let postmaster
   modify quota without any limit?
 
 I just checked the code, in user.c and it looks like the quota patch
 allows for setting the quota to any value. Just added new code to
 #ifdef ENABLE_MODIFY_QUOTA in the add and modify user code
 to completely disable setting quota's if --enable-modify-quota=n
 
 Also just updated the add_user template to use add_user_quota.html
 and add_user_noquota.html depending on MODIFY_ENABLE_QUOTA
 
 I wonder if we should change the code so it won't let the postmaster
 increase a quota above the default quota set in .qmailadmin-limits ?
 
 Ken
 
   Tonino
  
   At 13/01/03 13/01/03 -0600, Ken Jones wrote:
   I've integrated all the patches people have sent in,
   including the quota support patch.
   
   ChangeLog: http://www.inter7.com/qmailadmin/ChangeLog
   Source: http://www.inter7.com/devel/qmailadmin-1.0.7.01132003.tar.gz
   
   A new configure option is available
   --enable-modify-quota=y/N (default is no)
   
   Enable this option to yes will display the quota change
   field in the modify user section to allow domain admins (postmaster)
   to change the quota for any user. The default is to not allow
   anyone to change to quota. Hopefully this should fit the needs
   of sites that want quota change and those sites who do not
   want to allow it. The default gives the old behavior.
   
   Please give this one a good work out!
   Once there are no problems found we can release
   this as the new stable version.
   
   Ken Jones
   inter7.com
  
   
Inter@zioniInterazioni di Antonio Nati
   http://www.interazioni.it  [EMAIL PROTECTED]
   

 
  Inter@zioniInterazioni di Antonio Nati
 http://www.interazioni.it  [EMAIL PROTECTED]
 





Re: [qmailadmin] New 1.0.7 01/13/2003 version available

2003-01-13 Thread Ken Jones
On Monday 13 January 2003 04:03 pm, Alan Murrell wrote:
 Hello,

 This may be a *little* off-topic, but not by too much,
 I hope...

 --- Ken Jones [EMAIL PROTECTED] wrote:
  Enable this option to yes will display the quota
  change field in the modify user section to allow

 Is this independent of, say, Vpopmail's quota support?
  For example, if this quota option is disabled in
 Qmailadmin, we can still control a mailbox quota using
 Vpopmail, correct?

 Actually, would this even have an effect on Vpopmail
 mailboxes, or it it really only for users in the
 /etc/passwd (or equivalent) file? (i.e., real
 accounts)

The qmailadmin quota code works with vpopmail's
quota code. Same system.

Ken Jones





Re: [qmailadmin] Which Version is most stable program? combin vpopmail and qmailadmin

2003-01-10 Thread Ken Jones
Use vpopmail-5.3.12. It is stable and will be promoted to
a new 5.4 once we finalize a new qmailadmin 1.0.7
On Wednesday 25 December 2002 09:36 pm, Dai Uehara wrote:
 Hi,All

 I saw many times like this problem in this MailingList!

  qmailadmin.c:29: vpopmail.h: No such file or directory
  qmailadmin.c:30: vauth.h: No such file or directory
  make[2]: *** [qmailadmin.o] Error 1
  make[2]: Leaving directory `/root/qmail/qmailadmin-1.0.6'
  make[1]: *** [all-recursive] Error 1
  make[1]: Leaving directory `/root/qmail/qmailadmin-1.0.6'
  make: *** [all-recursive-am] Error 2

 Now I have same problem with below the soft.

 I use:
 qmailadmin-1.0.6
 vpopmail-5.2.1
 autorespond-2.0.2
 ezmlm-0.53
 Turbolinux 8.0 Server
 qmail-1.0.3


 I tried to vpopmail-5.2.1 with qmailadmin-1.0.5,but It's same!

 Then I got vpopmail-5.3.12 from inter7.com and compiled same way.
 Yes! It's no problem at all.
 But it's Development Versions.

 I tried to read the sorce files, but It's little bit difficult for me(^^).

 I think ,It's vpopmail-5.2.1 bugs!

 any body Can compile vpopmail-5.2.1 with qmailadmin-1.0.6?

 any help pleace. Thank you!

 //dai at dai-dai.com
 Dai Uehara
 [EMAIL PROTECTED]
 //dai-dai.com at dai





Re: [qmailadmin] two bugs in qmailadmin-1.0.6

2003-01-09 Thread Ken Jones
Yep, This is the right place to post bugs.

Ken

On Wednesday 08 January 2003 04:01 pm, Paul Theodoropoulos wrote:
 Is this not the right place to send bug reports? i don't see anything about
 a 'bugs' mailing list on the inter7 webpages.

 At 02:13 AM 01-06-2003, Paul Theodoropoulos wrote:
 if you modify an existing list, and change it from message moderation to
 no message moderation, the 'mailing lists' screen will report
 
  file permission error .qmail-mail-accept-default
  file permission error .qmail-mail-reject-default
 
 most likely because when you go from moderation to no moderation, those
 two links should be either removed, or not referenced. i removed the links
 by hand, and it stopped the error reporting.
 
 the other problem is in the html templates - codes 222 and 084 are
 reversed, so when you show subscribers, the text delete subscriber is
 listed above the subscriber names, and subscriber address is listed
 above the column of buttons with which you delete the subscribers. to fix,
 i just copied the text associated with 222 and placed it after 084 - and
 vice versa.
 
 
 Paul Theodoropoulos
 http://www.anastrophe.com
 http://folding.stanford.edu
 The Nicest Misanthrope on the Net

 Paul Theodoropoulos
 http://www.anastrophe.com
 http://folding.stanford.edu
 The Nicest Misanthrope on the Net





[qmailadmin] Working on new 1.0.7 version

2003-01-09 Thread Ken Jones
Hi,

I'm putting together a new 1.0.7 version. 
So anyone with updated code, or bug reports.
Please post the information here.

Paul Theodoropoulos: I have your posting
about the file permissions error. I'll try to
update the code.

Main change I needed was an easier way to
automatically log into qmailadmin via a url link.
Does anyone see a problem with that? 
Besides the obvious possibility of seeing the
login information in the url link.

A typical URL would be similar to:
https://hostname/cgi-bin/qmailadmin?username=postmaster
domain=somedomain.compassword=postmaster_password

Ken Jones





Re: [qmailadmin] Help - Invalid Login

2002-10-18 Thread Ken Jones
Some qmail rpm packages install a crontab entry which
over writes the /var/qmail/users/assign file with only entries
from /etc/passwd. I think it runs about once an hour.
That might be the problem. 

Ken Jones

On Tuesday 15 October 2002 05:04 pm, Trevor Henderson wrote:
 This has probably been asked loads of times before, but I can't find the
 answer. So hopefully someone can help me out.

 I have installed the following to a mandrake 8.2 system:
 qmail-1.03-20rph.i586.rpm
 ucspi-tcp-0.88-1.i386.rpm
 ezmlm-0.53-2.i386.rpm
 vpopmail-5.2.1.tar.gz
 qmailadmin-1.0.6.tar.gz
 autorespond-2.0.2.tar.gz

 I have apache httpd running
 I have setup a domain with
 vadddomain your new domain name pick a postmaster password

 I have done vdeldomain  vadddomain a number of times in an attempt to get
 this working.

 When I login to qmailadmin, I get an Invalid Login message in qmailadmin.

 I have cheched the details look correct in
 /home/vpopmail/domains/homemail/vpasswd

 My httpd/error_log has messages

 [Wed Oct 16 21:09:02 2002] [error] [client 192.168.1.10] client denied by
 server configuration: /var/www/cgi-bin/qmailadmin



 Many thanks

 Trev.




 ---
 Outgoing mail is certified Virus Free.
 Checked by AVG anti-virus system (http://www.grisoft.com).
 Version: 6.0.400 / Virus Database: 226 - Release Date: 09/10/2002





Re: [qmailadmin] still file permission errors

2002-10-18 Thread Ken Jones
So this is only happening when switching a mailing list from
moderated to non moderated?

If so, I'll add it to the TODO list. Sounds like some files are not
being cleaned up during the switch.

ken Jones

On Monday 14 October 2002 03:17 pm, Thomas Haberland wrote:
 Hi,

 I found a few reports about the file permission errors into the mailing
 archive, but I can't find a working solution for it. If I miss the right
 answer, please send me a copy, thanks.


 Here is my problem:

 I was using qmailadmin 1.0.4 and vpopmail 5.3.7, but same errors happened
 again after upgrading to the current releases 1.0.6 and 5.3.8.

 On a produktion web server the working qmailadmin reports file permission
 errors since a few days. The entire server is unchanged since weeks, I'm
 absolutly certain about, but the problem occurs since a few days only.
 Still have no explaining about this. ;-)

 When changing a moderated mailing list to not moderated qmailadmin
 reports these errors:

   file permission error .qmail-test1-accept-default
   file permission error .qmail-test1-reject-default

 The symlink still exists, but the linked sources not.

 Second mystery:
 Before this problem occurs, all mailinglist's were configured to be non
 moderated lists. A few days ago we noticed the mailing lists doesn't work
 anymore ... they were changed from non moderated to moderated ... ?? And we
 can't reconfigure them back.

 Any solution to fix the first problem or explain the second mystery is
 welcome.

 Thanks,
 Thomas





Re: [qmailadmin] Menu's disappear

2002-10-07 Thread Ken Jones

On Sunday 06 October 2002 11:04 am, Tom wrote:
 Hello,
   I have installed vQadmin and changed the administrator for
 qmailadmin through the use of vqadmin and now the menus in qmailadmin
 are missing. Only for the administrator of the domain. Regular users
 work fine. Anyone else have this happen?

 Thanks!!
 -Tom

I think the default vqadmin sets most of the
user forwards fields to zero. This will be changed
in the next version to -1 unlimited.

If the .qmailadmin-limits file has zero for any entry,
it tells qmailadmin not to display those options.
Which would make the menus appear to be missing.

Try editing the .qmailadmin-limits file and removing those lines.
Then edit your vqadmin/html/ template files for adding a domain
and change the default values to -1

That should do it
Ken Jones




Re: [qmailadmin] qmailadmin with ezmlm and mysql: table creation

2002-08-30 Thread Ken Jones

On Friday 30 August 2002 09:26 am, Ajai Khattri wrote:
 Jones wrote:
  It would be nice if qmailadmin created the tables automatically.
  Anyone want to submit code to do that?

 man mysqldump

That's about as far away from anything helpful that I've seen
in a long time. 

Ken Jones



Re: [qmailadmin] QmailAdmin 1.0.6 installation issue

2002-08-30 Thread Ken Jones

Looks like vpopmail was not installed correctly. 
vpopmail will setup some a libs_dep and incs_dep file
in vpopmails etc directory.

qmailadmin's configure reads those files to find out what
libraries to use. 

Looks like vpopmail wasn't installed correctly.

Ken Jones

On Friday 30 August 2002 11:07 am, Thiago Campos wrote:
 Hi,

 I'm trying to install QmailAdmin in my RH 7.3 box with Vpopmail 5.2.1 and
 MySQL Vpopmail is working fine with mysql.

 When ido the ./configure everything looks great.

 The first time i did the make i got that vpopmail.h and vauth.h could not
 be found, then i changed all the *.c files with the full path of vpopmail.h
 and vauth.h and it solved the problem.

 Now when i do the make i got the following error:

 /tmp/qmailadmin-1.0.6/user.c:760: undefined reference to `vclose'
 /tmp/qmailadmin-1.0.6/user.c:768: undefined reference to `vclose'
 /tmp/qmailadmin-1.0.6/user.c:771: undefined reference to `vpasswd'
 /tmp/qmailadmin-1.0.6/user.c:775: undefined reference to `verror'
 /tmp/qmailadmin-1.0.6/user.c:782: undefined reference to `vauth_getpw'
 /tmp/qmailadmin-1.0.6/user.c:784: undefined reference to `vauth_setpw'
 /tmp/qmailadmin-1.0.6/user.c:794: undefined reference to `vauth_getpw'
 /tmp/qmailadmin-1.0.6/user.c:800: undefined reference to `vdelfiles'
 /tmp/qmailadmin-1.0.6/user.c:812: undefined reference to `vclose'

 What could be wrong?

 Regards

 Thiago




Re: [qmailadmin] qmailadmin with ezmlm and mysql: table creation

2002-08-30 Thread Ken Jones

Sure, a script could work. But the same problem remains,
someone has to do the work to write the script and test it.

Ken

On Friday 30 August 2002 11:09 am, David Koski wrote:
 Hi,

 Why not call an external script?

 david

 On Thu, 29 Aug 2002 22:48:02 -0600

 Tren Blackburn [EMAIL PROTECTED] wrote:
  Hey Ken;
 
  I'm not entirely sure this is a good idea.  There would either have to
  be a fair bit of user checking to ensure that the database is created,
  the right user is there, etc.  Or you would have to impose limits such
  as you must create the tables under the vpopmail database, can only use
  the vpopmail user and password.  I guess if qmailadmin is to make the
  tables automatically, that might be the best, but personally I like to
  keep the two separate.  Does anyone else have any ideas/opinions?  I've
  only got 0.02$CDN which right now is worth about a peso.  ;)
 
  Tren
 
   -Original Message-
   From: Jones [mailto:[EMAIL PROTECTED]]
   Sent: Thursday, August 29, 2002 9:55 PM
   To: [EMAIL PROTECTED]
   Subject: Re: [qmailadmin] qmailadmin with ezmlm and mysql:
   table creation
  
  
  
   It would be nice if qmailadmin created the tables
   automatically. Anyone want to submit code to do that?
  
   Ken Jones
  
   On Thursday 29 August 2002 09:11 pm, Tren Blackburn wrote:
Hi;
   
1) Qmailadmin never stated it would do the work for you.  You'll
notice it's labeled as enable sql support  It's well
  
   documented on
  
the ezmlm site on how to make the tables.
   
2) That's a question for the ezmlm list
   
Regards,
   
Tren
   
 -Original Message-
 From: David Koski [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, August 29, 2002 7:42 PM
 To: [EMAIL PROTECTED]
 Subject: [qmailadmin] qmailadmin with ezmlm and mysql: table
 creation


 Hello,

 I have found the following problems with qmailadmin:

 * Creating an ezmlm mail list does not create the nessary MySQL
 tables.  If the tables already exist, then list creation works
 correctly.

 * Indexed for WWW archive access. reverts to unselected after a
 [Modify].

 Are the above known limitations?

 How do you get the WWW archive to work?  qmailadmin
  
   invoked archive
  
 creation seems to put the necessary files in
 /home/vpopmail/domain/thedomain.com/LIST/archive .  Now what?

 Regards,
 David Koski
 [EMAIL PROTECTED]




Re: [qmailadmin] confused about unlisted users in qmailadmin (1.06)

2002-08-30 Thread Ken Jones

Could you do me a favor and try the 5.3.8 version.
I'd be willing to track down your problems if you could use
the latest versions. That way I can help improve the new code.

I think the link is:
http://www.inter7.com/devel/vpopmail-5.3.8.tar.gz

Please let me know your results. you'll need to recompile qmailadmin
after you start using vpopmail 5.3.8

Very nice diagnostic information. Can't go wrong with too much
diagonstic infos

Ken Jones
inter7.com

On Friday 30 August 2002 12:34 pm, Jessie Bryan wrote:
 Hello,

 Im a bit confused about the problem with users not shown in qmailadmin.
 I thought the case was if one was once using cdb, and upgraded to 5x of
 vpopmail, then users would not show. I however, am not using cdb. I have
 mysql setup for auth, and am using vpopmail 5.2.1. I am getting similar
 problem with no users being listed, however it seams since I've recompiled
 vpopmail, newly created domains have this error, and older domains do not.
 I did verify that all users created are listed in the vpopmail table.

 I do not see any differences between domains that DO list mailboxes, and
 new domains that don't. New users created in domains that do list users do
 not list in qmailadmin. I do not have a vpasswd file anywhere on the system
 othen than ~vpopmail/bin/vpasswd. the qmailadmin binary is vpopmail.vchkpw
 with setuid and setgid (default make install-strip modes). I have tried
 qmailadmin 1.04 and 1.02 with identical results. I doubt it matters, but
 /home/vpopmail is a symlink to /home/vpopmail-5.2.1.

 If anyone can spread some insight that would be great! Thanks.





Re: [qmailadmin] qmailadmin with ezmlm and mysql: table creation

2002-08-29 Thread Ken Jones

Don't worry, no one will write the code, trust me :)

On Thursday 29 August 2002 11:48 pm, Tren Blackburn wrote:
 Hey Ken;

 I'm not entirely sure this is a good idea.  There would either have to
 be a fair bit of user checking to ensure that the database is created,
 the right user is there, etc.  Or you would have to impose limits such
 as you must create the tables under the vpopmail database, can only use
 the vpopmail user and password.  I guess if qmailadmin is to make the
 tables automatically, that might be the best, but personally I like to
 keep the two separate.  Does anyone else have any ideas/opinions?  I've
 only got 0.02$CDN which right now is worth about a peso.  ;)

 Tren

  -Original Message-
  From: Jones [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, August 29, 2002 9:55 PM
  To: [EMAIL PROTECTED]
  Subject: Re: [qmailadmin] qmailadmin with ezmlm and mysql:
  table creation
 
 
 
  It would be nice if qmailadmin created the tables
  automatically. Anyone want to submit code to do that?
 
  Ken Jones
 
  On Thursday 29 August 2002 09:11 pm, Tren Blackburn wrote:
   Hi;
  
   1) Qmailadmin never stated it would do the work for you.  You'll
   notice it's labeled as enable sql support  It's well
 
  documented on
 
   the ezmlm site on how to make the tables.
  
   2) That's a question for the ezmlm list
  
   Regards,
  
   Tren
  
-Original Message-
From: David Koski [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 29, 2002 7:42 PM
To: [EMAIL PROTECTED]
Subject: [qmailadmin] qmailadmin with ezmlm and mysql: table
creation
   
   
Hello,
   
I have found the following problems with qmailadmin:
   
* Creating an ezmlm mail list does not create the nessary MySQL
tables.  If the tables already exist, then list creation works
correctly.
   
* Indexed for WWW archive access. reverts to unselected after a
[Modify].
   
Are the above known limitations?
   
How do you get the WWW archive to work?  qmailadmin
 
  invoked archive
 
creation seems to put the necessary files in
/home/vpopmail/domain/thedomain.com/LIST/archive .  Now what?
   
Regards,
David Koski
[EMAIL PROTECTED]




Re: inserting reply-to header in mailinglist posts (Re: maillist

2001-12-04 Thread Ken Jones

Does the current qmailadmin 1.0 ezmlm template allow for
the headeradd setting?

Ken

On Tue, 2001-12-04 at 21:46, [EMAIL PROTECTED] wrote:
 
 ezmlm allows this through the headeradd file (IIRC).  You just add the
 appropriate Reply-To header.
 
 On Wed, 5 Dec 2001, Philippe Landau wrote:
 
  thanks a lot for qmailadmin, it has been greatly improved.
  
  At 0:02 Uhr -0500 19.10.2001, Che' Stevens wrote:
  After setting up a mailing list through qmailadmin it works, but one problem.  
  How can the reply-to be set to the list email addy.  
  Is there anyway to do this so when I click reply to an email it goes back to the 
group.  
  Thanks.
  
  does ezmlm allow this ?
  are there plans to allow setting this through qmailadmin ?
  
  kind regards philippe
  
 
 James Smallacombe   PlantageNet, Inc. CEO and Janitor
 [EMAIL PROTECTED]   http://3.am
 =
 
 





Re: Make file blues

2001-11-28 Thread Ken Jones

Besides it looking like the chown happens before the
install of qmailadmin binary, what is the problem?
What doesn't work?

Ken Jones

On Wed, 2001-11-28 at 01:02, Brent B.Powers wrote:
 
 I don't know why I seem to be the only one crying about these odd
 problems. Here's the output from a 'make install-strip':
 
 # make install-strip
 make  AM_INSTALL_PROGRAM_FLAGS=-s install
 make[1]: Entering directory `/usr/src/qmail/qmailadmin-1.0'
 make[2]: Entering directory `/usr/src/qmail/qmailadmin-1.0'
 make[3]: Entering directory `/usr/src/qmail/qmailadmin-1.0'
 /bin/sh ./mkinstalldirs /home/httpd/cgi-bin
 chown vpopmail /home/httpd/cgi-bin/qmailadmin
 chgrp vchkpw /home/httpd/cgi-bin/qmailadmin
 chmod u+s,g+s /home/httpd/cgi-bin/qmailadmin
 /bin/sh ./mkinstalldirs  /usr/local/share/qmailadmin/
   /usr/bin/install -c -s qmailadmin /home/httpd/cgi-bin/qmailadmin
 /bin/sh ./mkinstalldirs  /usr/local/share/qmailadmin//html 
 cp -R html/*  /usr/local/share/qmailadmin//html
 /bin/sh ./mkinstalldirs  /home/httpd/html/images
 /bin/sh ./mkinstalldirs  /home/httpd/html/images/qmailadmin
 cp -R images/*/home/httpd/html/images/qmailadmin
 make[3]: Leaving directory `/usr/src/qmail/qmailadmin-1.0'
 make[2]: Leaving directory `/usr/src/qmail/qmailadmin-1.0'
 make[1]: Leaving directory `/usr/src/qmail/qmailadmin-1.0'
 
 
 So, what's the problem? the chown, chgrp and chown is done _before_
 the install.
 
 I've no idea how standard install is, but how about replacing:
 
 chown vpopmail /home/httpd/cgi-bin/qmailadmin
 chgrp vchkpw /home/httpd/cgi-bin/qmailadmin
 chmod u+s,g+s /home/httpd/cgi-bin/qmailadmin
 /bin/sh ./mkinstalldirs  /usr/local/share/qmailadmin/
   /usr/bin/install -c -s qmailadmin /home/httpd/cgi-bin/qmailadmin
 
 with:
 
 /bin/sh ./mkinstalldirs  /usr/local/share/qmailadmin/
   /usr/bin/install -g vchkpw -o vpopmail -m 6755 -c -s qmailadmin 
/home/httpd/cgi-bin/qmailadmin
 
 I think that will do it. Works on linux and freebsd
 





Re: qmailadmin version 1.0 released

2001-11-27 Thread Ken Jones

On Tue, 2001-11-27 at 09:25, Cedric Fontaine wrote:
 Hi !
 
 Just finished the install of vpopmail 5.0 and now trying to install
 qmailadmin 1.0 !
 
 When I'm trying to log on qmailadmin, I've got an error 500. And here
 part of Apache Log...
 
 error.log
 [Tue Nov 27 16:16:32 2001] [error] [client 80.8.26.150] Premature end of script
 headers: /home/ovh/cgi-bin/qmailadmin
 
 cgi.log
 [2001-11-27 16:21:26]: info: (target/actual) uid: (vpopmail/vpopmail) gid: (vchk
 pw/vchkpw) cmd: qmailadmin
 [2001-11-27 16:21:26]: error: file is either setuid or setgid: (/home/ovh/cgi-bi
 n/qmailadmin)

Yep, qmailadmin is setuid and setgid. Your will need to change
your web server to allow setuid/setgid before qmailadmin can run.

Ken Jones





Re: Undeclared Variables

2001-11-26 Thread Ken Jones

On Fri, 2001-11-23 at 11:49, Green Onyx wrote:
 I'm receiving the error below during my qmailadmin compile, I've never
 received this in the past but after my upgrades over the past day I receive
 it now on both .45 and 1.0.  I get the error whether I do a default
 ./configure, or whether I specify my options manually.  From what I can tell
 the variables are in the config.h.in properly, but they don't get carried to
 the config.h during the configure.  Any ideas on why they aren't carrying
 over and getting defined?
 
 gcc -I.   -g -O2 -c alias.c
 alias.c: In function `show_dotqmail_lines':
 alias.c:67: `MAXALIASESPERPAGE' undeclared (first use in this function)
 alias.c:67: (Each undeclared identifier is reported only once
 alias.c:67: for each function it appears in.)
 alias.c:149: `CGIPATH' undeclared (first use in this function)
 alias.c: In function `show_dotqmail_file':
 alias.c:239: `CGIPATH' undeclared (first use in this function)
 
 
 The only error I notice on configure is this...
 cat: /home/vpopmail/etc/inc_deps: No such file or directory
 cat: /home/vpopmail/etc/lib_deps: No such file or directory

That's your problem. Sounds like vpopmail 5.0 didn't get
installed completely.

Ken Jones





Re: Send logininfo for qmailadmin from form?

2001-11-26 Thread Ken Jones

On Thu, 2001-11-22 at 15:47, Kristian Rønningen wrote:
 Hi,
 
 Is it possible to gather login-information for qmailadmin in a regual 
 html-form and pass it to qmailadmin as POST? (to skip the regular 
 qmailadmin login.)
 
 We have our users already logged in and it would be nice to keep them 
 logged in..

Sure. Just send the web server the same info that the qmailadmin
login page would send.

ken Jones




qmailadmin version 1.0 released

2001-11-26 Thread Ken Jones

Hey All (and Mr Bill)

qmailadmin-1.0 is released as of now as stable/production ready.

We can put any new changes in a 1.1 development release.

Bill: This is your tar ball of 1.0. I double checked everything
on my development machine with this release and it looks swt!

Ken








Re: qmailadmin version 1.0 released

2001-11-26 Thread Ken Jones

On Mon, 2001-11-26 at 15:11, Bill Shupp wrote:
 
 On Monday, November 26, 2001, at 03:06 PM, Ken Jones wrote:
 
  Hey All (and Mr Bill)
 
  qmailadmin-1.0 is released as of now as stable/production ready.
 
  We can put any new changes in a 1.1 development release.
 
  Bill: This is your tar ball of 1.0. I double checked everything
  on my development machine with this release and it looks swt!
 
  Ken
 
 Excellent!  I'll get the champagne...
 
 Cheers,
 
 Bill Shupp

Just had a major flash back to finishing finals in college.
Took so much work to get this 1.0 version out the door it's
kinda hard to enjoy it! hahah

Ken





Re: qmailadmin images dir

2001-11-22 Thread Ken Jones

On Thu, 2001-11-22 at 03:46, =d0Mi= wrote:
 
   Hi all !!
 
   First of all I'd like the thank all of You
   who's developing qmailadmin (and vpopmail too)
   for the well done work !!
 
   Thank You !
 
   Now the question
   How can I choose the location of ../images
   directory ? 
 
   I use --with-html-libdir=/some/path/qmadmin
   and it works fine, all templates is in
   /some/path/qmadmin/html BUT png's is still
   in doc_root/images
 
   Or am I missing something here ???
 
   This is propably not a big problem, everything
   is workin jus fine but its quite annoying though...
   At the same time I think it's quite easy to fix in future
   releases...
 
   I guess the most of us have a standard images directory
   in docroot for mainsite ( I do... :-) and want to keep
   application specific images separated from them...
 
   So, why not let images dir allways follow --html-libdir
   or have an --images-dir option in config...

It's the old GPL addage. The folks working on the code
are scratching an itch. When the itch is gone there is
no need to change it. It works for most of the folks,
works for me, works for Bill Shupp.

Fixed.. hmmm.. yes.. hmm.. needs fixing, not to me.
Works great for me.

If you want something changed then do what all of us 
have to do. Come up with a convincing argument for the
change, make the change, test it, we add it to the release,
then you support folks on the mailing list who can't
get it working because of your changes :)

The images have to be accessible via an http request, unless
you can come up with the code to send the images within
the first http data stream. 

Ken Jones





next qmailadmin 1.0 canidate

2001-11-16 Thread Ken Jones

The next qmailadmin 1.0 canidate is up
http://www.inter7.com/devel/qmailadmin-1.0.tar.gz

This is Bill Shupp's 1.0 release with two small additions
1) Makefile.am install-exec-local section no longer tests
   if /etc is not writable (man, that was bone head code there)
   Now it just sets the ownership permission of qmailadmin

2) Some new INSTALL changes. qmailadmin must be configured as
   root so it can read vpopmails libraries, etc.

A demo is available at
http://mail.inter7.com/cgi-bin/qmailadmin
domain: test.com
pass: test

I really like the new .png files :)

Ken Jones






Change POP account to Email account?

2001-11-16 Thread Ken Jones

Just talking to Oden Eriksson ...

What do you folks think about changing the word POP to Email?

Like: POP accounts
To  : Email accounts

His point is the accounts aren't just for pop, they can
be used for imap and webmail too (for example).

I agree with him, what do you folks think?

Ken






Re: qmailadmin 1.0 canidate

2001-11-13 Thread Ken Jones
  stopped working with recent releases.
  
  Dave
  
  -Original Message-
  From: IceBerg [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, November 13, 2001 8:35 AM
  To: Ken Jones; [EMAIL PROTECTED]
  Subject: Re: qmailadmin 1.0 canidate
  
  
  Does not compile for me.  I do a ./configure --enable-htmldir=/var/apache
  --enable-cgibindir=/var/apache/cgi-bin, then I edit the Maeile adding this
  line:  INCLUDES = -I/var/vpopmail/include -I.  Then do a make and it fals on
  it's facee real hard with pages of undefined referances.  Everything else
  compiles fine, qmail, vpopmail5, courier-imap.  qmailadmin seems to be the
  only problem.  Here is the setup:
  
  Clean Slackware8 instalation.
  Qmail 1.03
  Vpopmail 5.0
  autorespond 1.0.0
  daemontools 0.76
  dot-forwardv0.71
  ezmlm 0.53
  fastforward 0.51
  mysql 3.23.44
  apache 1.3.22
  kernel 2.4.14
  
  
  Rick Widmer
  Internet Marketing Specialists
  http://www.developersdesk.com
  
 
 





Re: qmailadmin 1.0 canidate

2001-11-13 Thread Ken Jones

On Tue, 2001-11-13 at 03:45, Oden Eriksson wrote:
 måndagen den 12 november 2001 23.21 Ken Jones wrote:
  The final qmailadmin 1.0 canidate is available now
  http://www.inter7.com/devel/qmailadmin-1.0.tar.gz
 
  There are no known problems with this release. If
  no problems are reported in the next two days we will
  release this version as 1.0 to work with vpopmail-5.0.
 
 Hi Ken,
 
 I have a thing I would like to change and that is that the word POP is 
 misleading and should be replaced with mail.
 
 For example in this text, POP account.
 
 So, I will only be able to edit POP Accounts, and not any of my IMAP 
 accounts then?
 
 To not confuse the postmaster, and to change to a more abstract way of 
 describing, I would prefer all the POP references be replaced with just 
 mail. (Mail Account)
 
 Ehh..., do I make some sense here?

I like that idea. Makes more sense to me.
We will need to change all the language files.

Ken





qmailadmin 1.0 canidate

2001-11-12 Thread Ken Jones

The final qmailadmin 1.0 canidate is available now
http://www.inter7.com/devel/qmailadmin-1.0.tar.gz

There are no known problems with this release. If
no problems are reported in the next two days we will
release this version as 1.0 to work with vpopmail-5.0.

Please test it.

Ken Jones






Re: vpopmail compatible filter?

2001-10-24 Thread Ken Jones

On Wed, 2001-10-24 at 06:15, Howard Jones wrote:
 Hi,
 
 What mail filters do people use with vpopmail/qmailadmin? I have procmail running 
happily with system users on qmail, but I didn't
 have any luck getting it to run with vpopmail - presumably because the 'user' for 
all vpopmail mailboxes is the same...
 
 Is there a drop-in filter for vpopmail, ideally with web-based admin, although that 
would really just be a bonus?

We are working on eps and efilter as plugins to support virus and spam
filtering. But we are quite a way off from a web interface.

Ken





Re: default value of vacation time response

2001-10-17 Thread Ken Jones

On Wed, 2001-10-17 at 05:54, Mathieu Meylan wrote:
 hi all,
 
 with qmailadmin 0.87 you have the vacation option
 
 the .qmail file of the vacation enabled mailbox is like following :
  
 | /opt/qmail/bin/autorespond 86400 3 \
 /var/spool/popmail/domains/test.com/0/H/username/vacation/message \
 /var/spool/popmail/domains/test.com/0/H/username/vacation
 
 How do you modify the default value 86400 to apply to every new vacation accounts ?
 
 is at qmailadmin compilation time ?

Yes.

Ken Jones

 
 Tanks,
 
 Mat
 
 





Re: 0.87 candidate

2001-10-11 Thread Ken Jones

On Wed, 2001-10-10 at 09:10, Sylwester S. Biernacki wrote:
 
 On Tuesday, October 09, 2001, 2:48:27 AM, Bill wrote:
 
  Ken, all:
 
  I've posted a QmailAdmin 0.87 candidate:
 
 I was asking some time ago for one little 'feature' in qmailadmin.
 Lots of people ask me for it and I think this point of view is clear
 for me (I would think just like them :P).
 
 In accounts list there is Index and letters of the alphabet :
 After clicking on i.e. letter 'b' I get a page with accounts starting
 at a,b,c and so on. It looks different when you have 50 accounts of
 course, but when I click on letter 'a' I would like to get ONLY
 accounts starting at letter a. IMHO it's not good now. I thought even
 about changing sources, but after version changes I should have to
 patch it :(((
 Can you (or anyone else) change these few lines of code and put it in future
 release?

Unfortunately the code section you are talking about is a few
hundred lines. 

Ken Jones




Re: --enable-clear-passwd=y issue

2001-10-11 Thread Ken Jones

Hey Bill,

Got the script. it's in the vpopmail/contrib directory.

I'm going to test vpopmail 5.0 on a solaris machine.
Once it builds correctly I'll release 5.0 stable.
Probably tomorrow.

Then lets release qmailadmin-0.90 as stable.
I don't have need for the simplified mailing list
creation section anymore. So that could be added
later if we want. I'll also test 0.87 today.

Nice work
Ken

On Mon, 2001-10-08 at 12:52, Bill Shupp wrote:
 on 10/8/01 11:01 AM, Ken Jones at [EMAIL PROTECTED] spake:
 
  On Sat, 2001-10-06 at 16:23, Bill Shupp wrote:
  Ken,
  
  Oden Eriksson found a qmailadmin issue (which I've confirmed) when
  converting from --enable-clear-passwd=n to --enable-clear-passwd=y.  Here's
  the scenario:
  
  1. Compile vpopmail with --enable-clear-passwd=n (or before it was
  available)
  2. Create domain notclear.com
  3. Recompile vpopmail with --enable-clear-passwd=y
  4. Create domain clear.com
  5. Compile qmailadmin
  
  At this point, qmailadmin will work correctly with clear.com.  But if you
  login to notclear.com, show_users() will just display No users left to
  view, please return to the previous page (or in Oden's case: Inga fler att
  visa, ‘tervSnd till fsreg‘ende sida : )).
  
  This is happening during pw = vauth_getall(dom,1,1).  Is there a way to make
  vauth_getall() backwards compatible with --enable-clear-passwd=n so this
  doesn't happen?  What do you suggest?
  
  Hi Bill,
  
  I suggested updating the table definition to have the clear password
  column.
 
 
 This is the *cdb* module, which means you have to edit all the vpasswd files
 by hand.
 
 
  Incidentally, if you use the mysql modules, you'll get an error when logging
  that the clear password field doesn't exist.  The cdb module will let you
  login, and you only see the problem when clicking on POP Accounts.
  
  It's not backwardly compatible. I think one of the docs
  mentions that.
  
  Ken
 
 Ok.  Then we should probably add to the UPGRADE file that if you're using
 cdb, then you should run a conversion script from the contrib directory if
 you want to use clear passwords.  I've found that running 'vmoduser -C 
 user@domain' will add the trailing : to the vpasswd entry.  Here's a
 possible script that could convert all the domains, like this:
 
 #!/bin/bash
 
 DOMAINSDIR=/home/vpopmail/domains
 VPOPMAILBIN=/home/vpopmail/bin
 
 for i in `ls $DOMAINSDIR` ; do
 VPASSWD=$DOMAINSDIR/$i/vpasswd
 if [ -f $VPASSWD ] ; then
 echo converting $i ...
 for v in `cat $VPASSWD | awk -F: '{ print $1 }'` ; do
 $VPOPMAILBIN/vmoduser -C  $v@$i
 done
 fi
 done
 
 





  1   2   3   >