RE: [vchkpw] Re: vpopmail with Postifix

2004-04-28 Thread Joseph Schmitt II
> (http://www.credentia.cc/research/surveys/smtp/200304/)
>   8244 38.78% Sendmail
>   3707 17.44% Microsoft IIS/Other
>   1981 9.32% qmail
> 
> Shows qmail in the number 3 slot. 

I'm hoping you don't consider MS IIS/SMTP service as a MDA... And
remember as a MTA, it probably has no real associated users.



> As I stated, we are an ISP, not an end user.  I think our stats will 
> tend to reflect what the majority of ISP (hence majority of 
> high volume mail servers) are using.

Something like this could use a central DB repository handling unique
IPs/MTA

Setup accounts for the IPS/groups who'd use it with a profile...

I'm not sure where to get the MTA info from, but if that's figured
easily, I could front some DB space... 

--joey



Re: [vchkpw] Looking for a good mailfilter

2004-04-28 Thread [EMAIL PROTECTED]

> so tell it what the catchall account is.
Every catchall does not work with this mailfilter
I think.

So the mailfilter does not know the correct target-emailadress.

If you write to [EMAIL PROTECTED]
The mailfilter will be executed and this lines in the mailfilter returns
nothing:
VHOME=`/home/vpopmail/bin/vuserinfo -d [EMAIL PROTECTED]

I try this in a shell:
nbpeter:/home/peterpa # /home/vpopmail/bin/vuserinfo -d
[EMAIL PROTECTED]
no such user [EMAIL PROTECTED]
nbpeter:/home/peterpa #

So some lines ago, the mailfilter want to deliver:
else
{
exception {
to "$VHOME/Maildir/"
}
}

And that cannot work.

I test today a new mailfilter which is based on a thread I found on the
qmailadmin-mailinglist:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg03734.html

Have a look at:
-> VMAILDIR="$PWD/Maildir/"
-> to "$VMAILDIR"

So the main problem is I think, 
that the mailfilter does not know the correct target if you want to use
catch-all-adresses.

Gruesse,
Peter.


> > I show over your programm, but dont know if I understand everything
> 
> Shall we guess what you don't understand?
> 
> -Jeremy
-- 
www: http://peter.tux.hm
www: http://tux.hm - Linux- und BSD-UserGroup im Weserbergland
gpg: http://blackhole.pca.dfn.de:11371/pks/lookup?op=get&search=0x690A1AC2



Re: [vchkpw] Re: vpopmail with Postfix

2004-04-28 Thread Steve Ames
On Wed, Apr 28, 2004 at 12:13:01AM -0700, Joseph Schmitt II wrote:
> > (http://www.credentia.cc/research/surveys/smtp/200304/)
> >   8244 38.78% Sendmail
> >   3707 17.44% Microsoft IIS/Other
> >   1981 9.32% qmail
> > 
> > Shows qmail in the number 3 slot. 
> 
> I'm hoping you don't consider MS IIS/SMTP service as a MDA... And
> remember as a MTA, it probably has no real associated users.

That's a point :) It does carry out a lot of MTA like functions but...
So lets say you drop 3707 servers from that survey. That moves qmail
to the number 2 slot and still has sendmail 4x higher in terms of
servers deployed. Its like bragging that Mondale came in 2nd in the
1984 presidential election. No matter how you slice it, 9-10% is enough
of a minority that vpopmail is missing out on a lot. So my original
statement stands and I wonder, again, if the vpopmail developers and
community would be open to patches that allow an abstraction away from
the MTA and, hence, open up a LOT more user (and potential developer)
base?

-Steve

[P.S. - can we un-devolve this discussion into statistics and back into one
 of using vpopmail with Postfix or other MTAs that happen to not be qmail?]


Re: [vchkpw] Re: vpopmail with Postifix

2004-04-28 Thread Craig Green
Rainer Duffner wrote:

Steve Ames wrote:

Lastly we aren't talking about general deployment but deployment by 
those
entities who might wish to have virtualized e-mail and multiple domains.

Yes, and it's with those where there's no alternative to qmail and 
vpopmail.
At least, through a brief search of freshmeat, sf.net and google, I 
couldn't find anything that comes near vpopmail+qmailadmin+vqadmin+qmail.


Have you looked at JAMM?  (http://jamm.sourceforge.net/)   Basically 
it's a Java web interface to an LDAP directory for virtual domains and 
users.  It's the same idea as vpopmail, but apparently works with any 
SMTP/POP3/IMAP server that supports LDAP (read: Postfix + Courier-IMAP 
from a glance over their HOWTO).

A previous admin here implemented a Postfix + Courier-IMAP + OpenLDAP + 
JAMM email solution for a client.  I haven't really poked through the 
box so I can't say much other than it works for their 8000-odd users and 
I've never had to troubleshoot it.  However, if I had to build a 
virtualized email box and for some reason couldn't use my usual qmail + 
vpopmail + qmailadmin combo, JAMM seems like an alternative.

Craig Green.
-
Sentex Communications.


[vchkpw] My Exchange has problem reading from vpopmail

2004-04-28 Thread Patrick Paysant
Title: My Exchange has problem reading from vpopmail






Hi,


I'm not sure the problem is vpopmail but as Exchange get mail from others pop server without apparent problem, I guess it's vpopmail.

I have an exchange server (please, it's not _my_ choice) with a pop connector that asks my vpopmail (on a linux) to get the mails.

vpopmail 5.2.1--- popcon --- exchange 2k --- outlook 2000

(woody) (w2k server sp3)   (w2k sp3)


The problem is that Outlook displays the mails as-is, without recognising the recipient, nor the subject of the mails.


After some investigations, the problem seems to be the line beginning with From as in

From [EMAIL PROTECTED]  Thu Apr 15 09:47:55 2004

(not the field From: xxx)


If I suppress this line, the problem disappears and Outlook displays recipient and subject.

Another way to solve *manually* the problem is to move this line at the top of the message.


The problem comes not from Outlook because if Outlook asks directly the vpopmail server, it's OK. It seems it's not the popcon connector as I try a different one with the same results.

Did you see this problem before ?

Is there a way I can patch, or configure my vpopmail to avoid this problem ?


-- 

Patrick Paysant

Administrateur système

* DPO *





[vchkpw] Cdb and mysql auth modules at a time?

2004-04-28 Thread Cesare D'Amico
Hi all, I've googled for this, but I came to nothing.

Is it possible to configure vpopmail to use more than one auth module at 
a time? In particular, I need it to search into cdb files for some 
domains, and use a mysql backend for another one.

That's because I was asked to consolidate two mail servers on a single 
machine. The problem is that one server uses cdb files, the other one 
has a php application manipulating the vpopmail database, which uses 
the mysql backend. I need to migrate this web application too, so I 
must keep that domain sticked to mysql. If possible, I'd rather not 
convert all the other domains to mysql.

The older documentation in README.mysql says that "if you want" to 
convert cdb domains to mysql you should use vconvert; so I think that 
at least cdb and mysql can be used at the same time. Is it right or 
wrong?
And how can I do that, if it's possible? I tried to ./configure vpopmail 
with both --enable-auth-module=cdb AND --enable-auth-module=mysql, but 
only the latter is shown in the configuration summary at the end of 
the ./configure step. Instead, only cdb is shown if I change their 
order (that actually makes sense :)

By the way, I've tried that with vpopmail 5.4.0.

Thanks for your help and your great software ;)

Ciao
 ce
-- 
Cesare D'Amico - boss (@t) cesaredamico (dot) com
http://cesaredamico.com  ~  http://phpday.it  ~  http://verona.linux.it/
Key on pgp.mit.edu, ID 92802693.



Re: [vchkpw] Cdb and mysql auth modules at a time?

2004-04-28 Thread X-Istence
Cesare D'Amico wrote:


Ciao
 ce


Not possible. At this time.

X-Istence


[vchkpw] Disable pop3 and smtp for some vpopmail users

2004-04-28 Thread Werner Schalk
Hi,

is there a way to disable pop3 and smtp services for some vpopmail users?

Bye and thanks,
Werner.


Re: [vchkpw] Cdb and mysql auth modules at a time?

2004-04-28 Thread Cesare D'Amico
Alle 01:37, giovedì 29 aprile 2004, X-Istence ha scritto:
> Not possible. At this time.

D'oh!

I think I'll have to do something on the web app then. Or perhaps try to 
use two sets of vpopmail binaries, which isn't a really appealing 
possibility.

Thanks for the quick reply :)

Ciao
 ce
-- 
Cesare D'Amico - boss (@t) cesaredamico (dot) com
http://cesaredamico.com  ~  http://phpday.it  ~  http://verona.linux.it/
Key on pgp.mit.edu, ID 92802693.
Questa è la mia vita, se ho bisogno te lo dico, sono io che guido, io 
che vado fuori strada, sempre io che pago... non è mai successo che 
pagassero per me... [Questa è la mia vita - Ligabue]



Re: [vchkpw] Disable pop3 and smtp for some vpopmail users

2004-04-28 Thread Tom Collins
On Apr 28, 2004, at 4:41 PM, Werner Schalk wrote:
is there a way to disable pop3 and smtp services for some vpopmail 
users?
~vpopmail/bin/vmoduser -p -s [EMAIL PROTECTED]

Add -i to disable IMAP as well.

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/


Re: [vchkpw] Cdb and mysql auth modules at a time?

2004-04-28 Thread Rick Widmer


Cesare D'Amico wrote:
Hi all, I've googled for this, but I came to nothing.

Is it possible to configure vpopmail to use more than one auth module at 
a time? 
That is not going to be possible because the choice of authentication 
back-end is made by setting a symlink (vauth.c) at compile time.  As you 
found out, the last ./configure option wins.


That's because I was asked to consolidate two mail servers on a single 
machine. The problem is that one server uses cdb files, the other one 
has a php application manipulating the vpopmail database, which uses 
the mysql backend. I need to migrate this web application too, so I 
must keep that domain sticked to mysql. If possible, I'd rather not 
convert all the other domains to mysql.
Migrating everything to MySQL is probably going to be your best bet.  If 
the cdb group is already using qmailadmin they won't notice the 
difference.  Vpopmail is pretty good at abstracting the back end, and it 
is getting better, so they won't notice if they are using the commands 
in ~vpopmail/bin either.

Managing vpopmail from PHP is in the process of getting easier.  Ken 
Jones just wrote a daemon, and I am working on a PHP extension and a 
pair of classes that abstract them so a program can use either just by 
changing one include statement.

It is all very much under construction, and I don't suggest you try it 
unless you are willing to debug and possibly even write some code for 
the project.  You can see what is happening here:

   http://pmailadmin.sourceforge.net


The older documentation in README.mysql says that "if you want" to 
convert cdb domains to mysql you should use vconvert; so I think that 
at least cdb and mysql can be used at the same time. Is it right or 
wrong?
I haven't figured out how vconvert does it yet.  I will have to one of 
these days, but not soon.  I still run a straight cdb shop.

My guess is that vconvert actually does cdb within itself, and provides 
one SQL back end, the one you selected at compile time.  Even though the 
program --help seems to imply that you can vconvert from mysql to pgsql 
I don't think it is possible.  I would love it if someone who knows 
would explain it...


I think I'll have to do something on the web app then. Or perhaps try to 
use two sets of vpopmail binaries, which isn't a really appealing 
possibility.
Good luck.  Two servers, or a virtual server where each qmail+vpopmail 
image appeared as a separate machine would be the only ways I would want 
to keep them separate.  If you find a reasonable way, please let us know.

Rick



Re: [vchkpw] Re: vpopmail with Postifix

2004-04-28 Thread Rick Widmer


Steve Ames wrote:

- Original Message - 
From: "Rick Widmer" <[EMAIL PROTECTED]>

Right. However what I'm saying is that it wouldn't take much to make
vpopmail work properly with other MTA.
Just jack up the user interface, and replace all the code that does the
real work...


I don't believe that's true... especially in an SQL environment. 
I've found code that does low level direct management of qmail all over
vpopmail and qmailadmin.  I have no doubt vqadmin has it too.  There is
work in progress to move some of those functions into the vpopmail
library, but much remains.

I'm not sure which user interface your referring to?
The files in ~vpopmail/bin/, or qmailadmin or vqadmin or the stuff I did
with PHP.  It doesn't matter, they are all full of code that controls
qmail directly.  The first thing that has to be done is get all that
moved inside the library.  Once the mail system is at least as well
abstracted as the databases we can start thinking about supporting other
mail systems.
If you want to do something, grab the latest development CVS from
SourceFORGE and get familiar with the code.  Mbowe has a number of good
comments in the source code on things that need to be done.  Pick one
and submit a patch on the vpopmail-devel (sourceforge) list.






[vchkpw] Re: Cdb and mysql auth modules at a time?

2004-04-28 Thread Jonathan Shaw
Rick Widmer writes: 


The older documentation in README.mysql says that "if you want" to 
convert cdb domains to mysql you should use vconvert; so I think that at 
least cdb and mysql can be used at the same time. Is it right or wrong?
I haven't figured out how vconvert does it yet.  I will have to one of 
these days, but not soon.  I still run a straight cdb shop. 

My guess is that vconvert actually does cdb within itself, and provides 
one SQL back end, the one you selected at compile time.  Even though the 
program --help seems to imply that you can vconvert from mysql to pgsql I 
don't think it is possible.  I would love it if someone who knows would 
explain it... 

I recently converted from cdb to mysql.  I just used the vconvert program 
and it just converted it. 

vconvert -c -m 

Works like a charm for me. 

-Jonathan


Re: [vchkpw] remove_line() logic

2004-04-28 Thread Rick Widmer


Tom Collins wrote:

On Apr 27, 2004, at 3:23 PM, Rick Widmer wrote:

Rom: I assume you mean I should re-write the function.


Yes, and I assume you mean Tom.  ;-)
Grrr..  Sorry, I guess the fingers were going too fast.

I think I've got everything we've discussed completed in vpopmail.  Is 
there anything else related to domains that I should do before I go back 
to working on qmailadmin.  (Which I know I've broken by defining 
MAX_BUFF globally in vpopmail, but they share buffers so they should 
share the size definition for those buffers.  Besides there is a note in 
the vpopmail extension to PHP noting its absence...   not any more.)

Rick



[vchkpw] vpopmail with ldap

2004-04-28 Thread Kenneth Ling
hi,
  I install the qmail + vpopmail + ldap..
  It is work fine..
  My problem is how to use the mail client like netscape or outlook
express to search the address at my ldap server.. I have try the search
base "o=vpop" or "o=vpopmail".. all cannot...

Please advice...


[vchkpw] mail forward

2004-04-28 Thread sam
Hi all,

I am new to this list as well as to qmail + vpopmail
I have a basic question.
I have configured qmail and vpopmail on my server.
Have 6 domains configured.
The qmail installation is standard. In /var/qmail

and vpopmail installation in /home/vpopmail

parikhsteel.com is one of the domains.

Now I want that all the mails to parikhsteel.com (except mails for two 
users on the same domain) should be
forwarded to three users on the same domain.

How can I do that?

Please guide.

Regards,
Sameer.









[vchkpw] Getting Error: Could not open qmail default on vadddomain

2004-04-28 Thread Jay Tortorelli
I have a fresh install of RHEL ES 3 Update 1, netqmail 1.05, and
vpopmail 5.4.3 and am receiving:
Error: Could not open qmail default
whenever I run vadddomain as root

Here are my configure options:
./configure --enable-clear-passwd --enable-qmail-ext
--enable-domains-dir=/mail/domains --enable-qmaildir=/mail/
--enable-qmail-newu=/var/qmail/bin/qmail-newu
--enable-qmail-inject=/var/qmail/bin/qmail-inject
--enable-qmail-newmrh=/var/qmail/bin/qmail-newmrh
--enable-auth-module=pgsql --enable-logging=p --enable-pgsql-logging
--enable-valias --enable-learn-passwords


I have my qmail control and user/assign directories in /mail  I also
have them sym linked in /var/qmail as I was getting an error when I
would try and run vdominfo earlier saying it couldn't open
/var/qmail/users/assign (not sure why it was looking there when I did
declared the qmail dir in configure).

I changed the PG_CONNECT and DB entries in vpgsql.h to reflect the
settings for my remote host before I configured.

Vpopmail has created the dir_control table and made 1 entry in it so I
know that the connection to the database server is working correctly.

The permissions on my vpopmail home dir are:
drwx--8 vpopmail vchkpw   4096 Apr 28 20:41 .
drwxr-xr-x6 root root 4096 Apr 28 15:26 ..
-rw---1 vpopmail vchkpw334 Apr 27 18:54 .bash_history
-rw-r--r--1 vpopmail vchkpw 24 Apr 26 19:34 .bash_logout
-rw-r--r--1 vpopmail vchkpw191 Apr 26 19:34 .bash_profile
-rw-r--r--1 vpopmail vchkpw124 Apr 26 19:34 .bashrc
drwxr-xr-x2 vpopmail vchkpw   4096 Apr 28 19:02 bin
drwxr-xr-x4 vpopmail vchkpw   4096 Apr 27 15:39 doc
drwxr-xr-x2 vpopmail vchkpw   4096 Apr 27 15:39 etc
drwxr-xr-x2 vpopmail vchkpw   4096 Apr 28 19:02 include
drwxr-xr-x2 vpopmail vchkpw   4096 Apr 28 19:02 lib
drwx--3 vpopmail vchkpw   4096 Apr 27 15:39 mail


The permissions on /mail are:
drwxr-xr-x5 root root 4096 Apr 28 18:31 .
drwxr-xr-x   23 root root 4096 Apr 26 17:47 ..
drwxr-xr-x2 root qmail4096 Apr 26 18:35 control
drwx--2 vpopmail vchkpw   4096 Apr 28 20:28 domains
drwxr-xr-x2 root qmail4096 Apr 28 19:06 users


I have no other domains setup on this machine yet.  If I manually create
the directory inside of domains and then run vadddomain mydomain.com
password it deletes the directory I created and gives me the same error.

I have tried reinstalling vpopmail a few times and continue to get the
same error.

Thank you for your time,
Jay Tortorelli