[vchkpw] Clustering

2004-07-14 Thread Kareem Mahgoub
Hello list,
Sorry if this is off Topic.
I have a setup of
qmail+vpopmail+sqwebmail+qmail-scanner+clamav+qmailadmin+vqadmin
running on Redhat Fedora1 and am planning to go for Enterprise ES
My question is how do I implement clustering solution for this setup?
what is the required Hardware and Software for hosting 800 Domain with 80K
mailbox.
I did some search on google and I have found clustering solution offered by
HP Proliant DL380 G3 Packaged Cluster and a solution offered by Netapp
using their Filers ( F710 for example) which I have found it here on this
mailing list. I also checked LVS and I have found someone with the same
setup, who mentioned that there are some modifications to be made on the
sources.
Any one has experience on this would like to share it?
Any links or docs about this setup?
Any commercial support for such a setup, may be inter7 would give me a
hint.
Sorry for the long mail.
Any help would be very much appreciated.
Best Regards,
Kareem Mahgoub
Senior System Administrator
TheWayout Internet Solutions
Tel. +2023017153
Fax. +2023017130
45 Elbatal Ahmed Abd Alaziz St.
14th Floor - Cairo - Egypt



Re: [vchkpw] Clustering

2004-07-14 Thread Michael Bowe
- Original Message - 
From: Kareem Mahgoub [EMAIL PROTECTED]


 Hello list,
 Sorry if this is off Topic.
 I have a setup of
 qmail+vpopmail+sqwebmail+qmail-scanner+clamav+qmailadmin+vqadmin
 running on Redhat Fedora1 and am planning to go for Enterprise ES
 My question is how do I implement clustering solution for this setup?
 what is the required Hardware and Software for hosting 800 Domain with 80K
 mailbox.

In addition to the info in the archives, there is a useful doc online here
at sourceforge :
http://sourceforge.net/docman/display_doc.php?docid=18802group_id=85937

Michael.



[vchkpw] Web lists archiving - part II

2004-07-14 Thread Mario Gamito
Hi,

Ok, i can already browse the MLs archive.

Problem is: i have more than one list, and it always shows the one from
the line that is in the top:

0;510;/home/vpopmail/domains/netual.pt/intra;[EMAIL 
PROTECTED];[Home]=http://mail.netual.pt/cgi-bin/ezmlm-cgi/intra
0;510;/home/vpopmail/domains/netual.pt/dev;[EMAIL 
PROTECTED];[Home]=http://mail.netual.pt/cgi-bin/ezmlm-cgi/dev

No matter what URL, i always get intra list, not dev also.

Warm Regards,
Mário Gamito




[vchkpw] Strange problem with SMTP AUTH

2004-07-14 Thread Christian Lerrahn
Hi!
I have a really strange problem with vpopmail and smtp. I'm using qmail
and vpopmail together and for pop3 and imap4 it works perfectly. However,
with SMTP AUTH it did work well for some time but doesn't do so any more.
As I didn't realize the problem at once, I actually can't say what exactly
has changed on the system since it worked last. I'm running Gentoo Linux
and there was at least one emerge -u world since it worked. I'm using
Qmail+vpopmail+MySQL.

So here's what happens:
My client gives me an error but there's no error message from the server.
If I look into the log files I find two interesting lines.

Jul 14 12:23:27 myserver vpopmail[13453]: vchkpw-smtp: vpopmail user not
found [EMAIL PROTECTED]:134.123.123.123 Jul 14
12:23:27 myserver vpopmail[13453]: vchkpw: can't write MySQL logs

I've found out that if I change the permissions of /etc/vpopmail.conf to
world-readability, I don't get the second line and the message is also
written to my vlog-table. I guess it's only a subsequent error which I
wouldn't get if the first one wasn't there. The first error message I
don't understand at all because the user is valid. The same user can fetch
mail without any problems.
Can anybody tell me what is happening here? Is it a problem with
permissions? If yes, permissions of what file? 

Regards,
Christian

-- 
Die Heiden, die um euch her übriggeblieben sind, sollen erfahren,
dass ich der Herr bin, der da baut, was niedergerissen  ist,  und
pflanzt, was verheert war.

Hesekiel 36,36

/Paulus  schreibt:/ Wir sind Gottes Mitarbeiter; ihr seid Gottes
Ackerfeld und Gottes Bau.

1.Korinther 3,9



Re: [vchkpw] Strange problem with SMTP AUTH

2004-07-14 Thread Tom Collins
On Jul 14, 2004, at 5:50 AM, Christian Lerrahn wrote:
Can anybody tell me what is happening here? Is it a problem with
permissions? If yes, permissions of what file?
Make sure your SMTP server is running as the vpopmail user.
Make sure qmail-smtpd has the correct SMTP AUTH patch to match your 
vpopmail installation.  At some point leading up to the 5.4 release, we 
fixed a bug in vchkpw related to CRAM-MD5 SMTP AUTH.  But, you need to 
use the correct (bug-fixed) SMTP AUTH patch to qmail-smtpd to go with 
it.

--
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] Web lists archiving - part II

2004-07-14 Thread Alex Pleiner
* Mario Gamito [EMAIL PROTECTED] [2004-07-14 11:30]:
 Hi,

 Ok, i can already browse the MLs archive.

 Problem is: i have more than one list, and it always shows the one from
 the line that is in the top:

Mario,

change list number to 1 and add /1 to your url (/ezmlm-cgi/1).

General syntax: /ezmlm-cgi/listnumber/messageid

HTH

Alex

 0;510;/home/vpopmail/domains/netual.pt/intra;[EMAIL 
 PROTECTED];[Home]=http://mail.netual.pt/cgi-bin/ezmlm-cgi/intra
 0;510;/home/vpopmail/domains/netual.pt/dev;[EMAIL 
 PROTECTED];[Home]=http://mail.netual.pt/cgi-bin/ezmlm-cgi/dev

 No matter what URL, i always get intra list, not dev also.

-- 
Alex Pleiner
zeitform Internet Dienste OHG Fraunhoferstr. 5
  64283 Darmstadt, Germany
http://www.zeitform.deTel.: +49 (0)6151 155-635
mailto:[EMAIL PROTECTED]Fax:  +49 (0)6151 155-634
GnuPG/PGP Key-ID: 0x613C21EA


Re: [vchkpw] Debian - Courier - Vpopmail

2004-07-14 Thread Alex Borges
HEh... thats portuguese, not spanish...

It says, If im right, here is a good manual for vpop+qmail..etc


On Tue, 2004-07-13 at 11:50, Natter wrote:
 Eh? I don't speak Spanish so I don't know what
 this means.
 
 Can anyone answer my question as to what I need
 to modify in Courier-imap after it's installed
 via apt-get on Debian to work with vpopmail?
 
 Thanks.
 
 
 --- [EMAIL PROTECTED] wrote:
  marcio da uma olhada nesse site
  www.aplinux.com.br, se nao me engano la tem um bom
  manual qmail + vpopmail
   + imap
  
  
  t+
  
   -BEGIN PGP SIGNED MESSAGE-
   Hash: SHA1
  
   Natter wrote:
  
   | I'm following the qmailrocks guide and already
  have a good
   | qmail/vpopmail system running. Now, I'm trying
  to add courier-imap
   | using apt-get and it installs great, but it
  won't authenticate my
   | user. (http://www.qmailrocks.org/imap_db.htm)
   |
   | It says that I need to change the imapd file:
  change
   | AUTHMODULES=authdaemon to
  AUTHMODULES=authvchkpw
   |
   | change AUTHMODULES_ORIG=authdaemon to
   | AUTHMODULES_ORIG=authvchkpw
   |
   | I've done this but it still won't authenticate
  my test user:
   |
   | #telnet localhost 143 Trying 127.0.0.1...
  Connected to localhost.
   | Escape character is '^]'. * OK Courier-IMAP
  ready. Copyright
   | 1998-2002 Double Precision, Inc. See COPYING for
  distribution
   | information. login [EMAIL PROTECTED] passwd
   |
   | a NO Login failed.
   |
   | What do I have to do to get courier to read my
  vpopmail users?
   |
   | Thanks for the help.
   |
   |
  
   Remember install this courier-imap WITH_VPOPMAIL
  (system operation is
   FreeBSD)
   Look:
  
   inf# telnet localhost 143
   Trying ::1...
   Connected to localhost.
   Escape character is '^]'.
   * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN
  NAMESPACE
   THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA
  IDLE ACL ACL2=UNION
   STARTTLS] Courier-IMAP ready. Copyright 1998-2004
  Double Precision,
   Inc.  See COPYING for distribution information.
   a login marcio password
   a OK LOGIN Ok.
   b logout
   * BYE Courier-IMAP server shutting down
   b OK LOGOUT completed
   Connection closed by foreign host.
   inf#
  
   []'s
   Mrcio
  
   -BEGIN PGP SIGNATURE-
   Version: GnuPG v1.2.4 (MingW32)
   Comment: Using GnuPG with Mozilla -
  http://enigmail.mozdev.org
  
  
 
 iD8DBQFA8wtdENnlSIQoiF0RAtvWAKCIlO2P15YnLW0g2jeUOoIhItC5PQCgj3Jf
   YJtM9TuWvh46BcMrq4Rh+EY=
   =shLG
   -END PGP SIGNATURE-
  
  
  
  
 
 
 
   
 __
 Do you Yahoo!?
 New and Improved Yahoo! Mail - Send 10MB messages!
 http://promotions.yahoo.com/new_mail
 


signature.asc
Description: This is a digitally signed message part


Re: [vchkpw] Clustering

2004-07-14 Thread Alex Borges
Well... i did some research for a proposed 120k maildirs on this setup,
although with squirrelmail.

Here are some big pointers:

A) The bottleneck of smtp is the storage (good storage bandwith), since
its such a simple protocol. Still, storage bandwith is the important
thing in the whole analysis cause if thats slow (you generate more IOPS
than what the storage can handle), everything will suck.

B) The bulk processing youll need, will be generated by email analysis

C) The second largest processing hog will be the webserver with the
webmail cgi's

The combo of this premises takes you down to this:

1) Take the average number of emails you think your users receive. 10-20
per day is a reasonable estimate for some uses (schools for example).
Then also an average email size. Multiply one by another, youll get your
kbps per mailbox.

2) Take into account if you are using pop or imap as the mailbox
protocol. Imap will charge more IOPS in a first analysis, but over time,
it actually takes less (cause users can delete email they dont want
before reading it). Also, work into the model the usage pattern of your
users... how about: 80% of the users check email from 9:00 to 9:30 AM.
Youll be able to calculate the IOPS generated from such an ugly,
although typical, peak. Also, mbox format will be easyer on the IOPS,
but a lot tougher to the imap server. So, choose mbox vs maildir
carefully.

3) As you want email analaysis (antispam, antiviri), youll want to
calculate how many emails can that really deliver (you can say you
receive 1 emails per second, but the virus/spam farm wont be able to
actually deliver that many to the storage, unless you have an UberFast
bunch of servers doing the analysis).

Put all that into your opencalc, play with it, make a test farm, present
to boss ask for a raiseget a denial... go look for another
job...;-)


Now...techietalkin about the techs for this: Id go for ldap/sql based
user management (as your admin tools allow), consolidated, replicated
storage (SAN, DRBD or GFS), LVS for the load balancing, the smaller
protocol for internal email passing (i dont remember the name, its an
much smaller, simpler, smtp lookalike that suits delivery between
servers on a farm).
 
 I did some search on google and I have found clustering solution offered by
 HP Proliant DL380 G3 Packaged Cluster and a solution offered by Netapp
 using their Filers ( F710 for example) which I have found it here on this
 mailing list. I also checked LVS and I have found someone with the same
 setup, who mentioned that there are some modifications to be made on the
 sources.

I dont see why. 



signature.asc
Description: This is a digitally signed message part


Re: [vchkpw] qmail + vpopmail authentication (SMTPafterPOP)

2004-07-14 Thread Edilmar
Ken Jones wrote:
On Thursday 08 July 2004 11:12 am, Edilmar wrote:
 

Ken Jones wrote:
   

On Thursday 08 July 2004 08:47 am, Edilmar wrote:
 

Hi,
I have a system with netqmail 1.05 + vpopmail 5.4.0 + sqwebmail 4.0.5 +
qmailadmin 1.2.0 + clamav 0.73 + qmailscanner.
Now, I'd like to do some kind of SMTP authetication using the idea of
SMTPafterPOP, to use the vpopmail users (into
vpasswd file) to authenticate the sending of emails.
I found some patches for QMail, but I'm doubt about the functionality of
its with vpopmail users database.
I work in a school and there are other units of it that uses internet
providers with dinamic IPs. Then, all the time I need to
change /etc/tcp.smtp to add the actual IP address for the list of
external users to do SMTP relay. But I think if I will have
SMTP authentication, I may do a QMail OPEN RELAY and all will work fine.
Is this TRUE or I'm CRAZY to think
about OPEN RELAY? Is there some alternatives to do this without OPEN
RELAY?
   

Use tonix's qmail-smtp/vpopmail auth patch.
Smtp authentication is the cleanest way to go.
Ken Jones
 

But, with it, I will configure /etc/tcp.smtp for 0.0.0. = OPEN RELAY?
   

No. Just configure tcp.smtp for all static IP's you want to allow to
relay without authentication, like internal servers that need an outbound
mail server.
For example:
127.0.0.1:allow,RELAYCLIENT=
209.218.8.:allow,RELAYCLIENT=
Ken
 

Hi,
I installed the smtp-auth patch, the certificate was created fine, 
client Mozilla recognized this certificate,
and sending/receiving emails from LAN worked fine, but LAN IP is into 
/etc/tcp.smtp. Then, it's not
using authentication.

When I tried to remove LAN from /etc/tcp.smtp, to test real 
authentication the first message error was:

553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
553 no valid cert for gatewaying (#5.7.1)
Then, I followed the link http://www.differentpla.net/node/view/170 
where it's said to change the
supervise/qmail-smtpd/run into user/group ID from QMail to VPopmail. 
After do this, the message
error changed to the traditional:

553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
the error about gatewaying didn't occur more.
What's the problem?
Is it needed to execute the run script with VPopmail users/group?
What about the first problem about gatewaying?