RE: [vchkpw] Custom Maildir Structure

2004-11-23 Thread Jeremy Eder
 
-Original Message-
From: Robin Bowes [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 23, 2004 7:40 AM
To: [EMAIL PROTECTED]
Subject: [vchkpw] Custom Maildir Structure

Hi,

I use bincimap with vpopmail and use the IMAPDir structure which looks 
like this:

domains
  |
  +-domain
 |
 +-user
 |
 +-IMAPDir
 |   |
 |   +-INBOX - ../Maildir
 |
 +-Maildir
|
+-new
|
+-cur
|
+-tmp

Is it possible to configure vpopmail (i.e. vadduser) and, by extension, 
qmailadmin to create this structure automatically when I new user is added?

i.e. Does vpopmail support the concept of a skel directory like the 
adduser command uses /etc/skel ?

Thanks,

R.
-- 
http://robinbowes.com



I know of a patch currently under development (very near done, must be
translated to English) for this exact function.
Coder calls it /etc/skel functionality for vpopmail.

If anyone else knows of another patch/method, please post.

I will post a link to the patch when it's complete.
Also, I understand it will be submitted to Inter7 for their review...

Best Regards,

Jeremy Eder
Hi-Tek Data Corp.
V: 516.797.8800
F: 516.797.8892 




RE: [vchkpw] Managing virt domain settings in vpopmail

2004-11-17 Thread Jeremy Eder
-Original Message-
From: Tim Grossner [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 17, 2004 12:14 PM
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] Managing virt domain settings in vpopmail

Yeah, after searching this mailing lists archives, i would have
thought that too but that file doesnt exist...I am now dazed and
confused.

[EMAIL PROTECTED] bin]# pwd
/home/vpopmail/bin
[EMAIL PROTECTED] bin]# ls -lsa
total 776
   4 drwxr-xr-x2 vpopmail vchkpw   4096 Nov 17 11:10 .
   4 drwxr-xr-x9 vpopmail vchkpw   4096 Dec 12  2001 ..
  36 -rwx--x--x1 vpopmail vchkpw  35644 Nov 21  2003 clearopensmtp
  36 -rwx--x--x1 vpopmail vchkpw  36316 Nov 21  2003 vaddaliasdomain
  40 -rwx--x--x1 vpopmail vchkpw  38108 Nov 21  2003 vadddomain
  40 -rwx--x--x1 vpopmail vchkpw  36924 Nov 21  2003 vadduser
  40 -rwx--x--x1 vpopmail vchkpw  37932 Nov 21  2003 valias
  40 -rwx--x--x1 vpopmail vchkpw  39484 Nov 21  2003 vchkpw
  40 -rwx--x--x1 vpopmail vchkpw  38428 Nov 21  2003 vconvert
  36 -rwx--x--x1 vpopmail vchkpw  35836 Nov 21  2003 vdeldomain
  44 -rwx--x--x1 vpopmail vchkpw  41372 Nov 21  2003 vdelivermail
  36 -rwx--x--x1 vpopmail vchkpw  35452 Nov 21  2003 vdeloldusers
  36 -rwx--x--x1 vpopmail vchkpw  35932 Nov 21  2003 vdeluser
  40 -rwx--x--x1 vpopmail vchkpw  37468 Nov 21  2003 vdominfo
  36 -rwx--x--x1 vpopmail vchkpw  36252 Nov 21  2003 vipmap
  36 -rwx--x--x1 vpopmail vchkpw  35516 Nov 21  2003 vmkpasswd
  40 -rwx--x--x1 vpopmail vchkpw  38588 Nov 21  2003 vmoduser
  36 -rwx--x--x1 vpopmail vchkpw  36188 Nov 21  2003 vpasswd
  40 -rwx--x--x1 vpopmail vchkpw  38204 Nov 21  2003 vpopbull
  40 -rwx--x--x1 vpopmail vchkpw  40924 Nov 21  2003 vqmaillocal
  36 -rwx--x--x1 vpopmail vchkpw  36284 Nov 21  2003 vsetuserquota
  40 -rwx--x--x1 vpopmail vchkpw  39164 Nov 21  2003 vuserinfo




On Wed, 17 Nov 2004 08:48:14 -0800, Tom Collins [EMAIL PROTECTED] wrote:
 On Nov 17, 2004, at 8:26 AM, Tim Grossner wrote:
  Anyway, on the to question: how do i make changes to settings of a
  vpopmail domain, such as setting the maximum number of users a virt
  domain may have? I have scoured the manpages online, ran the bin files
  with --help, and searched google til i was blue in the face...
 
 ~vpopmail/bin/vmoddomlimits
 
 --
 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/
 


Perhaps the other Jeremy can tell you what version began including the
vmoddomlimits binary.

The latest certainly does.

Or, someone deleted that binary, but that doesn't make much sense...

Upgrading is pretty straightforward, at least on my setup which does not use
ldap or mysql.

Be careful!

=)

Best Regards,

Jeremy Eder
Hi-Tek Data Corp.
V: 516.797.8800
F: 516.797.8892 




RE: [vchkpw] How can I identify a spammer?

2004-10-22 Thread Jeremy Eder
-Original Message-
From: Walter Souto R. Junior [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 22, 2004 7:18 AM
To: [EMAIL PROTECTED]
Subject: [vchkpw] How can I identify a spammer?

Hi,

I have one of my users using my server to send spam (I think). The messages
came from 200.78.38.103. When I figure that out, I just block him and bring
my server back... So how can I see what account on vpopmail did used to do
this kind of thing? I have only auth-smtp, and just accept messages from one
of my domains, that are about six and nothing more. I'm afraid that I don't
have vpopmail logs, perhaps I did install vpopmail without them, so...

Thanks for any help,
--
Walter.

Install this

http://www.enderunix.org/isoqlog/ 

Don't forget the cron job to update it's webpages.

It reads from qmail logs, so hopefully qmail is logging properly on your
box.

=)


Best Regards,

Jeremy Eder
Hi-Tek Data, Corp.
V: 516-797-8800
F: 516-797-8892




RE: [vchkpw] reporting on my vpopmail system

2004-10-22 Thread Jeremy Eder
-Original Message-
From: Bill Gradwohl [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 21, 2004 11:53 AM
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] reporting on my vpopmail system

Rick Root wrote:

 Hello. (echo, echo!)  is anyone out there?

 Rick Root wrote:

 Does anyone have a script or application or something that will view 
 my vpopmail directory structure and give me a report?

 I would like to know.

 accounts in each domain
 # of messages per account
 amount of disk space per account
 amount of disk space per domain

 Thanks.

  - Rick




Here's a start to what you might want.
Your criteria is open to interpretation.
I didn't bother prettying it up, and you can add any code you might want.

#!/bin/bash

VIRTUALROOT='/home/vpopmail/domains'
cd ${VIRTUALROOT}

find . -type d -maxdepth 1 | sed 's#^\./##' | while read domain; do
   if [ -e ${VIRTUALROOT}/${domain}/vpasswd ]; then
  echo
  echo Domain - ${domain} - occupies $(du -hs ${domain})
  cd ${VIRTUALROOT}/${domain}
  find . -type d -maxdepth 1 | sed 's#^\./##' | while read user; do
 if [ -d ${VIRTUALROOT}/${domain}/${user}/Maildir ]; then
echo ${user}
echoMaildir/new contains $(ls -1 ${user}/Maildir/new|wc 
-l) messages.
echoAccount occupies $(du -hs ${user})
 fi
  done
  cd -
   fi
done

--
Bill Gradwohl
[EMAIL PROTECTED]
http://www.ycc.com
SPAMstomper Protected email


Thank you for this script also Bill!

=)