[vchkpw] Query!

2002-10-16 Thread nilesh kothari


dear Sir,

i am not able to access mail via outlookexpress, netscape.

i tried both [EMAIL PROTECTED], user%domain.com in user field of
outlook.

i am abel to access mail via sqwebmail.

i read FAQ  Install file both. but problem is still occuring.


  Thanking you
  regards
  Nilesh Kothari












RE: [vchkpw] Query!

2002-10-16 Thread Michael Bowe

1. make sure your pop3 daemon is running, and is configured for using vchkpw
authentication

2. If the pop3d is running ok, then take a look in the maillogs, as this
will sometimes give you a clue as to why the authentication is failing. eg
on Redhat you could look in the file : /var/log/maillog

Michael.

 -Original Message-
 From: nilesh kothari [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, 16 October 2002 5:20 PM
 To: [EMAIL PROTECTED]
 Subject: [vchkpw] Query!



 dear Sir,

 i am not able to access mail via outlookexpress, netscape.

 i tried both [EMAIL PROTECTED], user%domain.com in user field of
 outlook.

 i am abel to access mail via sqwebmail.

 i read FAQ  Install file both. but problem is still occuring.


   Thanking you
   regards
   Nilesh Kothari














[vchkpw] Qmail AntiSpaming

2002-10-16 Thread Martin Chung



Hi,

Is there any tool or patch to control Qmail sending 
emails out?
Can I control the numbers of emails sending from a 
user within a period of time?

Thank you

Martin



[vchkpw] bounced mail sent by /var/qmail/bin/sendmail back to owner

2002-10-16 Thread Neo Wee Teck

I having this bounce mail problem.

Email header


Return-Path: [EMAIL PROTECTED]
Received: (qmail 5258 invoked by uid 65534); 16 Oct 2002 10:07:19 -


this email is sent using the sendmail included inside qmail. When the
recipient is not found, it will bounce back to me. Is there anywhere to
set the Return-Path for the sendmail to nothing?

Please advise






[vchkpw] integrated qmail-vpopmail-mysql with squid-mysql, pureftp-mysql,samba-mysql

2002-10-16 Thread anton heryanto

Hello all
thanks for the open source project
I'm campus network administrator and I try to implement single-sign on 
with auth backend using mysql database!!!
I have searched server that we need that using mysql as auth module for 
*nix and windows desktop and found :
mail server -- qmail + vpopmail+mysql
ftp server   --  pureftp + mysql
proxy server -- squid+mysql
domain logon \
file server  samba +mysql -- only work for 2.0.x , 2.2.x still 
on progress (by Jelmer Vernooij)
print server/
web server -- apache+mod_auth_mysql
-
but I have a difficulty, because each server use their own mysql 
database, table  and password encryption, I want to that all server use 
same database and table and if could be use same password encryption 
method .
first I want to combine mail+proxy using same database and other after 
that...
so I using vpopmail database for squid_mysql to authenticate,  
thing that I need to ask is there anybody know how to read password from 
mysql database to fit on dialog box that given by browser username and 
password
I have successes, but using vpopmail+ clear password, and I want to try 
using password that have encrypted
So how read encrypted password that generate by vpopmail

And for later I want to change vpopmail encryption method to use samba 
(NT) encryption
In which part of source that I should to change.

Sorry, for my bad English
thanks for all of you attention and help

Regards


Anton


:-)





Re: [vchkpw] integrated qmail-vpopmail-mysql with squid-mysql,pureftp-mysql, samba-mysql

2002-10-16 Thread Rick Romero


I've looked into this also, but I haven't gotten any further than the
research phase.

From what I've found, you might want to start with Samba+LDAP, and add
qmail+ldap to that.  
OR, while looking for the samba+LDAP+PDC docs, I came across this at
RedHat:

http://rhems.sourceforge.net/rhldc.htm

Interoperability between RHSD projects such as the RHSD Email Server
and the RHSD Domain Controller will allow for use of Single-Sign On.
RHSD also utilizes IETF Standardized projects and therefore will be 
compatible with any Directory system compatible with LDAP v.3.

You might want to start there.  (I just may revisit that myself sooner
than later :)

Rick

On Wed, 2002-10-16 at 06:05, anton heryanto wrote:
 Hello all
 thanks for the open source project
 I'm campus network administrator and I try to implement single-sign on 
 with auth backend using mysql database!!!
 I have searched server that we need that using mysql as auth module for 
 *nix and windows desktop and found :
 mail server -- qmail + vpopmail+mysql
 ftp server   --  pureftp + mysql
 proxy server -- squid+mysql
 domain logon \
 file server  samba +mysql -- only work for 2.0.x , 2.2.x still 
 on progress (by Jelmer Vernooij)
 print server/
 web server -- apache+mod_auth_mysql
 -
 but I have a difficulty, because each server use their own mysql 
 database, table  and password encryption, I want to that all server use 
 same database and table and if could be use same password encryption 
 method .
 first I want to combine mail+proxy using same database and other after 
 that...
 so I using vpopmail database for squid_mysql to authenticate,  
 thing that I need to ask is there anybody know how to read password from 
 mysql database to fit on dialog box that given by browser username and 
 password
 I have successes, but using vpopmail+ clear password, and I want to try 
 using password that have encrypted
 So how read encrypted password that generate by vpopmail
 
 And for later I want to change vpopmail encryption method to use samba 
 (NT) encryption
 In which part of source that I should to change.
 
 Sorry, for my bad English
 thanks for all of you attention and help
 
 Regards
 
 
 Anton
 
 
 :-)
 
 






Re: [vchkpw] integrated qmail-vpopmail-mysql withsquid-mysql,pureftp-mysql, samba-mysql

2002-10-16 Thread Rick Romero


I'm sorry, I thought you were just looking for information on doing
single sign-on.  I have not attempted to do any of that yet.

But you'll have to give more information than you have.

How did you create your users?  Samba?  Vpopmail? 

It sounds like you have Vpopmail working, because you said you
authenticate with IMAP.
I'm sorry, I thought you were just looking for information on doing
single sign-on.  I have not attempted to do any of that yet.
. but I'm not sure I'm reading that right..

What works?  Vpopmail IMAP/POP ?
What doesn't work? Samba? ftp?


Does anyone know if there's a Linux Single Sign- on mailing
list/repository?  

Rick

On Wed, 2002-10-16 at 07:44, zafar wrote:
 yup its working fine as i check other script which i manually write and
 authenticate it with imap functions.
 but here it is not working.
 either i give full name or give onlyname.
 i think some other setting left but i follow all instructions.
 no result at the end.so what kind of help.
 i can't login in a single time.
 so help me..

 - Original Message -
 From: Rick Romero [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Wednesday, October 16, 2002 5:23 PM
 Subject: Re: [vchkpw] integrated qmail-vpopmail-mysql with
 squid-mysql,pureftp-mysql, samba-mysql
 
 
 
  I've looked into this also, but I haven't gotten any further than the
  research phase.
 
  From what I've found, you might want to start with Samba+LDAP, and add
  qmail+ldap to that.
  OR, while looking for the samba+LDAP+PDC docs, I came across this at
  RedHat:
 
  http://rhems.sourceforge.net/rhldc.htm
 
  Interoperability between RHSD projects such as the RHSD Email Server
  and the RHSD Domain Controller will allow for use of Single-Sign On.
  RHSD also utilizes IETF Standardized projects and therefore will be
  compatible with any Directory system compatible with LDAP v.3.
 
  You might want to start there.  (I just may revisit that myself sooner
  than later :)
 
  Rick
 
  On Wed, 2002-10-16 at 06:05, anton heryanto wrote:
   Hello all
   thanks for the open source project
   I'm campus network administrator and I try to implement single-sign on
   with auth backend using mysql database!!!
   I have searched server that we need that using mysql as auth module for
   *nix and windows desktop and found :
   mail server -- qmail + vpopmail+mysql
   ftp server   --  pureftp + mysql
   proxy server -- squid+mysql
   domain logon \
   file server  samba +mysql -- only work for 2.0.x , 2.2.x still
   on progress (by Jelmer Vernooij)
   print server/
   web server -- apache+mod_auth_mysql
   -
   but I have a difficulty, because each server use their own mysql
   database, table  and password encryption, I want to that all server use
   same database and table and if could be use same password encryption
   method .
   first I want to combine mail+proxy using same database and other after
   that...
   so I using vpopmail database for squid_mysql to authenticate,
   thing that I need to ask is there anybody know how to read password from
   mysql database to fit on dialog box that given by browser username and
   password
   I have successes, but using vpopmail+ clear password, and I want to try
   using password that have encrypted
   So how read encrypted password that generate by vpopmail
  
   And for later I want to change vpopmail encryption method to use samba
   (NT) encryption
   In which part of source that I should to change.
  
   Sorry, for my bad English
   thanks for all of you attention and help
  
   Regards
  
  
   Anton
  
  
   :-)
  
  
 
 
 
 
 






Re: [vchkpw] integrated qmail-vpopmail-mysqlwith squid-mysql,pureftp-mysql, samba-mysql

2002-10-16 Thread Rick Romero

On Wed, 
2002-10-16 at 08:11, anton heryanto wrote:
 Rick Romero wrote:
 
 I'm sorry, I thought you were just looking for information on doing
 single sign-on.  I have not attempted to do any of that yet.
 
 But you'll have to give more information than you have.
 
 How did you create your users?  Samba?  Vpopmail? 

i create user using vpasswd and qmailadmin and keep ini mysql database
and i want to use this vpopmail database for squid mysql auth module
i haven't implement samba+mysql --- :-) 


I'm not familiar with squid, but I'd do this:

1. make sure squid is using the same database/table as vpopmail
2. make sure squid is looking at the right columns for the username
password.

I believe, by default, the database is 'vpopmail', and the table is
'vpopmail'.  The columns are setup as so:

pw_name | pw_domain| pw_passwd | pw_uid | pw_gid | pw_gecos|
pw_dir   | pw_shell  |
pw_clear_passwd |

I think it's pretty straight forward.  Add the necessary squid columns
to the vpopmail table, and tell squid to use pw_name and pw_clear_passwd
to auth, if you can.

Your best resource for where to do that in Squid would be the Squid
list..

But then, I would recommend also taking a look at what samba requires. 
You wouldn't want to spend time hacking up Squid auth, only to find that
it doesn't work with Samba. (I would think Squid would be the easiest to
integrate)

Please reply to the list, while I try to be helpful, I'm not necessarily
knowledgeable, and peer review can hopefully correct any mistakes I may
make (or give you a different road to follow).

Rick


snip






Re: [vchkpw] alias support via vpopmail in PHP

2002-10-16 Thread Justin Heesemann

 
  P.S: though I have valias support enabled and it seems to be working fine
  (can use command line valias to add re-director (as well as test it), php
  refuses to add support for it. Have re-built from clean tree sources for
  vpopmail as well as php, no luck.
 
  Though not a vpopmail problem, if anyone has any idea why this may be,
  I'd appreciate it some guidance.
 
  -mustafa.

the vpopmail extension (you might want to try mine, as it has some important 
fixes for alias domains) is checking for valias support by looking for the 
library call valias_select

you might want to try:   

strings ~vpopmail/lib/libvpopmail.a | grep valias_select

to check whether this function really is in your libvpopmail.a

oh.. and you can find my php vpopmail extension at
http://www.ionium.org/php/php_vpopmail-0.1.tar.gz

-- 
Best Regards,

Justin Heesemann




RE: [vchkpw] Qmail AntiSpaming

2002-10-16 Thread John C



You 
could put the tarpit patch on qmail which puts a sleep in multiple RCPT TO 
commands Ex. CCs

John

  -Original Message-From: Martin Chung 
  [mailto:[EMAIL PROTECTED]]Sent: Wednesday, October 16, 2002 4:47 
  AMTo: [EMAIL PROTECTED]Subject: [vchkpw] Qmail 
  AntiSpaming
  Hi,
  
  Is there any tool or patch to control Qmail 
  sending emails out?
  Can I control the numbers of emails sending from 
  a user within a period of time?
  
  Thank you
  
  Martin
  


RE: [vchkpw] Qmail AntiSpaming

2002-10-16 Thread Paul Theodoropoulos


there's a whole list of tools at www.qmail.org .

At 10:22 AM 10/16/2002, John C wrote:
You could put the tarpit patch on qmail which puts a sleep in multiple 
RCPT TO commands Ex. CCs

John
-Original Message-
From: Martin Chung [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 16, 2002 4:47 AM
To: [EMAIL PROTECTED]
Subject: [vchkpw] Qmail AntiSpaming

Hi,

Is there any tool or patch to control Qmail sending emails out?
Can I control the numbers of emails sending from a user within a period of 
time?

Thank you

Martin


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






RE: [vchkpw] Qmail AntiSpaming

2002-10-16 Thread Charles Sprickman

For what it's worth, where I used to work they just started using spam
assassin system-wide.  There was some laborious tuning involved, but they
are now sinking about 50-65% of incoming mail to the trash.  False
positives don't seem to be a problem.  I've seen my inbox almost
completely free of junk...  Might want to have a look at SA.  RSN I'm
going to try it on my own vpopmail installation, and I'm going to try and
tie SAAdmin and SquirrelMail together so users have a web-based tool to
activate/deactive/configure spam assassin...

Charles

On Wed, 16 Oct 2002, Paul Theodoropoulos wrote:


 there's a whole list of tools at www.qmail.org .

 At 10:22 AM 10/16/2002, John C wrote:
 You could put the tarpit patch on qmail which puts a sleep in multiple
 RCPT TO commands Ex. CCs
 
 John
 -Original Message-
 From: Martin Chung [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, October 16, 2002 4:47 AM
 To: [EMAIL PROTECTED]
 Subject: [vchkpw] Qmail AntiSpaming
 
 Hi,
 
 Is there any tool or patch to control Qmail sending emails out?
 Can I control the numbers of emails sending from a user within a period of
 time?
 
 Thank you
 
 Martin
 

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









RE: [vchkpw] Qmail AntiSpaming

2002-10-16 Thread Paul Theodoropoulos


You might want to look at Blackhole as well. I'm very pleased with it so 
far. I figured out how to enable it on a vpopmail installation just 
yesterday. http://www.groovy.org/blackhole.shtml . I'd say it's as good as 
or better than spamassassin.

I'm working with the author currently to clean up the documentation and the 
user config file (.blackhole) since there are 72 options in it, and it can 
get very confusing trying to get all the settings just right. more options 
== finer-grained control though, which is a good thing WRT spam and virus 
filtering.

At 10:32 AM 10/16/2002, Charles Sprickman wrote:
For what it's worth, where I used to work they just started using spam
assassin system-wide.  There was some laborious tuning involved, but they
are now sinking about 50-65% of incoming mail to the trash.  False
positives don't seem to be a problem.  I've seen my inbox almost
completely free of junk...  Might want to have a look at SA.  RSN I'm
going to try it on my own vpopmail installation, and I'm going to try and
tie SAAdmin and SquirrelMail together so users have a web-based tool to
activate/deactive/configure spam assassin...

Charles

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






Re: [vchkpw] Qmail AntiSpaming

2002-10-16 Thread Martin Chung



It seems that tarpit patch only works to stop 
spammer. However, some users used scripts to send large amount of advertising 
emails throught my SMTP server and each connection only use 1 or 2 RCPT TO. I 
can't stop them using my SMTP server. I just want to limit the number of emails 
they can send within a period of time. For example, users can only send 100 
emails in 1 day.
Can spamGuard be able to do this? Or any other 
solution?

Thank you,
Martin

  - Original Message - 
  From: 
  John 
  C 
  To: [EMAIL PROTECTED] 
  Sent: Thursday, October 17, 2002 1:22 
  AM
  Subject: RE: [vchkpw] Qmail 
  AntiSpaming
  
  You 
  could put the tarpit patch on qmail which puts a sleep in multiple RCPT TO 
  commands Ex. CCs
  
  John
  
-Original Message-From: Martin Chung 
[mailto:[EMAIL PROTECTED]]Sent: Wednesday, October 16, 2002 4:47 
AMTo: [EMAIL PROTECTED]Subject: 
[vchkpw] Qmail AntiSpaming
Hi,

Is there any tool or patch to control Qmail 
sending emails out?
Can I control the numbers of emails sending 
from a user within a period of time?

Thank you

Martin



[vchkpw] Disable email sent to postmaster?

2002-10-16 Thread Neo Wee Teck

Anyway to disable email to be sent to postmaster?? 


There is a method which I find a bit troublesome that is to change
.qmail-postmaster in each domain to | /home/vpopmail/bin/vdelivermail
'' delete

Is there a way to globally set to delete any email sent to postmaster.

Please advise





Re: [vchkpw] Qmail AntiSpaming

2002-10-16 Thread Rick Romero


You could always amend your 'User Agreement' to charge $500 per instance
of Spam, and misuse of company resources..

Then, instead of spending time slowing down spam (and potentially
discouraging honest users), you can try and squeeze money out of the
people misusing the service.  Or just kick them off.

But that's just me.  It worked for the one spammer I've had, and they
haven't come back.

http://www.enderunix.org/isoqlog/ - Log file analysis tool.  
Will sort by user.

Rick

On Wed, 2002-10-16 at 12:52, Martin Chung wrote:
 It seems that tarpit patch only works to stop spammer. However, some users used 
scripts to send large amount of advertising emails throught my SMTP server and each 
connection only use 1 or 2 RCPT TO. I can't stop them using my SMTP server. I just 
want to limit the number of emails they can send within a period of time. For 
example, users can only send 100 emails in 1 day.
 Can spamGuard be able to do this? Or any other solution?
 
 Thank you,
 Martin
   - Original Message - 
   From: John C 
   To: [EMAIL PROTECTED] 
   Sent: Thursday, October 17, 2002 1:22 AM
   Subject: RE: [vchkpw] Qmail AntiSpaming
 
 
   You could put the tarpit patch on qmail which puts a sleep in multiple RCPT TO 
commands Ex. CCs
 
   John
 -Original Message-
 From: Martin Chung [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, October 16, 2002 4:47 AM
 To: [EMAIL PROTECTED]
 Subject: [vchkpw] Qmail AntiSpaming
 
 
 Hi,
 
 Is there any tool or patch to control Qmail sending emails out?
 Can I control the numbers of emails sending from a user within a period of time?
 
 Thank you
 
 Martin






Re: [vchkpw] Qmail AntiSpaming

2002-10-16 Thread Lanny

You may want to try qadmin-tmda. It will block all mail until the sender
is 'recognized'. I use it on many servers. The only problem I am
currently having is with large (100 users) as it seems to only go to
../domains/domainname/.qmail-username  

Regards,
Lanny

On Wed, 2002-10-16 at 14:53, Rick Romero wrote:
 
 You could always amend your 'User Agreement' to charge $500 per instance
 of Spam, and misuse of company resources..
 
 Then, instead of spending time slowing down spam (and potentially
 discouraging honest users), you can try and squeeze money out of the
 people misusing the service.  Or just kick them off.
 
 But that's just me.  It worked for the one spammer I've had, and they
 haven't come back.
 
 http://www.enderunix.org/isoqlog/ - Log file analysis tool.  
 Will sort by user.
 
 Rick
 
 On Wed, 2002-10-16 at 12:52, Martin Chung wrote:
  It seems that tarpit patch only works to stop spammer. However, some users used 
scripts to send large amount of advertising emails throught my SMTP server and each 
connection only use 1 or 2 RCPT TO. I can't stop them using my SMTP server. I just 
want to limit the number of emails they can send within a period of time. For 
example, users can only send 100 emails in 1 day.
  Can spamGuard be able to do this? Or any other solution?
  
  Thank you,
  Martin
- Original Message - 
From: John C 
To: [EMAIL PROTECTED] 
Sent: Thursday, October 17, 2002 1:22 AM
Subject: RE: [vchkpw] Qmail AntiSpaming
  
  
You could put the tarpit patch on qmail which puts a sleep in multiple RCPT TO 
commands Ex. CCs
  
John
  -Original Message-
  From: Martin Chung [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, October 16, 2002 4:47 AM
  To: [EMAIL PROTECTED]
  Subject: [vchkpw] Qmail AntiSpaming
  
  
  Hi,
  
  Is there any tool or patch to control Qmail sending emails out?
  Can I control the numbers of emails sending from a user within a period of 
time?
  
  Thank you
  
  Martin
 
 
 






Re: [vchkpw] Qmail AntiSpaming

2002-10-16 Thread Rick Romero


Did I read that wrong? I thought he was talking about outgoing mail from
users of his mail server..

Or did I read yours wrong?  I thought TMDA was meant to control incoming
mail for your users..

On Wed, 2002-10-16 at 14:38, Lanny wrote:
 You may want to try qadmin-tmda. It will block all mail until the sender
 is 'recognized'. I use it on many servers. The only problem I am
 currently having is with large (100 users) as it seems to only go to
 ../domains/domainname/.qmail-username  
 
 Regards,
 Lanny
 
 On Wed, 2002-10-16 at 14:53, Rick Romero wrote:
  
  You could always amend your 'User Agreement' to charge $500 per instance
  of Spam, and misuse of company resources..
  
  Then, instead of spending time slowing down spam (and potentially
  discouraging honest users), you can try and squeeze money out of the
  people misusing the service.  Or just kick them off.
  
  But that's just me.  It worked for the one spammer I've had, and they
  haven't come back.
  
  http://www.enderunix.org/isoqlog/ - Log file analysis tool.  
  Will sort by user.
  
  Rick
  
  On Wed, 2002-10-16 at 12:52, Martin Chung wrote:
   It seems that tarpit patch only works to stop spammer. However, some users used 
scripts to send large amount of advertising emails throught my SMTP server and each 
connection only use 1 or 2 RCPT TO. I can't stop them using my SMTP server. I just 
want to limit the number of emails they can send within a period of time. For 
example, users can only send 100 emails in 1 day.
   Can spamGuard be able to do this? Or any other solution?
   
   Thank you,
   Martin
 - Original Message - 
 From: John C 
 To: [EMAIL PROTECTED] 
 Sent: Thursday, October 17, 2002 1:22 AM
 Subject: RE: [vchkpw] Qmail AntiSpaming
   
   
 You could put the tarpit patch on qmail which puts a sleep in multiple RCPT TO 
commands Ex. CCs
   
 John
   -Original Message-
   From: Martin Chung [mailto:[EMAIL PROTECTED]]
   Sent: Wednesday, October 16, 2002 4:47 AM
   To: [EMAIL PROTECTED]
   Subject: [vchkpw] Qmail AntiSpaming
   
   
   Hi,
   
   Is there any tool or patch to control Qmail sending emails out?
   Can I control the numbers of emails sending from a user within a period of 
time?
   
   Thank you
   
   Martin
  
  
  
 
 
 






Re: [vchkpw] Qmail AntiSpaming

2002-10-16 Thread Lanny

Oh,
Maybe I read that wrong. I thought the person wanted spam filtering. But
that would work anyway. In the whitelist, just remove the domain the
user is in. That way the sender will still have to reply.

Regards,
Lanny


On Wed, 2002-10-16 at 15:43, Rick Romero wrote:
 
 Did I read that wrong? I thought he was talking about outgoing mail from
 users of his mail server..
 
 Or did I read yours wrong?  I thought TMDA was meant to control incoming
 mail for your users..
 
 On Wed, 2002-10-16 at 14:38, Lanny wrote:
  You may want to try qadmin-tmda. It will block all mail until the sender
  is 'recognized'. I use it on many servers. The only problem I am
  currently having is with large (100 users) as it seems to only go to
  ../domains/domainname/.qmail-username  
  
  Regards,
  Lanny
  
  On Wed, 2002-10-16 at 14:53, Rick Romero wrote:
   
   You could always amend your 'User Agreement' to charge $500 per instance
   of Spam, and misuse of company resources..
   
   Then, instead of spending time slowing down spam (and potentially
   discouraging honest users), you can try and squeeze money out of the
   people misusing the service.  Or just kick them off.
   
   But that's just me.  It worked for the one spammer I've had, and they
   haven't come back.
   
   http://www.enderunix.org/isoqlog/ - Log file analysis tool.  
   Will sort by user.
   
   Rick
   
   On Wed, 2002-10-16 at 12:52, Martin Chung wrote:
It seems that tarpit patch only works to stop spammer. However, some users 
used scripts to send large amount of advertising emails throught my SMTP server and 
each connection only use 1 or 2 RCPT TO. I can't stop them using my SMTP server. I 
just want to limit the number of emails they can send within a period of time. For 
example, users can only send 100 emails in 1 day.
Can spamGuard be able to do this? Or any other solution?

Thank you,
Martin
  - Original Message - 
  From: John C 
  To: [EMAIL PROTECTED] 
  Sent: Thursday, October 17, 2002 1:22 AM
  Subject: RE: [vchkpw] Qmail AntiSpaming


  You could put the tarpit patch on qmail which puts a sleep in multiple RCPT 
TO commands Ex. CCs

  John
-Original Message-
From: Martin Chung [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 16, 2002 4:47 AM
To: [EMAIL PROTECTED]
Subject: [vchkpw] Qmail AntiSpaming


Hi,

Is there any tool or patch to control Qmail sending emails out?
Can I control the numbers of emails sending from a user within a period of 
time?

Thank you

Martin
   
   
   
  
  
  
 
 
 






RE: [vchkpw] Vpopmail under devel any longer?

2002-10-16 Thread Brad Dameron

Sorry but the qmail-ext only works with the .qmail files. It doesn't work
with the valias's in MySQL. That is what we have been posting about for a
month now.

---
Brad Dameron
Network Account Executive
TSCNet Inc.
 www.tscnet.com
Silverdale, WA. 
1-888-8TSCNET



 -Original Message-
 From: Ken Jones [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, October 15, 2002 2:14 PM
 To: David U.; [EMAIL PROTECTED]
 Subject: Re: [vchkpw] Vpopmail under devel any longer?


 On Tuesday 15 October 2002 12:27 am, David U. wrote:
  Steve Fulton wrote:
   At 22:08 14/10/2002 -0500, David U. wrote:
   post of a link to Vpopmail 5.3.9
  
   Is anyone actually running it?  I tried to but then reverted because
   of a couple issues.
  
   I am, though I'm curious about what problems you've discovered..
 
  The most annoying one being the qmail-extension not working.

 use the --enable-qmail-ext=y option
 It is turned off by default.

 We are preparing a new stable release in the next month or
 so. Probably release a new development version later this week.

 Hope that helps
 Ken Jones









[vchkpw] Re: Disable email sent to postmaster?

2002-10-16 Thread Peter Palmreuther

Hello Neo,

On Wednesday, October 16, 2002 at 8:24:41 PM you wrote:

 Anyway to disable email to be sent to postmaster?? 

No. And as 'postmaster' is one of the few addresses especially
required by RFCs[1] I think nobody will take the effort to implement such
mass-disabling of postmaster account.

Of course you're free to write a QD script to go through all domains
you've set up and create an appropriate .qmail file, but you shouldn't
wonder if one day out of a sudden mails from your system become
blocked because you're maybe listed at

http://www.rfc-ignorant.org/

[1] e.g. RFC822, sec. 6.3 RESERVED ADDRESS
-- 
Best regards
Peter Palmreuther





[vchkpw] mail gateway smtp auth

2002-10-16 Thread Lists @ Apted Technologies Inc.

im an integrating my companies existing qmail/vpopmail/mysql server and an
older post.office setup into one.  i have three boxes that would be the
listed mail exchangers and would also perform limited virus checking and
spam prevention.  mail comes in to one of them, passes through filtering
process, if not rejected, then forwarded to the real mail server where
actual mailboxes reside on some raid equipment.  this plan seems great to
me, but i have one problem.  smtp auth.  if i have qmail/smtp-auth set up on
all three of these boxes and the actual server with users maildirs is on
another box, how are any mails gonna make it through?  well im thinking i
could set up vpopmail on all boxes with mysql replication and have the main
mail server as the master, but that seems a bit much to me.  all the other
notions i have in my head about how to do this just don't seem clean enough
to really want to implement.  i just need a method for qmail/smtp-auth on
these three mail exchangers (gateway) to use the auth info from the main
mail servers vpopmail/mysql database. does anyone have any suggestions?
thanks all.

-chris





[vchkpw] Vpopmail directories

2002-10-16 Thread Daniel Demacek

Hello,

why do I have /home/vpopmail/domains/domain.com/0 through 5 directories?


I'm developing web email client that read emails directly from disk, and
I'm having problems on how to determine where the user dir actually
resides.

Also when directly deleting(rm) emails from ./Maildir/cur does
.current_size file need to be updated or just deletion is enough.

Any thougths?

Thanks, Dan.





Re: [vchkpw] mail gateway smtp auth

2002-10-16 Thread Rick Romero


You wouldn't necessarily need the MySQL Replication... Just point all
the boxes to the main server with MySQL on it.

Do that first, then play with the replication.. If you get it to work,
recompile vpopmail to use the local MySQL server.

Rick

On Wed, 2002-10-16 at 15:31, Lists  Apted Technologies Inc. wrote:
 im an integrating my companies existing qmail/vpopmail/mysql server and an
 older post.office setup into one.  i have three boxes that would be the
 listed mail exchangers and would also perform limited virus checking and
 spam prevention.  mail comes in to one of them, passes through filtering
 process, if not rejected, then forwarded to the real mail server where
 actual mailboxes reside on some raid equipment.  this plan seems great to
 me, but i have one problem.  smtp auth.  if i have qmail/smtp-auth set up on
 all three of these boxes and the actual server with users maildirs is on
 another box, how are any mails gonna make it through?  well im thinking i
 could set up vpopmail on all boxes with mysql replication and have the main
 mail server as the master, but that seems a bit much to me.  all the other
 notions i have in my head about how to do this just don't seem clean enough
 to really want to implement.  i just need a method for qmail/smtp-auth on
 these three mail exchangers (gateway) to use the auth info from the main
 mail servers vpopmail/mysql database. does anyone have any suggestions?
 thanks all.
 
 -chris
 
 






RE: [vchkpw] Qmail AntiSpaming

2002-10-16 Thread Werner Schalk

Hello,

what about spam filtering methods or programs
that work with vpopmail and qmail without
compiling qmail completly new? Has anyone
got spamassassin or anything like that
to work?

Bye and thanks,
Werner.





Re: [vchkpw] Vpopmail directories

2002-10-16 Thread Bill Shupp

On Wednesday, October 16, 2002, at 01:48  PM, Daniel Demacek wrote:

 Hello,

 why do I have /home/vpopmail/domains/domain.com/0 through 5 
 directories?

This happens when you reach about 100 domains.  There is a new 
configure switch to turn this off if you want.  You'll need 5.3.6 or 
later, I think.

 I'm developing web email client that read emails directly from disk, 
 and
 I'm having problems on how to determine where the user dir actually
 resides.

You should use the vpopmail API 
(http://inter7.com/vpopmail/vpopmail.html) to get the user directory.  
That will be the best method for your app.

 Also when directly deleting(rm) emails from ./Maildir/cur does
 .current_size file need to be updated or just deletion is enough.

This was deprecated in 5.2.  You should write your application to 
adhere to the Maildir++ spec, located here:

http://inter7.com/courierimap/README.maildirquota.html

Regards,

Bill Shupp





Re: [vchkpw] Vpopmail under devel any longer?

2002-10-16 Thread Justin Heesemann

On Wednesday 16 October 2002 22:02, Brad Dameron wrote:
 Sorry but the qmail-ext only works with the .qmail files. It doesn't work
 with the valias's in MySQL. That is what we have been posting about for a
 month now.

it still _is_ under development. however some of the main developers seem to 
be a little busy lately :)
as i'm interested in this too (for being able to use tmda properly with 
valias), i guess i'm going to have a look at this problem.





[vchkpw] maildir problem

2002-10-16 Thread danielsan



 Hello
 
 my config
 
 qmail 1.03
 ezmlm 0.53
 ezmlm-idx 0.40
 vpopamil (feb 2002) don't remeber version

 courier-imap (feb 2002) don't remeber version
  
  Today one user was sending mail(4mb attachment)  from imap via
outlook.

Was the mail sent to a mailinglist managed by ezmlm?  How big is the
partition for /var/qmail?
 
The user was using an imap account [EMAIL PROTECTED] with the sender
addresss of [EMAIL PROTECTED](a list in my server)

at one point the server stopped to service outlook

After 30 min the server restart to respond, but not to all mail account
in @some.domain.
in the [EMAIL PROTECTED] all the user subdir exist, but if
i try vuserinfo i get : no soch user

The lists are in sql and i can access them trugh qmailadmin.
 
Are this mail file corrupted? is it possible?

Thx
Daniele





RE: [vchkpw] mail gateway smtp auth

2002-10-16 Thread John Johnson

 replication is EASY!!! First make sure both versions of mysql are the
Same..Now set permissions.. GRANT FILE ON *.* TO REPL@% IDENTIFIED BY
'password';
 Do that on the master... Shutdown MySQL then tar.gz the files for the
data bases on the primary server And put them on the new slave. 
 Now edit the my.cnf on the master and add this
[mysqld]
Log-bin
Server-id=1
 
 Now restart the master. And now add this below to the slave my.cnf
[mysqld]
Log-bin
Server-id=2
Master-host=hostname of the master
Master-user=replication user
Master-password=replication user password

Now restart the slave and do this from the mysql client
SHOW_SLAVE_STATUS;


-Original Message-
From: Rick Romero [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, October 16, 2002 1:51 PM
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] mail gateway  smtp auth



You wouldn't necessarily need the MySQL Replication... Just point all
the boxes to the main server with MySQL on it.

Do that first, then play with the replication.. If you get it to work,
recompile vpopmail to use the local MySQL server.

Rick

On Wed, 2002-10-16 at 15:31, Lists @ Apted Technologies Inc. wrote:
 im an integrating my companies existing qmail/vpopmail/mysql server 
 and an older post.office setup into one.  i have three boxes that 
 would be the listed mail exchangers and would also perform limited 
 virus checking and spam prevention.  mail comes in to one of them, 
 passes through filtering process, if not rejected, then forwarded to 
 the real mail server where actual mailboxes reside on some raid 
 equipment.  this plan seems great to me, but i have one problem.  smtp

 auth.  if i have qmail/smtp-auth set up on all three of these boxes 
 and the actual server with users maildirs is on another box, how are 
 any mails gonna make it through?  well im thinking i could set up 
 vpopmail on all boxes with mysql replication and have the main mail 
 server as the master, but that seems a bit much to me.  all the other 
 notions i have in my head about how to do this just don't seem clean 
 enough to really want to implement.  i just need a method for 
 qmail/smtp-auth on these three mail exchangers (gateway) to use the 
 auth info from the main mail servers vpopmail/mysql database. does 
 anyone have any suggestions? thanks all.
 
 -chris
 
 











RE: [vchkpw] mail gateway smtp auth

2002-10-16 Thread Clayton Weise

When running qmail with smtp-auth you have to give it a password checking
program.  You'll need to setup vchkpw on your smtp-auth box no matter what
to authenticate.  So it'll need vpopmail on it anyway, unless you have a
different method in mind..

-Clayton

-Original Message-
From: Lists @ Apted Technologies Inc. [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 16, 2002 1:31 PM
To: [EMAIL PROTECTED]
Subject: [vchkpw] mail gateway  smtp auth


im an integrating my companies existing qmail/vpopmail/mysql server and an
older post.office setup into one.  i have three boxes that would be the
listed mail exchangers and would also perform limited virus checking and
spam prevention.  mail comes in to one of them, passes through filtering
process, if not rejected, then forwarded to the real mail server where
actual mailboxes reside on some raid equipment.  this plan seems great to
me, but i have one problem.  smtp auth.  if i have qmail/smtp-auth set up on
all three of these boxes and the actual server with users maildirs is on
another box, how are any mails gonna make it through?  well im thinking i
could set up vpopmail on all boxes with mysql replication and have the main
mail server as the master, but that seems a bit much to me.  all the other
notions i have in my head about how to do this just don't seem clean enough
to really want to implement.  i just need a method for qmail/smtp-auth on
these three mail exchangers (gateway) to use the auth info from the main
mail servers vpopmail/mysql database. does anyone have any suggestions?
thanks all.

-chris







RE: [vchkpw] Qmail AntiSpaming

2002-10-16 Thread Rick Romero


I compiled qmail with the qmail-queue patch, and added Qmail-Scanner and
SpamAssassin.

There are docs floating around to on how to add SpamAssassin via .qmail
files if you don't want to recompile, or didn't compile with the
qmail-queue patch.

Rick

On Wed, 2002-10-16 at 16:01, Werner Schalk wrote:
 Hello,
 
 what about spam filtering methods or programs
 that work with vpopmail and qmail without
 compiling qmail completly new? Has anyone
 got spamassassin or anything like that
 to work?
 
 Bye and thanks,
 Werner.
 






RE: [vchkpw] Qmail AntiSpaming

2002-10-16 Thread Jeremy Oddo

 
 what about spam filtering methods or programs
 that work with vpopmail and qmail without
 compiling qmail completly new? Has anyone
 got spamassassin or anything like that
 to work?
 
You could try the HOW-TO I've been working on at:
   http://www.jerfu.com/toaster





RE: [vchkpw] Qmail AntiSpaming

2002-10-16 Thread Lanny

Start with a clean install of RedHat 7.3  Change that to say:

Start with the worlds most stable and powerfull  OS:

FreeBSD

Lanny


On Wed, 2002-10-16 at 19:25, Jeremy Oddo wrote:
  
  what about spam filtering methods or programs
  that work with vpopmail and qmail without
  compiling qmail completly new? Has anyone
  got spamassassin or anything like that
  to work?
  
 You could try the HOW-TO I've been working on at:
http://www.jerfu.com/toaster
 






RE: [vchkpw] Qmail AntiSpaming

2002-10-16 Thread Michael Bowe

Lanny

If you think you are so smart, then rather than needlessly criticizing 
other people's good work, why dont you take the time and publish 
your own worlds most stable and powerfull FreeBSD toaster page

Michael.


 -Original Message-
 From: Lanny [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, 17 October 2002 9:36 AM
 To: Jeremy Oddo
 Cc: 'Werner Schalk'; 'Rick Romero'; [EMAIL PROTECTED]
 Subject: RE: [vchkpw] Qmail AntiSpaming
 
 
 Start with a clean install of RedHat 7.3  Change that to say:
 
 Start with the worlds most stable and powerfull  OS:
 
   FreeBSD
 
 Lanny
 
 
 On Wed, 2002-10-16 at 19:25, Jeremy Oddo wrote:
   
   what about spam filtering methods or programs
   that work with vpopmail and qmail without
   compiling qmail completly new? Has anyone
   got spamassassin or anything like that
   to work?
   
  You could try the HOW-TO I've been working on at:
 http://www.jerfu.com/toaster
  
 
 
  




[vchkpw] Auto-add vusers to LDAP DB?

2002-10-16 Thread Kit Halsted

Howdy folks:

Looks like my boss may be getting a Big New Client with new 
requirements for email. Big New Client wants a global address book  
the ability to add  delete users on their own. No problem, I say, 
I'll set up LDAP  qmailadmin. Then it hits me: I have no idea how I 
can automatically sync the new users into the LDAP db.

So, my first question for this list: is anybody doing anything like this?

My current setup is as follows:

OpenBSD 3.0-stable, soon to be 3.2-stable.
qmail 1.03
vpopmail 5.2.1

Second question: does anybody know if qmailadmin will continue to 
work with Apache running in a chrooted environment?

Thanks,
-Kit
-- 
They that can give up essential liberty to obtain a little temporary 
safety deserve neither liberty nor safety.
-Benjamin Franklin

...qui desiderat pacem, praeparet bellum
(...if you would have peace, be prepared for war)
-Flavius Vegetius Renatus




Re: [vchkpw] integrated qmail-vpopmail-mysql with squid-mysql,pureftp-mysql,samba-mysql

2002-10-16 Thread anton heryanto

Rick Romero wrote:

On Wed, 
2002-10-16 at 08:11, anton heryanto wrote:
  

Rick Romero wrote:



I'm sorry, I thought you were just looking for information on doing
single sign-on.  I have not attempted to do any of that yet.

But you'll have to give more information than you have.

How did you create your users?  Samba?  Vpopmail? 
  


  

i create user using vpasswd and qmailadmin and keep ini mysql database
and i want to use this vpopmail database for squid mysql auth module
i haven't implement samba+mysql --- :-) 




I'm not familiar with squid, but I'd do this:

1. make sure squid is using the same database/table as vpopmail
2. make sure squid is looking at the right columns for the username
password.

I believe, by default, the database is 'vpopmail', and the table is
'vpopmail'.  The columns are setup as so:

pw_name | pw_domain| pw_passwd | pw_uid | pw_gid | pw_gecos|
pw_dir   | pw_shell  |
pw_clear_passwd |

I think it's pretty straight forward.  Add the necessary squid columns
to the vpopmail table, and tell squid to use pw_name and pw_clear_passwd
to auth, if you can.
i have do this, and i successes but ionly if i use the clear password and only 
username and password field, thing that I want to know is how to read vpopmail 
password encryption using mysql query :-) 

Your best resource for where to do that in Squid would be the Squid
list..

But then, I would recommend also taking a look at what samba requires. 
You wouldn't want to spend time hacking up Squid auth, only to find that
it doesn't work with Samba. (I would think Squid would be the easiest to
integrate)
yea, you right i have think it too, and next i want to vpopmail using samba (NT) 
encryption method, because it come from windows and cannot be change !!
Please reply to the list, while I try to be helpful, I'm not necessarily
knowledgeable, and peer review can hopefully correct any mistakes I may
make (or give you a different road to follow).

thank's a lot for you attention and advice
(btw sorry my english very bad  :-[ ) 
Rick


snip






  







RE: [vchkpw] Qmail AntiSpaming

2002-10-16 Thread Jeremy Oddo

 Start with a clean install of RedHat 7.3  Change that to say:
 
 Start with the worlds most stable and powerfull  OS:
 
   FreeBSD
 
I don't know...my Commodore-64 is pretty damn stable!

Look out for my Building an Email Toaster on C-64.


Jeremy





[vchkpw] Re: Qmail AntiSpaming

2002-10-16 Thread Syed Faruque Ahmed

With the advent of the 2.4 kernel, that may be argued otherwise. (No flames 
please, I am a FreeBSD user myself). 

Besides, there already is a toaster howto for FreeBSD; 
http://matt.simerson.net/computing/qmail.toaster.shtml 

Faruque 

Lanny writes: 

 Start with a clean install of RedHat 7.3  Change that to say: 
 
 Start with the worlds most stable and powerfull  OS: 
 
   FreeBSD 
 
 Lanny 
 
 
 On Wed, 2002-10-16 at 19:25, Jeremy Oddo wrote:
  
  what about spam filtering methods or programs
  that work with vpopmail and qmail without
  compiling qmail completly new? Has anyone
  got spamassassin or anything like that
  to work?
  
 You could try the HOW-TO I've been working on at:
http://www.jerfu.com/toaster 
 
  
 
 
 




RE: [vchkpw] Re: Qmail AntiSpaming

2002-10-16 Thread Tren Blackburn

And there is one for Linux as well:

http://www.shupp.org/toaster 

=)

Regards,

Tren

-Original Message-
From: Syed Faruque Ahmed [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, October 17, 2002 12:05 AM
To: [EMAIL PROTECTED]
Subject: [vchkpw] Re: Qmail AntiSpaming

With the advent of the 2.4 kernel, that may be argued otherwise. (No
flames 
please, I am a FreeBSD user myself). 

Besides, there already is a toaster howto for FreeBSD; 
http://matt.simerson.net/computing/qmail.toaster.shtml 

Faruque 

Lanny writes: 

 Start with a clean install of RedHat 7.3  Change that to say: 
 
 Start with the worlds most stable and powerfull  OS: 
 
   FreeBSD 
 
 Lanny 
 
 
 On Wed, 2002-10-16 at 19:25, Jeremy Oddo wrote:
  
  what about spam filtering methods or programs
  that work with vpopmail and qmail without
  compiling qmail completly new? Has anyone
  got spamassassin or anything like that
  to work?
  
 You could try the HOW-TO I've been working on at:
http://www.jerfu.com/toaster