[vchkpw] vpopmail 5.2.1 /var/log/messages logs all events

2003-10-09 Thread Posts
Title: Message



I compiled vpopmail 
with error logging only (./configure) but it's logging success and failed login 
attempts which of course makes the /var/log/messages file 
huge.

Any tips are 
appreciate on getting vpopmail to only log errors.

Thanks,
Kawika


Re: [vchkpw] qmailadmin-1.0.27 error on rh7.3

2003-10-09 Thread Jochen Schug
[EMAIL PROTECTED] wrote:

I'm trying to compile qmailadmin-1.0.27 and I'm getting the following error:

gcc -I. -I/usr/local/vpopmail/include  -g -O2 -c qmailadmin.c
qmailadmin.c:32:21: vlimits.h: No such file or directory
qmailadmin.c:67: error: storage size of `Limits' isn't known
make: *** [qmailadmin.o] Error 1
I'm using gcc 3.3.1 on a redhat 7.3 box.

Here are my configure options:

./configure --enable-vpopmaildir=/usr/local/vpopmail
--enable-htmldir=/usr/local/www/webapps/qmailadmin
--enable-cgibindir=/usr/local/www/webapps/qmailadmin/cgi-bin
--enable-qmaildir=/var/qmail --enable-cgipath=/cgi-bin/qmailadmin
--enable-imagedir=/usr/local/www/webapps/qmailadmin/images
--enable-imageurl=/images --enable-autoresponder-bin --enable-ezmlmdir=/usr/bin
--enable-domain-autofill=Y --enable-modify-spam=Y
--enable-spam-command=|/usr/local/bin/maildrop /usr/local/vpopmail/spamfilter
Btw, I can compile 1.0.6 just fine, but I wanted the spam-command option.

Any ideas?
 

What version of vpopmail are you using? From your previous post, I asume
5.2.1 or 5.2.2... Read the requirements of the recent qmailadmin release
- you'll need at least 5.3.19 IIRC.
Regards
Jochen




RE: [vchkpw] vpopmail 5.2.1 /var/log/messages logs all events

2003-10-09 Thread Posts
Title: Message



whoops, I meant /var/log/maillog. I'm not sure if this is the default 
vpopmail log.

Thanks

  
  -Original Message-From: Posts 
  [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 08, 2003 
  11:35 PMTo: [EMAIL PROTECTED]Subject: [vchkpw] vpopmail 
  5.2.1 /var/log/messages logs all events
  I compiled 
  vpopmail with error logging only (./configure) but it's logging success and 
  failed login attempts which of course makes the /var/log/messages file 
  huge.
  
  Any tips are 
  appreciate on getting vpopmail to only log errors.
  
  Thanks,
  Kawika


RE: [vchkpw] vpopmail 5.2.1 /var/log/messages logs all events

2003-10-09 Thread DOODS
It actually can be enabled (errors only) during compilation.
See help on compiling vpopmail.
Good luck.


Warm Regards,
DOODS

 whoops, I meant /var/log/maillog. I'm not sure if this is the
 default
 vpopmail log.

 Thanks

 -Original Message-
 From: Posts [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, October 08, 2003 11:35 PM
 To: [EMAIL PROTECTED]
 Subject: [vchkpw] vpopmail 5.2.1 /var/log/messages logs all
 events


 I compiled vpopmail with error logging only (./configure) but
 it's
 logging success and failed login attempts which of course makes
 the
 /var/log/messages file huge.

 Any tips are appreciate on getting vpopmail to only log errors.

 Thanks,
 Kawika






[vchkpw] Re: smtp;553 sorry, sorry, that domain isn't allowed relay (#5.7.1)

2003-10-09 Thread J. Kendzorra
Michael Bowe:
 I searched the sources of qmail and vpopmail, and that error does not
 appear anywhere.
 Are you sure that is the exact error that you are receiving?
 If so, then what other patches are you running on your qmail/vpopmail
 installation?

I'm rather sure that message comes from the patches here:
http://people.kldp.org/~eunjea/qmail/patch/
The author has already been informed that the message is a little bit 
strange. I'm also using this a-i-o patch, and it works like a charm.
The reason for songrit's problem may be elsewhere.

Juergen




[vchkpw] URGENT - corrupt vpasswd.cdb

2003-10-09 Thread T. Albert
Hello,

i have a lot of users which i need to delete, somehow, i can't auth my
password  again.  it  seems that the vpasswd.cdb is corrupt. how can i
fix this ? thank you.

  

-- 
Best regards,
Tjhan Albert

The future belongs to those who believes in the beauty of their dreams
-Eleanor Rosevelt-




Re: [vchkpw] virtual domain limit in /var/vpopmail/domains ?

2003-10-09 Thread Jan Reilink
Justin Heesemann wrote:

[/var/vpopmail/domains/[0-9]/ dir, limit?]
 well, i have this from the source (bigdir.c).
 it looks like the maximum of users/domains per directory is 100 (it's
 defined in vauth.h : MAX_USERS_PER_LEVEL 100)
[...]
 so, i assume, in your case, you have at least 173 different system users
 with an average of almost 100 domains per user.

We have only one system user for vpopmail: vpopmail (group: vchkpw) and all 
domains are added with 'vadddomain domain.com'.

vauth.h:
#define MAX_DIR_LEVELS3
#define MAX_USERS_PER_LEVEL 100
#define MAX_DIR_NAME  300
typedef struct {
int level_cur;
int level_max;
int level_start[MAX_DIR_LEVELS];
int level_end[MAX_DIR_LEVELS];
int level_mod[MAX_DIR_LEVELS];
int level_index[MAX_DIR_LEVELS]; /* current spot in dir list */
long unsigned cur_users;
char the_dir[MAX_DIR_NAME];
} vdir_type;
#define MAX_DIR_LIST 62

config.h:
#define VPOPUSER vpopmail
#define VPOPGROUP vchkpw
#define VPOPMAILDIR /var/vpopmail
#define DOMAINS_DIR domains
/* Version number of package */
#define VERSION 5.2.1
--
Met vriendelijke groet / Best regards,
Jan Reilink
VEVIDA Nederland BV




[vchkpw] Re: Re-injection of email from .qmail-default

2003-10-09 Thread Peter Palmreuther
Hello Jeff,

On Thursday, October 9, 2003 at 12:02:00 AM you wrote (at least in
part):

 We do not want to forward the messages to an email address but instead want
 to route them using smtp to another mailserver willing to accept email for
 that domain.
[...]
With this setup you can send the mails in this Maildir out via SMTP by
using 'maildirsmtp' tool from 'serialmail' package[1].
[...]
 This sounds wonderful. Hopefully, serialmail won't get confused and try to
 deliver the message locally. We'll give it a try.

,- [ man maildirsmtp ]
| NAME
|maildirsmtp - send a maildir through SMTP
| 
| SYNOPSIS
|/maildirsmtp/ *dir* *prefix* *host* *helohost*
| 
| DESCRIPTION
|/maildirsmtp/  scans  a maildir, *dir*, and sends each message
|to *host* through SMTP.  It removes *prefix* from  the  begin­
|ning  of  each envelope recipient address.  It ignores any
|message whose recipient address does not begin  with  *pre­
|fix*.
| 
|/maildirsmtp/ removes messages accepted by *host*.  It bounces
|messages permanently rejected by *host* back to the envelope
|sender, and then removes them.  It treats temporary rejec­
|tion as permanent rejection for  messages  more  than  two
|weeks old.
| ...
|/maildirsmtp/ needs /tcpclient/ in $PATH.
`-




-- 
Best regards
Peter Palmreuther

Impiety, n.: Your irreverence toward my diety. -- Ambrose Bierce




Re: [vchkpw] Re: smtp;553 sorry, sorry, that domain isn't allowed relay (#5.7.1)

2003-10-09 Thread X-Istence




J. Kendzorra wrote:

  Michael Bowe:
  
  
I searched the sources of qmail and vpopmail, and that error does not
appear anywhere.
Are you sure that is the exact error that you are receiving?
If so, then what other patches are you running on your qmail/vpopmail
installation?

  
  
I'm rather sure that message comes from the patches here:
http://people.kldp.org/~eunjea/qmail/patch/
The author has already been informed that the message is a little bit 
strange. I'm also using this a-i-o patch, and it works like a charm.
The reason for songrit's problem may be elsewhere.

Juergen





  

Actually, the error that he gave is in qMail itself, and means that the
domain they are trying to send to is not in their
/var/qmail/control(s)/rcpthosts, and if they have the auth patch
applied, it means they are not allowed to relay.

Simple as that :)

X-Istence




Re: [vchkpw] Re: smtp;553 sorry, sorry, that domain isn't allowed relay (#5.7.1)

2003-10-09 Thread W.D. McKinney
On Thu, 2003-10-09 at 11:05, X-Istence wrote:
 J. Kendzorra wrote:
  Michael Bowe:

   I searched the sources of qmail and vpopmail, and that error does not
   appear anywhere.
   Are you sure that is the exact error that you are receiving?
   If so, then what other patches are you running on your qmail/vpopmail
   installation?
   
  I'm rather sure that message comes from the patches here:
  http://people.kldp.org/~eunjea/qmail/patch/
  The author has already been informed that the message is a little bit 
  strange. I'm also using this a-i-o patch, and it works like a charm.
  The reason for songrit's problem may be elsewhere.
  
  Juergen
  
  
  
  
  

 Actually, the error that he gave is in qMail itself, and means that
 the domain they are trying to send to is not in their
 /var/qmail/control(s)/rcpthosts, and if they have the auth patch
 applied, it means they are not allowed to relay.
 
 Simple as that :)


If you are running qmail  vpopmail, be sure to follow instructions in
the vpopmail install.

In /etc/tcp.smtp put this:

127.:allow,RELAYCLIENT=

Then run as root:
tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp  /etc/tcp.smtp

Then do as root:
chmod 644 /etc/tcp.smtp*

Then run as root:
/home/vpopmail/bin/clearopensmtp

Of course you will have to change the paths if these are not correct for
your system.

Dee
-- 
W.D.McKinney (Dee)  | Affordable E-Mail and Internet Solutions
Alaska Wireless Systems | for Schools, Libraries, Clinics  Business'
http://www.akwireless.net   | Call 1-907-349-4308   




[vchkpw] User has no password error

2003-10-09 Thread Justin Workman
I have a new qmail+vpopmail install using mysql as the backend for virtual users. I 
have compiled vpopmail 5.3.24 with --enable-learn-passwd=y, yet when adding a virtual 
user with the command, vadduser -n emailaddress, the user is not allowed to login to 
the pop server. I get the error in the mysql vlog table that the user does not have a 
passwd set. 

As a side note, this is now a clean re-compile of vpopmail, prior to this, no error or 
log entry would appear in the vlog table if the user had no password set, but user 
that were added with a password would authenticate fine, and appear in the log table. 
I have setup systems very similar in configuration a number of times, and do not 
remember fighting this issue. Any help or guidance is appreciated.

Justin Workman
WORJUS Consulting
801.979.6259
 
 


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.516 / Virus Database: 313 - Release Date: 9/1/2003
 



Re: [vchkpw] User has no password error

2003-10-09 Thread Michael Bowe
it is
 --enable-learn-passwords=y
not
 --enable-learn-passwd=y

Michael.

- Original Message - 
From: Justin Workman [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, October 10, 2003 7:44 AM
Subject: [vchkpw] User has no password error


I have a new qmail+vpopmail install using mysql as the backend for virtual
users. I have compiled vpopmail 5.3.24 with --enable-learn-passwd=y, yet
when adding a virtual user with the command, vadduser -n emailaddress, the
user is not allowed to login to the pop server. I get the error in the mysql
vlog table that the user does not have a passwd set.

As a side note, this is now a clean re-compile of vpopmail, prior to this,
no error or log entry would appear in the vlog table if the user had no
password set, but user that were added with a password would authenticate
fine, and appear in the log table. I have setup systems very similar in
configuration a number of times, and do not remember fighting this issue.
Any help or guidance is appreciated.

Justin Workman
WORJUS Consulting
801.979.6259




---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.516 / Virus Database: 313 - Release Date: 9/1/2003






Re: [vchkpw] Outlook unable to relay, Kmail can...

2003-10-09 Thread David Benson
Antonio, sorry to be closing this thread so late but I wanted to make sure 
that it got done...

Problem resolved (and better understood)...  I took Nick's advice and added 
recordio to get some additional logging...  The Linux clients were going 
through my ISP while the Windows clients where trying to SMTP-AUTH against my 
QMail server...  Of course, the QMail box wasn't patched to support smtp-auth 
(why isn't this in by default!!??) so the authentication failed...  Since I 
know which subnets I want to allow, I updated the tcp.smtp file and 
re-generated the cdb version of it and everything worked...  For the sake of 
my own sanity, I tried to relay from another subnet and it failed (so no 
open-relay!!)...

I still need to investigate why my Linux clients are bypassing the QMail 
server when sending - but that is a topic for another day and another mailing 
list...

In conclusion, my problem had nothing to do with this list (sorry) - but thank 
you very much to everyone who tried to help!!  The Linux community rocks!

-David


On Sunday 05 October 2003 03:51, tonix (Antonio Nati) wrote:
 At 03/10/03 03/10/03 -0700, David Benson wrote:
 Tonino, I have the Linux mail clients configured exactly the same as their
 Windows counterparts...
 
 But your question got me thinking and retracing my install steps (again)
  and here is something that I thought of:  I didn't do the SMTP-AUTH patch
  when I compiled.  That considered, shouldn't everything fail to send?  Or
  does the latest QMail have the ability to handle smtp-auth natively?

 No, SMTP auth is never installed by default, but it depends by which patch
 are you using.

 If you installed Bill's megapatch, AUTH is installed.

 Anyway, if clients have addresses authorized to relay, they will relay.

 So, again, my question:

 - are Linux and Windows clients in the same subnet?
 - did you check the addresses authorized to relay? what your
 '/etc/tcp.smtp' says?

 Tonino

 I'm going to try Nick's suggestion of using recordio to see what is being
 sent, maybe that will turn up some clues...
 
 On Wednesday 01 October 2003 02:31, tonix (Antonio Nati) wrote:
   Are Linux clients relaying using your SMTP box, or are they sending by
   themselves?
  
   Tonino
  
   At 01/10/03 01/10/03 +, David Benson wrote:
   Eric, thanks for the suggestion, but that was not the solution...  I
will be reviewing the site you recommended to see if I can find a
clue as to what this could be...
   
   More info:
   It is not just Outlook that I'm having problems with, it's anything
   Windows...
   I have tried Outlook, Outlook Express, and Eudora - all were able to
receive mail but unable to send it.
   
   Recap:
   I have a qmail box that I am only serving virtual mailboxes from using
   qmail+vpopmail.  My Linux-based users report no problems, all is fine.
 My Windows-based users can check their mail but cannot send it.  The
log reports nothing wrong.  The error reported by Outlook is the
standard one about the domain not being listed in rcpthosts...
   
   This has really got me baffled because the behavior is not consistent.
 I can't understand how it could work for Linux clients but not
Windows... The OS shouldn't really be a factor...
   
   On Tuesday 30 September 2003 01:51, you wrote:
 Dave, I think I had the same problem. What is the error you are
 getting back? What is the log showing?  I ended up replacing my
 /service/qmail-smtpd/run file with the script below and now
 relaying works. Just a thought, hope it helps. (this was out of the
 guide at:
 http://www.pipeline.com.au/staff/mbowe/isp/webmail-server.htm which
 is the best guide I've seen around)
 - Eric


 #!/bin/sh
 QMAILDUID=`id -u qmaild`
 NOFILESGID=`id -g qmaild`

 exec /usr/local/bin/softlimit -m 200 \
 /usr/local/bin/tcpserver \
   -H -l mail.mydomain.net\
   -v -x /etc/tcp.smtp.cdb \
   -c 20 -R -u $QMAILDUID -g $NOFILESGID 0 smtp \
 /usr/local/bin/rblsmtpd -b -C \
   -r 'relays.ordb.org:Your message was rejected because the mail
 server you use is configured to allow OPEN RELAY -
  More detailed information regarding this problem is available from
 http://www.ordb.org/lookup/?%IP% - Please forwa
 rd this error through to your email server support staff for easy
 resolution.' \ -r 'proxies.relays.monkeys.com:Your message was
 rejected because the message was sent from an OPEN PROXY - More i
 nformation regarding this problems is available at
 http://www.monkeys.com/upl/listed-ip-0.cgi?ip=%IP% - Please forw
 ard this error to your email server support staff for resolution.'
 \ -t 5 \
 /var/qmail/bin/qmail-smtpd 21

 # The line in orange should be used if you are running qmail on a
 computer # that is on a LAN that is using fake ips/masquerading.
 # It tells tcpserver not to bother trying to resolve ip addresses
 # to 

Re: [vchkpw] qmailadmin-1.0.27 error on rh7.3

2003-10-09 Thread Tom Collins
On Wednesday, October 8, 2003, at 11:46  PM, Jochen Schug wrote:
What version of vpopmail are you using? From your previous post, I 
asume
5.2.1 or 5.2.2... Read the requirements of the recent qmailadmin 
release
- you'll need at least 5.3.19 IIRC.
That's correct.  Versions of QmailAdmin from at least 1.0.19 require 
vpopmail 5.3.19 or later (for the vlimits code).

--
Tom Collins  -  [EMAIL PROTECTED]
Note: The Tom Logic offices will be closed October 23 to November 18.
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/



RE: [vchkpw] User has no password error

2003-10-09 Thread Justin Workman
Michael,

Thank you so much! I can not believe I was doing that! I knew it was something simple 
that I was overlooking. 

Thanks again!

-Original Message-
From: Michael Bowe [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 09, 2003 4:09 PM
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] User has no password error

it is
 --enable-learn-passwords=y
not
 --enable-learn-passwd=y

Michael.

- Original Message - 
From: Justin Workman [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, October 10, 2003 7:44 AM
Subject: [vchkpw] User has no password error


I have a new qmail+vpopmail install using mysql as the backend for virtual
users. I have compiled vpopmail 5.3.24 with --enable-learn-passwd=y, yet
when adding a virtual user with the command, vadduser -n emailaddress, the
user is not allowed to login to the pop server. I get the error in the mysql
vlog table that the user does not have a passwd set.

As a side note, this is now a clean re-compile of vpopmail, prior to this,
no error or log entry would appear in the vlog table if the user had no
password set, but user that were added with a password would authenticate
fine, and appear in the log table. I have setup systems very similar in
configuration a number of times, and do not remember fighting this issue.
Any help or guidance is appreciated.

Justin Workman
WORJUS Consulting
801.979.6259




---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.516 / Virus Database: 313 - Release Date: 9/1/2003






---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.516 / Virus Database: 313 - Release Date: 9/1/2003
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.516 / Virus Database: 313 - Release Date: 9/1/2003
 



Re: [vchkpw] How to backup/recovery vpopmail domain and account ?

2003-10-09 Thread songrit
Thank you for answer. I have some problem. In my vpopmail/domain is large.I
use this server with IMAP  POP3 . i can't backup. I want mail domain. not
want data in mail box.

- Original Message -
From: greg gede [EMAIL PROTECTED]
To: songrit [EMAIL PROTECTED]
Sent: Friday, October 10, 2003 12:13 PM
Subject: Re: [vchkpw] How to backup/recovery vpopmail domain and account ?


 back up vpopmail database using mysqldump and also
 back up vpopmail/yourdomain using compression tool
 like tar or zip or both.

 why do you want to back up anyway?? do you want to
 upgrade??

 --- songrit [EMAIL PROTECTED] wrote:
  I use vpopmail+mysql. how to backup and restore ?
 


 __
 Do you Yahoo!?
 The New Yahoo! Shopping - with improved product search
 http://shopping.yahoo.com