[vchkpw] Question about the vpasswd command

2002-11-22 Thread Chris A. Kalin
Is there a switch I could give vpasswd where I could do a massive amount of
password changes without regenerating the cdb each time?  Kind of like
the -s (or -S, I've forgotten) switch in vadduser.
If not, how would I hack at vpasswd.c to make this happen?  I know enough C
where if someone shows me a patch or tells me what to change I can do it.
:)

Thanks in advance.

Chris Kalin







[vchkpw] pop username format

2002-11-22 Thread [EMAIL PROTECTED]
For backwards compatibility with my current qmail server I will
need to allow users with a 'username.domain.com' format in
addition to the standard '[EMAIL PROTECTED]' format for
POP3 authenticating.

Can someone point me in the right direction to tweak vpopmail to
allow this format.

Thanks,

Joe Kletch
CedarNet LLC






[vchkpw] Relaying

2002-11-22 Thread jbaez



 I'm trying to do relaying through a 
virus scanner with qmail-scanner which is in front of my mail server (qmail). I 
tried copying, and mountig the open.smtp file from my mail server to my virus 
scanner and it didn't work (I belive this is because of the different time 
stamps of both boxes). How can I tell to my virus scanner to allow relay to a 
client based on my mail server relaying rules? Thanks in advance

-Juan K. Baez


[vchkpw] open-smtp-dir

2002-11-22 Thread Octave
Hi,
I had lot of problems with open-smtp lock system. With 4000-5000
ip in open-smtp file, server was very slow. I change it to the
same system but working with directory. There is no more problem
with lock and servers are very fast.

Patch (vpopmail.c) and some docs are on ftp://ftp.ovh.net/made-in-ovh/vpopmail
It is very easy (easier than before).

Regards
Octave





Re: [vchkpw] simplest way to forward mail?

2002-11-22 Thread George Tosh
The easiest way to do a database forward is to modify the valias table. If
you want to forward mail for [EMAIL PROTECTED] to [EMAIL PROTECTED] In the valias
table insert jdoe in the alias field and nowhere.com in the domain field.
Now in the valias_line field insert [EMAIL PROTECTED] This should redirect the
email accordingly.


George Tosh
System Administrator
Aeneas Internet Services
(731) 554-9200



- Original Message -
From: Neulinger, Nathan [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, November 22, 2002 10:58 AM
Subject: [vchkpw] simplest way to forward mail?


 Is there any pure-database mechanism within vpopmail for doing forwards,
 or is using .qmail files the only mechanism? Running latest development
 release w/ all mysql support enabled.

 -- Nathan

 
 Nathan Neulinger   EMail:  [EMAIL PROTECTED]
 University of Missouri - Rolla Phone: (573) 341-4841
 Computing Services   Fax: (573) 341-4216







RE: [vchkpw] pop username format

2002-11-22 Thread Clayton Weise
Yes, look at vpopmail.h.

#define ATCHARS @%/

Just add a . to that.  But beware, it will accept the first . as a
separator.  So let's say email my email address is [EMAIL PROTECTED]  My
username, in your format, will be foo.bar.foobar.com will be interpreted by
vpopmail as [EMAIL PROTECTED]

-Clayton

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 22, 2002 11:16 AM
To: [EMAIL PROTECTED]
Subject: [vchkpw] pop username format


For backwards compatibility with my current qmail server I will
need to allow users with a 'username.domain.com' format in
addition to the standard '[EMAIL PROTECTED]' format for
POP3 authenticating.

Can someone point me in the right direction to tweak vpopmail to
allow this format.

Thanks,

Joe Kletch
CedarNet LLC








RE: [vchkpw] Relaying

2002-11-22 Thread Clayton Weise
You'll need the qmail-queue patch for qmail. And this really isnt' the right
list for this kind of question.

-Clayton

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 22, 2002 11:18 AM
To: [EMAIL PROTECTED]
Subject: [vchkpw] Relaying


   I'm trying to do relaying through a virus scanner with qmail-scanner
which is in front of my mail server (qmail). I tried copying, and mountig
the open.smtp file from my mail server to my virus scanner and it didn't
work (I belive this is because of the different time stamps of both boxes).
How can I tell to my virus scanner to allow relay to a client based on my
mail server relaying rules? Thanks in advance

-Juan K. Baez





RE: [vchkpw] pop username format

2002-11-22 Thread Clayton Weise
Yes, just the bin directory.  No, it wouldn't prevent future use of
[EMAIL PROTECTED], those users would simply need to use the username
[EMAIL PROTECTED] instead of foo.bar.foobar.com.  And yes, telling a user
their name is the same as the email address is much nicer.

-Clayton

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 22, 2002 3:36 PM
To: Clayton Weise
Subject: RE: [vchkpw] pop username format


Very good--thanks. Will check my domains to if any are using
that format.  When recompiling vpopmail--I shoudl only  need to
delete the ~vpopmail/bin/ directory--right?

Thanks so much for such an easy solution. But then on further
thought it would prevent future use of an email address with
[EMAIL PROTECTED] which is not good. I'll just have to support
clients with a switch to the new usernames--not fun, but best.
It will sure be nice to tell people their username is their
email address--my legacy setup with a dot instead of @ is a
hassle for setup.

Thanks,

Joe

On Fri, 22 Nov 2002, Clayton Weise wrote:

 Yes, look at vpopmail.h.

 #define ATCHARS @%/

 Just add a . to that.  But beware, it will accept the first . as a
 separator.  So let's say email my email address is [EMAIL PROTECTED]  My
 username, in your format, will be foo.bar.foobar.com will be interpreted
by
 vpopmail as [EMAIL PROTECTED]

 -Clayton

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Friday, November 22, 2002 11:16 AM
 To: [EMAIL PROTECTED]
 Subject: [vchkpw] pop username format


 For backwards compatibility with my current qmail server I will
 need to allow users with a 'username.domain.com' format in
 addition to the standard '[EMAIL PROTECTED]' format for
 POP3 authenticating.

 Can someone point me in the right direction to tweak vpopmail to
 allow this format.

 Thanks,

 Joe Kletch
 CedarNet LLC











RE: [vchkpw] pop username format

2002-11-22 Thread [EMAIL PROTECTED]
But if I added the dot to #define ATCHARS @%/ then first dot
is interpreted as a separator it seems that then it would
prevent future use of [EMAIL PROTECTED] address format as
vpopmail will then see it as [EMAIL PROTECTED]

Joe

On Fri, 22 Nov 2002, Clayton Weise wrote:

 Yes, just the bin directory.  No, it wouldn't prevent future use of
 [EMAIL PROTECTED], those users would simply need to use the username
 [EMAIL PROTECTED] instead of foo.bar.foobar.com.  And yes, telling a user
 their name is the same as the email address is much nicer.

 -Clayton

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Friday, November 22, 2002 3:36 PM
 To: Clayton Weise
 Subject: RE: [vchkpw] pop username format


 Very good--thanks. Will check my domains to if any are using
 that format.  When recompiling vpopmail--I shoudl only  need to
 delete the ~vpopmail/bin/ directory--right?

 Thanks so much for such an easy solution. But then on further
 thought it would prevent future use of an email address with
 [EMAIL PROTECTED] which is not good. I'll just have to support
 clients with a switch to the new usernames--not fun, but best.
 It will sure be nice to tell people their username is their
 email address--my legacy setup with a dot instead of @ is a
 hassle for setup.

 Thanks,

 Joe

 On Fri, 22 Nov 2002, Clayton Weise wrote:

  Yes, look at vpopmail.h.
 
  #define ATCHARS @%/
 
  Just add a . to that.  But beware, it will accept the first . as a
  separator.  So let's say email my email address is [EMAIL PROTECTED]  My
  username, in your format, will be foo.bar.foobar.com will be interpreted
 by
  vpopmail as [EMAIL PROTECTED]
 
  -Clayton
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
  Sent: Friday, November 22, 2002 11:16 AM
  To: [EMAIL PROTECTED]
  Subject: [vchkpw] pop username format
 
 
  For backwards compatibility with my current qmail server I will
  need to allow users with a 'username.domain.com' format in
  addition to the standard '[EMAIL PROTECTED]' format for
  POP3 authenticating.
 
  Can someone point me in the right direction to tweak vpopmail to
  allow this format.
 
  Thanks,
 
  Joe Kletch
  CedarNet LLC
 
 
 
 
 









[vchkpw] Need VPOPBULL to work

2002-11-22 Thread chris
Well, am I smokin' crack again or is VPOPBULL broken and just returning to
the cmd line without reporting anything like it did in the past?!?!?!?!


I can't get it to do anything but report usage.
vpopbull -V -n DOMAIN

doesn't report users in the domain or errors or anything, it just silently
exits.

Any words of wisdom?  Of course I need it working asap and this is a REAL
bummer to find out something's wrong this late in the day/week ...

Special!  :)

Chris Bunnell







RE: [vchkpw] pop username format

2002-11-22 Thread Clayton Weise
You'll want to test it to be sure.. but you're probably right.  Brain fade
there..woops.

-Clayton

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 22, 2002 3:55 PM
To: Clayton Weise
Cc: [EMAIL PROTECTED]
Subject: RE: [vchkpw] pop username format


But if I added the dot to #define ATCHARS @%/ then first dot
is interpreted as a separator it seems that then it would
prevent future use of [EMAIL PROTECTED] address format as
vpopmail will then see it as [EMAIL PROTECTED]

Joe

On Fri, 22 Nov 2002, Clayton Weise wrote:

 Yes, just the bin directory.  No, it wouldn't prevent future use of
 [EMAIL PROTECTED], those users would simply need to use the username
 [EMAIL PROTECTED] instead of foo.bar.foobar.com.  And yes, telling a user
 their name is the same as the email address is much nicer.

 -Clayton

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Friday, November 22, 2002 3:36 PM
 To: Clayton Weise
 Subject: RE: [vchkpw] pop username format


 Very good--thanks. Will check my domains to if any are using
 that format.  When recompiling vpopmail--I shoudl only  need to
 delete the ~vpopmail/bin/ directory--right?

 Thanks so much for such an easy solution. But then on further
 thought it would prevent future use of an email address with
 [EMAIL PROTECTED] which is not good. I'll just have to support
 clients with a switch to the new usernames--not fun, but best.
 It will sure be nice to tell people their username is their
 email address--my legacy setup with a dot instead of @ is a
 hassle for setup.

 Thanks,

 Joe

 On Fri, 22 Nov 2002, Clayton Weise wrote:

  Yes, look at vpopmail.h.
 
  #define ATCHARS @%/
 
  Just add a . to that.  But beware, it will accept the first . as a
  separator.  So let's say email my email address is [EMAIL PROTECTED]
My
  username, in your format, will be foo.bar.foobar.com will be interpreted
 by
  vpopmail as [EMAIL PROTECTED]
 
  -Clayton
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
  Sent: Friday, November 22, 2002 11:16 AM
  To: [EMAIL PROTECTED]
  Subject: [vchkpw] pop username format
 
 
  For backwards compatibility with my current qmail server I will
  need to allow users with a 'username.domain.com' format in
  addition to the standard '[EMAIL PROTECTED]' format for
  POP3 authenticating.
 
  Can someone point me in the right direction to tweak vpopmail to
  allow this format.
 
  Thanks,
 
  Joe Kletch
  CedarNet LLC
 
 
 
 
 










Re: [vchkpw] Relaying

2002-11-22 Thread jbaez
My question was intended to know how can I manipulate the open-smtp
file, which, if I'm not mistaken, is handled by vpopmail. Basically, I need
the virus scanner to do the relaying based on the authentication made on the
mail server. I tried to use the open-smtp file, generated on the mail
server, on the virus scanner (mounted the /home/vpopmail/etc from the mail
server on the virus scanner). If you could point me into any direction (even
the rigth mailing list! ;) ...) would help. Thanks for your reply.

Juan K. Baez.
Marcatel International.
Monterrey, Mexico
- Original Message -
From: Clayton Weise [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, November 22, 2002 5:26 PM
Subject: RE: [vchkpw] Relaying


 You'll need the qmail-queue patch for qmail.  And this really isnt' the
 right list for this kind of question.

 -Clayton

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Friday, November 22, 2002 11:18 AM
 To: [EMAIL PROTECTED]
 Subject: [vchkpw] Relaying


I'm trying to do relaying through a virus scanner with qmail-scanner
 which is in front of my mail server (qmail). I tried copying, and mountig
 the open.smtp file from my mail server to my virus scanner and it didn't
 work (I belive this is because of the different time stamps of both
boxes).
 How can I tell to my virus scanner to allow relay to a client based on my
 mail server relaying rules? Thanks in advance

 -Juan K. Baez







[vchkpw] SMTP-AUTH with vpopmail mysql

2002-11-22 Thread Dan Houtz


Was hoping someone out there might have a quick solution 
to my problem. Icurrently have a devlopement server running qmail (hoping to 
soon replaceour sendmail system). I currently have a compbination Qmail + 
Vpopmailsystem authenticating off MySQL. It's also running courier IMAP/POP3 
whichalso authenticates off the MySQL database. All works well. However, 
I'mhaving problems integrating smtp-auth with this. I have added the 
smtp-authpatch and when I do a 'ehlo' command it lists auth as a feature, 
however itdoesn't seem to be working. Am, I corrent in thinking that it 
should run/usr/home/vpopmail/bin/vchkpw to check the username and 
password?I have included my tcpserver run file for 
qmail-smtpd:#!/bin/shQMAILDUID=`id -u qmaild`NOFILESGID=`id -g 
qmaild`MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`LOCAL=`head 
-1 /var/qmail/control/me`if [ -z "$QMAILDUID" -o -z "$NOFILESGID" -o -z 
"$MAXSMTPD" -o -z "$LOCAL" ];th\en echo QMAILDUID, 
NOFILESGID, MAXSMTPD, or LOCAL is unset in echo 
/var/qmail/supervise/qmail-smtpd/run exit 1fiexec 
/usr/local/bin/softlimit -m 200 \ 
/usr/local/bin/tcpserver -v -R -l "$LOCAL" -x /etc/tcp.smtp.cdb 
-c"$MAXSMT\PD" \ -u 
"$QMAILDUID" -g "$NOFILESGID" 0 smtp 
recordio/var/qmail/bin/qmail-s\mtpddev.penndigital.net 
/usr/home/vpopmail/bin/vchkpw /usr/bin/true 



Re: [vchkpw] SMTP-AUTH with vpopmail mysql

2002-11-22 Thread Einar Bordewich
Change:
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
to:
QMAILDUID=`id -u vpopmail`
NOFILESGID=`id -g vpopmail`

My true is /bin/true, so check that yours realy is /usr/bin/true.

Also increase your softlimit. Try add an ekstra 0 (20 000 000 instead of 2
000 000). When things work, you can fine-tune your settings.

--

bordewich.NETnetwork consultant
Einar Bordewich  phone: +47 911 52 777
e-Mail:  einar(at)bordewich.net
lat: 59.91144 N  lon: 10.76097 E

- Original Message -
From: Dan Houtz [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, November 23, 2002 3:53 AM
Subject: [vchkpw] SMTP-AUTH with vpopmail  mysql


Was hoping someone out there might have a quick solution to my problem. I
currently have a devlopement server running qmail (hoping to soon replace
our sendmail system). I currently have a compbination Qmail + Vpopmail
system authenticating off MySQL. It's also running courier IMAP/POP3 which
also authenticates off the MySQL database. All works well. However, I'm
having problems integrating smtp-auth with this. I have added the smtp-auth
patch and when I do a 'ehlo' command it lists auth as a feature, however it
doesn't seem to be working. Am, I corrent in thinking that it should run
/usr/home/vpopmail/bin/vchkpw to check the username and password?

I have included my tcpserver run file for qmail-smtpd:

#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
LOCAL=`head -1 /var/qmail/control/me`
if [ -z $QMAILDUID -o -z $NOFILESGID -o -z $MAXSMTPD -o -z $LOCAL ];
th\en
echo QMAILDUID, NOFILESGID, MAXSMTPD, or LOCAL is unset in
echo /var/qmail/supervise/qmail-smtpd/run
exit 1
fi
exec /usr/local/bin/softlimit -m 200 \
/usr/local/bin/tcpserver -v -R -l $LOCAL -x /etc/tcp.smtp.cdb -c
$MAXSMT\PD \
-u $QMAILDUID -g $NOFILESGID 0 smtp recordio
/var/qmail/bin/qmail-s\mtpd
dev.penndigital.net /usr/home/vpopmail/bin/vchkpw /usr/bin/true 







[vchkpw] Quota problem

2002-11-22 Thread zafar
hello all
 i am facing problem from 2 weeks.
the problem is that user is block sending mail after exceding
quota limit.
The other problem is that mail is not bounce back when anyuser quota is
full.
so how can i get it...
thanks

zafar