[vchkpw] Looking for a good mailfilter

2004-04-27 Thread [EMAIL PROTECTED]
Hi foolks!

I look for a good mailfilter for my vpopmail.

My currently hae a bug with catch-all adresses:
import EXT
import HOST

VHOME=`/home/vpopmail/bin/vuserinfo -d [EMAIL PROTECTED]

if (/^X-Spam-Status: *YES/)
{
exception {
to /var/spool/spam/
}
}
else
{
exception {
to $VHOME/Maildir/
}
}

The problem is the following:
If someone acitivated CATCH-ALL in qmailadmin and some sends an email to
an non-existing account,
the email will be dropped from my mailfilter.

The var $VHOME is not correct set because the mailadress is not
correctly.
So I need the target emailadresse, but dont know how to get this.

Does someone know what I mean? ;)

Have someone a working mailfilter for SA for me, please?
I try so much, but I do not found a solution.

Viele Gruesse,
Peter.

-- 
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=getsearch=0x690A1AC2



Re: [vchkpw] Looking for a good mailfilter

2004-04-27 Thread Erwin Hoffmann
Hallo Peter,

At 14:36 27.04.04 +0200, you wrote:
Hi foolks!

I look for a good mailfilter for my vpopmail.

My currently hae a bug with catch-all adresses:
import EXT
import HOST

VHOME=`/home/vpopmail/bin/vuserinfo -d [EMAIL PROTECTED]

if (/^X-Spam-Status: *YES/)
{
exception {
to /var/spool/spam/
}
}
else
{
exception {
to $VHOME/Maildir/
}
}

The problem is the following:
If someone acitivated CATCH-ALL in qmailadmin and some sends an email to
an non-existing account,
the email will be dropped from my mailfilter.

The var $VHOME is not correct set because the mailadress is not
correctly.
So I need the target emailadresse, but dont know how to get this.

Schau Dir mal mein QMVC an, dann wirst Du (wahrscheinlich) auf die Lösung
kommen.

Zwei Fälle:

1. Du nutzt Qmails virtualdomains Machnismus.
   
domain1.com:vdomain1

Emails nach [EMAIL PROTECTED] werden zu [EMAIL PROTECTED].

Im qmail-local Environment (was Du abfragst) gilt dann folgendes:

[EMAIL PROTECTED]
LOCAL=vdomain1-user
HOST=domain1.com
USER=vdomain1
EXT=user
EXT2=user-IRGENDWAS

etc.

2. Setzt Du zugleich den qmail-users Mechanismus ein, wird

USER=- user per qmail-newu

Mit einem Shell-Kniff, der in meinem QMVC beschrieben ist, kannst du den
PREPEND loswerden.

mfg.
--eh. 



Dr. Erwin Hoffmann | FEHCom | http://www.fehcom.de/
Wiener Weg 8, 50858 Cologne | T: +49 221 484 4923 | F: ...24


Re: [vchkpw] Looking for a good mailfilter

2004-04-27 Thread [EMAIL PROTECTED]
Hi Erwin!

The problem is I have catch-all-accounts and the mailfilter
do not know the catch-all-account, so the email get dropped.

I show over your programm, but dont know if I understand everything

Viele Gruesse,
Peter. ;)
-- 
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=getsearch=0x690A1AC2



[vchkpw] Multiple open-smtp s?

2004-04-27 Thread up

I use vpopmail strictly for POP authentication on a particular server, and
I'd like to make it so that a different SMTP server will read that POP
server's open-smtp info *in addition* to its own to allow relaying.  I'd
like to do this without using MySQL.

Can/should this be done using NFS and starting tcpserver with more than
one '-x (say -x/etc/tcp.smtp.cdb AND -x/mnt/etc/tcp.smtp.cdb) or is there
a better way to get another .cdb from another host in there?

TIA,

James Smallacombe PlantageNet, Inc. CEO and Janitor
[EMAIL PROTECTED]   http://3.am
=



Re: [vchkpw] vpopmail + postfix

2004-04-27 Thread Jeremy Kitchen
On Monday 26 April 2004 10:18 am, Chris Ess wrote:
   How can we setup vpopmail to work with Postfix? Is necessary have qmail
   installed too?

  vpopmail was created for qmail only, postfix and qmail are two different
  MTA's so this is not a solution you can use with postfix.

 See this sentence from http://www.inter7.com/vpopmail.html :

 Inter7 has developed vpopmail (vchkpw), a free GPL software package, to
 provide an easy way to manage virtual email domains and non /etc/passwd
 email accounts on your qmail or Postfix mail servers.

yup.

 So it looks like there should be a way to get it to work with Postfix.
 (Or someone needs to fix the page.)

 There's even a link for a short howto on the Inter7 page:
 http://www.inter7.com/vpopmail/postfix.txt

 I think that's old, and it might not even be applicable to newer versions of 
vpopmail or postfix.

 That said, I have never used vpopmail with Postfix, nor do I ever plan to,
 so I can't vouch whether or not any of the above is accurate beyond face
 value.

I neither use vpopmail with postfix, nor do I ever plan to.  I'm sure there 
are those out there who do though (or have at least tried, successful or 
not), does anyone want to come forward and say yay or nay if it still works, 
or have a howto for it or something?

If it no longer works with postfix I'll update the page and put the 'last 
known operable version' or something on there.

-Jeremy

-- 
Jeremy Kitchen
Systems Administrator
[EMAIL PROTECTED]
Kitchen @ #qmail on EFNet - Join the party!
.
Inter7 Internet Technologies, Inc.
www.inter7.com
866.528.3530 toll free
847.492.0470 int'l
847.492.0632 fax
GNUPG key ID: 93BDD6CE


Re: [vchkpw] creating maildir on the fly

2004-04-27 Thread Jeremy Kitchen
On Sunday 25 April 2004 05:15 pm, Thiago Anderson Santos wrote:
 i need to smtp before pop3 with qmail + vpopmail can i help-me??
 - Original Message -
 From: Tech Info [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Sunday, April 25, 2004 4:59 AM
 Subject: [vchkpw] creating maildir on the fly

  Hello there,
 
  I have a qmail/vpopmail/mysql set-up running on Redhat 8, I would like
  to know how I can opt for 'creating user mailbox on the fly' option? Is
  there anyone who can help me out in this?
 
  Ansu

where's your message?

Oh wait, there it is, at the top of the email crammed between your MUA's 
quoting and the top of the body.  If you're going to top post, at least make 
it so your post sticks out :\

Also, you seem to have a new question (unrelated to the post you replied to).
Please start a new thread if you intend to ask an unrelated question.

That being said:

[yoinked from up top]
On Sunday 25 April 2004 05:15 pm, Thiago Anderson Santos wrote:
 i need to smtp before pop3 with qmail + vpopmail can i help-me??

I assume you are referring to 'pop before smtp', which vpopmail has support 
for.

Check out the INSTALL file in the root of your vpopmail source tree and look 
for 'roaming users' support.  If you are having trouble implementing this, 
please formulate a question, with things you've tried, what you expected to 
happen, what did happen, and related startup scripts, vpopmail configure 
options, etc, that could be causing the problem.

Here's a nice guide written by Charles Cazabon for posting questions to the 
qmail mailing list.  It's written for the qmail list, but can be applied to 
other mailing lists.
http://www.qcc.ca/~charlesc/writings/12-steps-to-qmail-list-bliss.html

-Jeremy

-- 
Jeremy Kitchen
Systems Administrator
[EMAIL PROTECTED]
Kitchen @ #qmail on EFNet - Join the party!
.
Inter7 Internet Technologies, Inc.
www.inter7.com
866.528.3530 toll free
847.492.0470 int'l
847.492.0632 fax
GNUPG key ID: 93BDD6CE


Re: [vchkpw] Major SMTP AUTH Issues

2004-04-27 Thread Jeremy Kitchen
http://scriptkitchen.com/godkills.jpg -- please, think of the kittens

On Monday 26 April 2004 08:43 am, Chris Miller wrote:
  exec /usr/local/bin/softlimit -m 300
   /usr/local/bin/tcpserver -v -R -l $LOCAL \
-x /etc/tcp.smtp.cdb -c $MAXSMTPD \
   -u $VPOPUID -g $VPOPGID 0 smtp \
/var/qmail/bin/qmail-smtpd $LOCAL /var/vpopmail/bin/vchkpw /bin/true
  21

  I recommend Erwin's fixup, as it has bug fixes and updated functionality

  you may also want to investigate using the -H flag for tcpserver.

 Thanks, that fixed it. However, now SMTP is really slow (see my other
 message that should be coming through in a few minutes).

To quote Jeremy Kister:
  you may also want to investigate using the -H flag for tcpserver.

or, if that doesn't solve the problem you're having, if you could actually say 
what you mean by 'smtp is slow', then maybe someone can help you further.

Also at this point, I believe we're off topic for the list, so you may want to 
try the qmail mailing list (or searching the archives, as, if this is what I 
think it is, it has been discussed NUMEROUS times on the mailing list, and is 
one of the most frequently asked questions on the qmail list)

-Jeremy

-- 
Jeremy Kitchen
Systems Administrator
[EMAIL PROTECTED]
Kitchen @ #qmail on EFNet - Join the party!
.
Inter7 Internet Technologies, Inc.
www.inter7.com
866.528.3530 toll free
847.492.0470 int'l
847.492.0632 fax
GNUPG key ID: 93BDD6CE


Re: [vchkpw] smtp auth

2004-04-27 Thread Jeremy Kitchen
On Monday 26 April 2004 02:59 am, signo wrote:
 i'm feel very stupid !!! it does not work!!

 VPOPUID=`id -g vpopmail`
 VPOPGID=`id -g vpopmail`
 LOCAL=`head -1 /var/qmail/control/me`
 MAXSMTPD=`head -1 /var/qmail/control/concurrencyincoming`

 exec /usr/local/bin/softlimit -m 300 /usr/local/bin/tcpserver -v -R
 -l $LOCAL -x /etc/tcp.smtp.cdb -c $MAXSMTPD -u $VPOPUID -g
 $VPOPGID 0 smtp /var/qmail/bin/qmail-smtpd /var/vpopmail/bin/vchkpw
 /bin/true 21

did you restart your smtp service after you modified the run script for it?

-Jeremy

-- 
Jeremy Kitchen
Systems Administrator
[EMAIL PROTECTED]
Kitchen @ #qmail on EFNet - Join the party!
.
Inter7 Internet Technologies, Inc.
www.inter7.com
866.528.3530 toll free
847.492.0470 int'l
847.492.0632 fax
GNUPG key ID: 93BDD6CE


Re: [vchkpw] Re: vpopmail with Postifix

2004-04-27 Thread Jeremy Kitchen
On Monday 26 April 2004 10:42 am, Steve Ames wrote:
 On Mon, Apr 26, 2004 at 11:18:09AM -0400, Chris Ess wrote:
   vpopmail was created for qmail only, postfix and qmail are two
   different MTA's so this is not a solution you can use with postfix.
 
  See this sentence from http://www.inter7.com/vpopmail.html :

 You can do it. But basically you need to install postfix and qmail
 and postfix just handles some of the MTA duties. MDA is still qmail.

MDA with vpopmail is actually never qmail.

qmail hands off delivery responsbilities to vdelivermail through 
the .qmail-default file in the domain's 'home directory'

 It would really be interesting to see vpopmail make the necessary
 changes to be less qmail specific. Vpopmail could become a solid
 virtual mail solution for a handful of MTA.

so, bloat should be added so it will work with MTAs it wasn't designed for?  I 
disagree.

 Qmail is a minority when it comes to MTA deployment.

I disagree there also.  qmail is probably the second most, if not the most, 
deployed MTA across the internet, and many different surveys have gone to 
show this.  Also, this is WITH most new redhat installations coming with 
sendmail installed (and enabled) by default, which would skew this number, as 
sendmail might be running but it's not necessarily doing anything.

-Jeremy

-- 
Jeremy Kitchen
Systems Administrator
[EMAIL PROTECTED]
Kitchen @ #qmail on EFNet - Join the party!
.
Inter7 Internet Technologies, Inc.
www.inter7.com
866.528.3530 toll free
847.492.0470 int'l
847.492.0632 fax
GNUPG key ID: 93BDD6CE


Re: [vchkpw] Looking for a good mailfilter

2004-04-27 Thread Jeremy Kitchen
On Tuesday 27 April 2004 08:41 am, [EMAIL PROTECTED] wrote:
 Hi Erwin!

 The problem is I have catch-all-accounts and the mailfilter
 do not know the catch-all-account, so the email get dropped.

so tell it what the catchall account is.

 I show over your programm, but dont know if I understand everything

Shall we guess what you don't understand?

-Jeremy

-- 
Jeremy Kitchen
Systems Administrator
[EMAIL PROTECTED]
Kitchen @ #qmail on EFNet - Join the party!
.
Inter7 Internet Technologies, Inc.
www.inter7.com
866.528.3530 toll free
847.492.0470 int'l
847.492.0632 fax
GNUPG key ID: 93BDD6CE


Re: [vchkpw] Multiple open-smtp s?

2004-04-27 Thread Jeremy Kitchen
On Tuesday 27 April 2004 12:13 pm, [EMAIL PROTECTED] wrote:
 I use vpopmail strictly for POP authentication on a particular server, and
 I'd like to make it so that a different SMTP server will read that POP
 server's open-smtp info *in addition* to its own to allow relaying.  I'd
 like to do this without using MySQL.

Bruce Guenter's relay-ctrl package (http://untroubled.org/relay-ctrl) is far 
better suited for this style of setup, and is safe to use over NFS (I know, 
I've done it) and doesn't require rebuilding a CDB for every authentication, 
etc.

 Can/should this be done using NFS and starting tcpserver with more than
 one '-x (say -x/etc/tcp.smtp.cdb AND -x/mnt/etc/tcp.smtp.cdb) or is there
 a better way to get another .cdb from another host in there?

that's one way you could do it.  Or you could run a 1 minute cron job to rsync 
the cdb file to the other servers, or a number of other things.  However, I 
think you'll be much happier overall with relay-ctrl.

-Jeremy

-- 
Jeremy Kitchen
Systems Administrator
[EMAIL PROTECTED]
Kitchen @ #qmail on EFNet - Join the party!
.
Inter7 Internet Technologies, Inc.
www.inter7.com
866.528.3530 toll free
847.492.0470 int'l
847.492.0632 fax
GNUPG key ID: 93BDD6CE


Re: [vchkpw] Re: vpopmail with Postifix

2004-04-27 Thread Steve Ames

- Original Message - 
From: Jeremy Kitchen [EMAIL PROTECTED]
  It would really be interesting to see vpopmail make the necessary
  changes to be less qmail specific. Vpopmail could become a solid
  virtual mail solution for a handful of MTA.

 so, bloat should be added so it will work with MTAs it wasn't designed
for?  I
 disagree.

Of course you do. You like qmail :) Seriously though you say bloat and
that's a pretty loaded word. Immediately people think we don't want bloat.
Bad idea. But in most cases we aren't talking about bloat, we're just
talking about un-hardcoding a lot of qmail specific stuff and allowing
options. Once when qmail was totally getting in my way I sat down and spent
about an hour pondering how to remove it and replace it with postfix and
still use vpopmail. I never went beyond the pondering stage because it just
started working again *shudder* but most of it looked pretty staright
forward code wise.

  Qmail is a minority when it comes to MTA deployment.

 I disagree there also.  qmail is probably the second most, if not the
most,
 deployed MTA across the internet, and many different surveys have gone to
 show this.

Without pointing to DJB's website, care to back this up? I've seen lots of
references to second most (including the title of the qmail page). However
I don't think you can actually back that up and any numbers I've ever seen
having it come close may have had it high in order but low in total
percentage (i.e. the ones higher had WAY more percentage).. and those
surveys are years old. *shrug* So... drop that line of argument or point to
3rd party references. I acknowledge that I fired the first shot by saying
Qmail was a minority. I'll retract that because I can't find any recent
surveys that aren't done by vendors :( Its not really relevent to the
discussion anyway. Is it the goal of the vpopmail project to promote the use
of vpopmail or to, by proxy, promote the use of qmail. Perhaps the main
developers or steering people behind vpopmail would like to put out a little
poll on the topic?

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

 Also, this is WITH most new redhat installations coming with
 sendmail installed (and enabled) by default, which would skew this number,
as
 sendmail might be running but it's not necessarily doing anything.

And not just redhat. Other linux and BSD varients come with sendmail. One
that I know of comes with postfix. I don't know any that come with qmail.
There's also a lot more Exchange out there these days.

-Steve




Re: [vchkpw] Re: vpopmail with Postifix

2004-04-27 Thread Tom Collins
On Apr 27, 2004, at 1:38 PM, Jeremy Kitchen wrote:
MDA with vpopmail is actually never qmail.
Except when using aliases that aren't stored in a MySQL table.  And 
mailing lists, always.

qmail hands off delivery responsbilities to vdelivermail through
the .qmail-default file in the domain's 'home directory'
So vdelivermail handles POP/IMAP mailboxes, and valiases (aliases 
stored in MySQL instead of .qmail-alias files).

--
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] remove_line() logic

2004-04-27 Thread Tom Collins
On Apr 27, 2004, at 1:56 PM, Rick Widmer wrote:
So, is there a reason for keeping the logic in delete_line(), or 
should I re-write it from scratch based on update_file()?
Yes, I think you should.  Others may disagree though...

I could reduce the failure window even more by moving all the rename 
operations from delete_line and update_file into the functions that 
call them.  That way all the renames would be done at nearly the same 
time, after all the files have been created.  Is this worth doing?
I don't think so.  Doing so makes things more complex, but could avoid 
problems with only some files getting updated.  I'd prefer the higher 
level code to call a single function that does ALL of the work (as it 
is now).

--
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] Re: vpopmail with Postifix

2004-04-27 Thread Steve Ames
Yah. One of my quick hacks pondered using vdelivermail as an MTA from
postfix but it calls in too much qmail environment and it got icky. If I
could have put that stuff on the command line instead I might have been in
business without having to put in a wrapper.

- Original Message - 
From: Tom Collins [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, April 27, 2004 5:09 PM
Subject: Re: [vchkpw] Re: vpopmail with Postifix


 On Apr 27, 2004, at 1:38 PM, Jeremy Kitchen wrote:
  MDA with vpopmail is actually never qmail.

 Except when using aliases that aren't stored in a MySQL table.  And
 mailing lists, always.

  qmail hands off delivery responsbilities to vdelivermail through
  the .qmail-default file in the domain's 'home directory'

 So vdelivermail handles POP/IMAP mailboxes, and valiases (aliases
 stored in MySQL instead of .qmail-alias files).

 --
 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] Re: vpopmail with Postifix

2004-04-27 Thread Rainer Duffner
Steve Ames wrote:

Qmail is a minority when it comes to MTA deployment.
 

I disagree there also.  qmail is probably the second most, if not the
   

most,
 

deployed MTA across the internet, and many different surveys have gone to
show this.
   

Without pointing to DJB's website, care to back this up? 



http://cr.yp.to/surveys/smtpsoftware6.txt
That's from 2001.
It would be a fun project to try to do that again, though.
The biggest challenge will probably be to get a representative sample of 
domains and MXs


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.

The problem with qmail is that it's not really developed any further. 
But given that, it has surprisingly little security-holes found ;-)
But the applications more or less dictate the choice of the underlying 
platform.
And the choice could be much worse.


Also, this is WITH most new redhat installations coming with
sendmail installed (and enabled) by default, which would skew this number,
   

as
 

sendmail might be running but it's not necessarily doing anything.
   

And not just redhat. Other linux and BSD varients come with sendmail. One
that I know of comes with postfix.


SuSE



I don't know any that come with qmail.
 



I don't think anyone will do that.


There's also a lot more Exchange out there these days.
 

Yes, but people usually put proxies and paketfilters before that.
At least, if they are not completely stupid (or ill-advised).
It's very difficult (impossible?) to account for the usage of a MTA, 
when most of them are now hidden behind AV-gateways.
Also: what do you count ? Just handling or actual mailboxes ?
It's an endless debate.

And until someone comes up with a real cool solution that allows to use 
postfix as a hosting-platform without writing everything from scratch, 
qmail and vpopmail are just going to stay around.
Unless all  those hosted MSFT-Exchange-crap (calendar, groupware) kills it.
Unfortunately, OSS-equivalents of these don't work very well, yet. And 
they don't scale, I'm afraid.



Rainer



Re: [vchkpw] remove_line() logic

2004-04-27 Thread Rick Widmer


Tom Collins wrote:

On Apr 27, 2004, at 1:56 PM, Rick Widmer wrote:

So, is there a reason for keeping the logic in delete_line(), or 
should I re-write it from scratch based on update_file()?


Yes, I think you should.  Others may disagree though...
Rom: I assume you mean I should re-write the function.

Those others have just a few hours to comment, before I start on it, and 
will probably be able to see the result in CVS within a day or two.

Rick



Re: [vchkpw] Re: vpopmail with Postifix

2004-04-27 Thread Rick Macdougall


Rainer Duffner wrote:
http://cr.yp.to/surveys/smtpsoftware6.txt
That's from 2001.
It would be a fun project to try to do that again, though.
The biggest challenge will probably be to get a representative sample of 
domains and MXs
Hi,

That would be a fun script to write.  See what mail server *sent* to 
your mail server based on the headers and get a sampling that way.

I'll mull this over and see how I might implement this, since our mail 
server handles over 400K messages a day, it should give us a good idea 
of what ISP's are using.

Regards,

Rick



Re: [vchkpw] Re: vpopmail with Postifix

2004-04-27 Thread Rainer Duffner
Rick Macdougall wrote:



Rainer Duffner wrote:

http://cr.yp.to/surveys/smtpsoftware6.txt
That's from 2001.
It would be a fun project to try to do that again, though.
The biggest challenge will probably be to get a representative sample 
of domains and MXs


Hi,

That would be a fun script to write.  See what mail server *sent* to 
your mail server based on the headers and get a sampling that way.

I'll mull this over and see how I might implement this, since our mail 
server handles over 400K messages a day, it should give us a good idea 
of what ISP's are using.

Regards,

Rick



Hey, I found some more:

http://www.credentia.cc/research/surveys/smtp/200304/

Quote:
Due to AUP policy violations (Comcast) this will be the last survey 
done. Apparently NASA and the U.S. Navy did not like the unsolicited 
connections. 

ROTFL ;-)

From the pages returned by a google search on smtp server survey, I'm 
afraid anyone who does that actively will be in deep trouble rather 
sooner than later.
The passive approach makes more sense.

qmail comes in at 8-10% in these surveys.



Rainer



Rainer



Re: [vchkpw] Multiple open-smtp s?

2004-04-27 Thread up
On Tue, 27 Apr 2004, Jeremy Kitchen wrote:

 On Tuesday 27 April 2004 12:13 pm, [EMAIL PROTECTED] wrote:
  I use vpopmail strictly for POP authentication on a particular server, and
  I'd like to make it so that a different SMTP server will read that POP
  server's open-smtp info *in addition* to its own to allow relaying.  I'd
  like to do this without using MySQL.

 Bruce Guenter's relay-ctrl package (http://untroubled.org/relay-ctrl) is far
 better suited for this style of setup, and is safe to use over NFS (I know,
 I've done it) and doesn't require rebuilding a CDB for every authentication,
 etc.

Sounds like the trick, but will it also work with vchkpw?  I couldn't find
any indication on Bruce's site (and please don't make me join yet another
mailing list to get this one answer!).

One of my servers could do without vpopmail, since it's only using it for
pop auth, but the other has virtual users.

TIA!

James Smallacombe PlantageNet, Inc. CEO and Janitor
[EMAIL PROTECTED]   http://3.am
=



Re: [vchkpw] Re: vpopmail with Postifix

2004-04-27 Thread Steve Ames

- Original Message - 
From: Rainer Duffner [EMAIL PROTECTED]
 Without pointing to DJB's website, care to back this up?
 


 http://cr.yp.to/surveys/smtpsoftware6.txt
 That's from 2001.

I know you didn't just point to DJB's website :)
The credentia.cc (http://www.credentia.cc/research/surveys/smtp/200304/)
site shows (and it was done April 2003):

  8244 38.78% Sendmail
  3707 17.44% Microsoft IIS/Other
  1981 9.32% qmail
  1789 8.42% IMail
  1244 5.85% Exim
  1243 5.85% smap
  825 3.88% CPMTA
  537 2.53% Postfix
  500 2.35% Microsoft Exchange
  340 1.60% CheckPoint FireWall-1
  848 3.99% Other


Shows qmail in the number 3 slot. However when number 3 means 9.32% (and
that's slightly lower than the previous survey 200301 survey so its going
down) you gotta admin the minority. Making vpopmail work with sendmail (and
that gets you postfix automatically almost).

 It would be a fun project to try to do that again, though.
 The biggest challenge will probably be to get a representative sample of
 domains and MXs

Yep.

 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.

vpopmail being the biggest part to make the virtualization happen.

 The problem with qmail is that it's not really developed any further.
 But given that, it has surprisingly little security-holes found ;-)
 But the applications more or less dictate the choice of the underlying
 platform.
 And the choice could be much worse.

Yep. No argument. But it could easily be way better :)

 It's very difficult (impossible?) to account for the usage of a MTA,
 when most of them are now hidden behind AV-gateways.
 Also: what do you count ? Just handling or actual mailboxes ?
 It's an endless debate.

Yep.

 And until someone comes up with a real cool solution that allows to use
 postfix as a hosting-platform without writing everything from scratch,
 qmail and vpopmail are just going to stay around.

Right. However what I'm saying is that it wouldn't take much to make
vpopmail work properly with other MTA.

-Steve



Re: [vchkpw] remove_line() logic

2004-04-27 Thread Tom Collins
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.  ;-)

--
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] Re: vpopmail with Postifix

2004-04-27 Thread Jeremy Kitchen
On Tuesday 27 April 2004 05:29 pm, Rick Macdougall wrote:
 Rainer Duffner wrote:
  http://cr.yp.to/surveys/smtpsoftware6.txt
  That's from 2001.
 
  It would be a fun project to try to do that again, though.
  The biggest challenge will probably be to get a representative sample of
  domains and MXs

 Hi,

 That would be a fun script to write.  See what mail server *sent* to
 your mail server based on the headers and get a sampling that way.

but that would be incredibly biased.

For instance, I'd say probably 70% of the mail servers that send mail to me 
run qmail, if not a higher percentage.  In a windows shop, you might get 70% 
exchange, etc.  That's not a 'representative sample'

 I'll mull this over and see how I might implement this, since our mail
 server handles over 400K messages a day, it should give us a good idea
 of what ISP's are using.

perhaps.

-Jeremy

-- 
Jeremy Kitchen
Systems Administrator
[EMAIL PROTECTED]
Kitchen @ #qmail on EFNet - Join the party!
.
Inter7 Internet Technologies, Inc.
www.inter7.com
866.528.3530 toll free
847.492.0470 int'l
847.492.0632 fax
GNUPG key ID: 93BDD6CE


Re: [vchkpw] Re: vpopmail with Postifix

2004-04-27 Thread Rick Widmer


Steve Ames wrote:

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



Re: [vchkpw] Re: vpopmail with Postifix

2004-04-27 Thread Jeremy Kitchen
On Tuesday 27 April 2004 05:48 pm, Rainer Duffner wrote:
 Rick Macdougall wrote:
  Rainer Duffner wrote:
  http://cr.yp.to/surveys/smtpsoftware6.txt
  That's from 2001.

 http://www.credentia.cc/research/surveys/smtp/200304/

 qmail comes in at 8-10% in these surveys.

out of 21,000 servers.  weak survey.

-Jeremy

-- 
Jeremy Kitchen
Systems Administrator
[EMAIL PROTECTED]
Kitchen @ #qmail on EFNet - Join the party!
.
Inter7 Internet Technologies, Inc.
www.inter7.com
866.528.3530 toll free
847.492.0470 int'l
847.492.0632 fax
GNUPG key ID: 93BDD6CE


Re: [vchkpw] Re: vpopmail with Postifix

2004-04-27 Thread Steve Ames

- Original Message - 
From: Jeremy Kitchen [EMAIL PROTECTED]
 out of 21,000 servers.  weak survey.

Agreed. I couldn't find a better one. The ones on DJBs page are old and the
newest one (2001) has less than 1000 servers. 21000 seemed more
representative. *shrug*

-Steve



Re: [vchkpw] Re: vpopmail with Postifix

2004-04-27 Thread Steve Ames

- 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. The
vpopmail tools mostly do the right thing now. vdelivermail is almost usable
as is. I'm not sure which user interface your referring to?

-Steve



Re: [vchkpw] Re: vpopmail with Postifix

2004-04-27 Thread Rick Macdougall


Jeremy Kitchen wrote:

On Tuesday 27 April 2004 05:29 pm, Rick Macdougall wrote:
Hi,

That would be a fun script to write.  See what mail server *sent* to
your mail server based on the headers and get a sampling that way.


but that would be incredibly biased.

For instance, I'd say probably 70% of the mail servers that send mail to me 
run qmail, if not a higher percentage.  In a windows shop, you might get 70% 
exchange, etc.  That's not a 'representative sample'

Hi,

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.

Still have to think of a good way to do it though.

Regards,

Rick