Re: [vchkpw] Added MRTG to toaster HOW-TO

2002-10-30 Thread H. D. Lee
On 2002.10.30_12:03:33_+, Jeremy Oddo wrote:
 FYI:  For those using my toaster HOW-TO as the basis for their mail
 server (or anyone else that may be interested), I have added MRTG to
 the HOW-TO.  MRTG will visual graph mail and spam stats.  It was a big
 wishlist item, so I decided to add it...plus it's pretty ;)
 

You might want to consider my qmailmrtg+rrdtool package. It builds more
eye catching graphic than MRTG. Flexibility is another thing come to
mind. It is available at the URL on my sig.

Also, I recalled submitting a small patch to Ken a while back. It fixed
the get_tai function in qmailmrtg7 to return the correct time. Seems
like the patch have not been incorporated though.

 You can access it via: http://www.jerfu.com/toaster
 

Good work. 

Shameless plug: Everyone is doing a toaster. Actually, I have written an
OpenBSD toaster couple months ago. It is in 0.3 beta version.

http://www.dutnux.com/article/toaster/html/index.html

-- 
H. D. Lee
http://www.dutnux.com





Re: [vchkpw]

2002-10-26 Thread H. D. Lee
On 2002.10.26_23:45:42_+, Michael Christie wrote:
 Hi there,
 

Hi Michael,

 For some time now I have been trying to get this toaster to work , I have installed 
all that is needed , but when I try to add a domain I get this
 
 ./vadddomain example.com
 Please enter password for postmaster: 1234
 enter password again: 1234
 could not connect to mysql update server Access denied for user: 'rootlocalhost
 ' (Using password: YES) with database
 could not connect to mysql update server Access denied for user: 'rootlocalhost
 ' (Using password: YES)
 vmysql: sql error[c]: MySQL server has gone away

There is a big chance that you didn't configuree definition in vmysql.h
before configure and compile. Please tell us exactly how you compile
vpopmail. 

 Can some one please help me with this and tell me what is going wrong and how to fix 
it ... 
  

Yes, it is in the documentation that comes with vpopmail package.

 Thank you all
  

You're welcome.

-- 
H. D. Lee




Re: [vchkpw] sub Domain doesn't respond

2002-10-22 Thread H. D. Lee
On 2002.10.22_10:23:41_+, Afif wrote:
 Dear all,
 

Hi Afif,

 i. This is the qmail-send program at inf.untag-sby.ac.id.
 I'm afraid I wasn't able to deliver your message to the following addresses.
 This is a permanent error; I've given up. Sorry it didn't work out.
 
 [EMAIL PROTECTED]:
 Sorry, no mailbox here by that name. vpopmail (#5.1.1)
 

Presuming you were installing vpopmail with virtual domain only support
and from a clean qmail installation, qmail can't deliver to the user's 
mailbox because:
- no virtual domain of that domain
- no such user in that virtual domain

It would be of great help if you provide more information about how you
set vpopmail up, how you created the domain, user.

-- 
H. D. Lee




Re: [vchkpw] qmail/vpopmail default limits?

2002-09-29 Thread H. D. Lee

On 2002.09.29_13:45:46_+, George Minich wrote:
   Hello all,
 

Hi George,

   I was just wondering if there were any types of limits on a default
 qmail/vpopmail installation?  Are there limits such as number of users that
 can connect at a given moment or similar limits.  Message sizes would be

Yes, use tcpserver -c option.

 another good one.  I took a look around but could not find anything obvious.

For message sizes, use /var/qmail/control/databytes, or DATABYTES
environment variable.

 
 Thanks
 
 George
 
 

HTH

-- 
H. D. Lee



Re: [vchkpw] vpopmail vpasswd file difference(s) between 4.9.10 and 5.3.8

2002-09-25 Thread H. D. Lee

Hi Matt,

On 2002.09.24_16:03:52_+, Matt Simerson wrote:
 Everything on the new system works just fine except the vconvert
 function. Can anyone verify that vconvert actually does work? 

Yes, it actually works. Below are the steps I have taken to come up with
that statement: 
1. Compile and install 5.3.8 with cdb.  
2. Test create a domain (devel.dutnux.com) and some users.  
3. Recompile with mysql support, install, using 5.3.8.  
4. Invoke ./vconvert -c -m -v -d devel.dutnux.com 
version: 5.3.8 
could not connect to mysql update server Unknown database 'vpopmail' 
with database 
converting devel.dutnux.com done 
5. I checked mysql, it created vpopmail database and table for me.
The vpopmail table contain exactly the user I created.

 Can you sanitize a copy of a newer vpasswd file and send it my way so
 I can compare it to my ancient system to see if the format is still
 the same?

This is the first line of the vpasswd file I have. It was created using
5.3.8 with password learning support:

postmaster:$1$R.O7J$cRKPnHXAkWuZ6epI94R.k/:1:0:Postmaster:
/home/vpopmail/domains/devel.dutnux.com/postmaster:10M:dutnux 

Sorry for the wrapped line.

 Matt
 

HTH

-- 
H. D. Lee




Re: [vchkpw] learn passwords

2002-09-24 Thread H. D. Lee

On 2002.09.24_20:51:47_+, Werner Schalk wrote:
 Hello,
 

Hi Werner,

 I re-compiled vpopmail and installed
 using the --enable-learn-passwords option.
 How can I migrate the users from another
 server to it now? Must I create each user
 which existed on the old server on the new
 one without a password or what must I do?
 

Check the list archive. It is already there. Hint: contrib directory
contain a script to convert it.

 Bye and thanks,
 Werner.
 

-- 
H. D. Lee



Re: [vchkpw] Qmail Vpopmail Backup

2002-09-23 Thread H. D. Lee

On 2002.09.23_11:06:37_+, George Minich wrote:
   Now that I have my email server just about ready to fly, I would
   like to ask about server backup strategy.  What is the most
   effective method of backing up all OS email configuration and data?
   I was thinking about first dumping to another machine via the
   network and then going to tape.  If this is done, I would imagine
   that TAR should be used.  Does this method capture all data
   properly?  I have been looking at the DUMP command but am not 100%
   certain as to which is a better alternative.  Are 3rd party backup
   applicaions a better alternative?
 

tar should be enough. AFAIK, dump doesn't work for all filesystems.  If
you have a tape server, I would like to suggest amanda, available at
http://www.amanda.org. Other commercial utility like BRU or Arkeia have
good reputations, altough I haven't tried it out myself.

rsync may be just another perfect alternative. It synchronize the
directories across network efficiently.

A good rule of thumb, do a full backup by default, and exclude
everything you don't want to backup.

   I would like daily complete backups if possible.  I do not see this
   machine growing above 30 gigs any time soon.
 

Sure.. on my workstation, actually I do a backup every so hours, using
cron and rsync to the backup server, to minimize data lost.

 Thanks
 
 George
 
 

-- 
H. D. Lee



Re: [vchkpw] roaming users don't work

2002-09-23 Thread H. D. Lee

On 2002.09.23_18:50:11_+, [EMAIL PROTECTED] wrote:
 Hello, 
 
 I'm having problems with roaming users, I am using vpopmail5.2.1 and 
 courier-imap1.5.3, i compiled vpopmail with: 
 
 --enable-roaming-users=y
 --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp
 --enable-relay-clear-minutes=60 
 
 .but it just doesn't seem to work, i mean... i cannot relay unless I modify 
 /etc/tcp.smtp (and then creating tcp.smtp.cdb) manually... any ideas? 
 

Why did you use /etc/tcp.smtp but passed /home/vpopmail/etc/tcp.smtp to
the configure line? Current best practice is to use
/home/vpopmail/etc/tcp.smtp as vchkpw may not have access to write
tcp.smtp in /etc.

 /home/vpopmail/etc/tcp.smtp and /home/vpopmail/etc/tcp.smtp are always 
 empty... i followed the lifewithqmail instructions to install and run qmail 
 so i am running smtp and stuff with the following line: 

True, because you didn't add entries into /home/vpopmail/etc/tcp.smtp
but /etc/tcp.smtp. Also, what is the content of /home/vpopmail/etc?

 exec /usr/local/bin/softlimit -m 400 /usr/local/bin/tcpserver -v -R -l 
 0 -x /etc/tcp.smtp.cdb -c $MAXSMTPD -u
 $QMAILUID -g $NOFILESGID 0 smtp /home/qmail/bin/qmail-smtpd 21 

Change /etc/tcp.smtp.cdb to /home/vpopmail/etc/tcp.smtpd.cdb
 
 ..on /service/qmail-smtp/run script. 
 
 anyone can help me?? please, i am lost =/ 


HTH
 
 Thank you. 
 
 Miguel. 
 

-- 
H. D. Lee



Re: [vchkpw] file permission error

2002-09-22 Thread H. D. Lee

On 2002.09.22_10:32:51_+, Werner Schalk wrote:
 Hello,
 

Hello,

 when I try to login using qmailadmin
 I get the following error message:
 
 file permission error
 /home/vpopmail/domains/mydomain.com/postmaster/Maildir/1032672395.qw
 
 Now the permissions of that directory look
 like this:
 server1:/home/vpopmail/domains/mydomain.com/postmaster/Maildir# ls -la
 total 20
 drwx--5 vpopmail vchkpw   4096 Aug 12 20:36 .
 drwx--3 vpopmail vchkpw   4096 Aug  6 14:26 ..
 drwx--2 vpopmail vchkpw   4096 Aug  6 14:26 cur
 drwx--2 vpopmail vchkpw   4096 Aug  6 14:26 new
 drwx--2 vpopmail vchkpw   4096 Aug  6 14:26 tmp
 
 That's exactly how the other directories
 look like...
 
 What is messed up here?
 

What is the permission, owner and group of the qmailadmin binary in the
cgi-bin directory? Is it setuid and setgid to vpopmail and vchkpw? Also
double check every directory that are parents to the Maildir for correct
permissions.

 Bye and thanks,
 Werner.
 

-- 
H. D. Lee



Re: [vchkpw] server migration, password issues (again)

2002-09-22 Thread H. D. Lee

On 2002.09.22_09:55:44_+, Werner Schalk wrote:
 Hello,
 

Hello,

 it's me again.  My question is quite the same:

Please post only once. This is free support public mailing list.

 Is there a way to get the passwords of local users as I am the admin
 and want to migrate all users to another server (which already IS
 setup up)? 

Did you read an answer to you question by Copy Wright? If you want to
setup each users on the server manually. You can retain the old password
of every  users by enabling the password learning feature of vpopmail.
Next time they login, vchkpw will learn their password.

The other solution is to copy the appropriate files: assign, vpasswd,
and their cdb versions. Pay attention to the uid and gid, they must be
the same for old and new servers, otherwise adjust accordingly.

 At least some domains should be set up on my new server and therefor I
 need the passwords of the users to create them...  otherwise each user
 must re-create him- or herself. Is there a way to do this? Which
 method is used to encrypt the user's passwords?
 

See above, either create users with blank password and enable
--enable-learn-password, or copy the files from the old server. The
method used is crypt(3). There is no way you can decode the password
back.

 Bye and thanks, Werner.
 

-- 
H. D. Lee




Re: [vchkpw] can not pop-in - It is a Socketerror

2002-09-18 Thread H. D. Lee

On 2002.09.18_15:57:12_+, Oliver Etzel - GoodnGo.COM (R) wrote:
  Another problem. I cannot pop-in with my mailclient.
  But cannot pop-in by outlook or whatever.
 

Are you sure that you can reach the POP server from another host?
May be a DNS problem? Another thing to check is the tcpserver -x option
blocking the connecting host.

 What error messages are you getting in lookout and your logs?
 
 The error-message I get is:
 
 Error. Account: 'mail.fotoaktmodelle.de', Server: 'mail.fotoaktmodelle.de',
 Protokoll: POP3, Port: 110, Secure (SSL): No, Socketerror: 10054,
 Fehlernummer: 0x800CCC0E
 
 Socket Error, what can I do?

Did your server log a connection attempt?

 Regs,
 
 Oliver
 

-- 
H. D. Lee