[vchkpw] quota

2003-01-10 Thread Augustas Gutautas
Hi,

I`m using vpopmail-5.2 with qmail.
The problem is that vuserinfo [EMAIL PROTECTED] sais that customer has used 
let`s say 50% of his mail quota, although cd 
~vpopmail/domains/domain.tld/user  ls -lasR */* shows that there are no 
messages and no files at all. Maildir/maildirsize shows that there are 
messages. Is this is a bug or a feature? How to cope with this?
The problem disappears if Maildir/maildirsize is deleted. 
As it is written in vpopmail documentation quota gets updated every 15 
minutes, but on my system (debian woody) this never happens. User quotas are 
qreated with vsetuserquota [EMAIL PROTECTED] 4000
Any ideas?
-- 
Augustas Gutautas
UAB Baltnetos komunikacijos
GalvydÅžio g. 5, Vilnius
Tel. 2745444
Fax. 2745440
Mob. 8614 63487
http://www.balt.net




[vchkpw] Re: LDAP working :(

2003-01-10 Thread Jens Jahr
Zitat von Remo Mattei [EMAIL PROTECTED]:

 I do not thing that my server is working ok since I cannot set quota, I
 cannot see clear passwd (it says null) Thanks for your help.

Hi,

There another issue concering clear passwd.
This is until now not supported by LDAP-backend.
It is on my TODO-List to add this, but it means some
major rewrite of the LDAP-backend.

It is currently in _my_ CVS-Tree, but it needs some more
testing. As soon as it proves stablility and backward
compatiblilty I will let this list know.


Cheers
Jens

 





Re: [vchkpw] is vpopmail support to get the full header withvpopmail domain + qmail ??

2003-01-10 Thread Peter Palmreuther
Hi Jerry,

On Fri, 10 Jan 2003 09:10:37 +0800 Jerry Chou [EMAIL PROTECTED]
wrote:

 Fox example,
 that is the one mail of mailling list of sqwebmail sent to me
 that is the first two lines(header):
 
 Return-Path: [EMAIL PROTECTED]
 Delivered-To: [EMAIL PROTECTED]
 
 and the From and To lines:
 
 From: Some David  somebody@somewhere
 To: sqlwebmail list [EMAIL PROTECTED]
 
 if forward with .qmail, no treated with  |
 /home/vpopmail/bin/vdelivermail there is no the first two lines, and I
 do not know which the real destination
 of the mail. and in mailling list, the Delivered-To is always
 different from other mail. it is important clue.

OK. I think it's time you re-read your qmail documentation and visit a
qmail specific resource, like

news://alt.comp.mail.qmail

forwarding with dot-qmail is a pure qmail topic, and nb: it works.

Delivered-To is inserted by qmail if it found a delivery instruction to
an incoming mail. If it ain't you're doing something strange.
As you did not even provide _complete_ examples of your .qmail and two
mails, one stored locally and forwarded by the provided .qmail file
we're not able to guess what could be wrong. Nevertheless it's still a
qmail issue, not vpopmail.

Next thing is: Return-Path is written to the stored message by the last
SMTP that receives the message and stores it.
If this storage operation is done by 'qmail-local' this line _is_
inserted. If you forward these messages to an external host it's up to
_THIS_ MTA to provide that line; qmail running on your server ain't
responsible. Return-Path ain't a header line as From that is
transported with the mail, it is only a manifestation of Envelope From
in SMTP-level written to the mail when final destination is reached.
Please read RFC-822 (esp. sec. 4.3.1) for further information.

To make another concrete statement: I'm using the '[EMAIL PROTECTED]'
forwarding in dozens, if not hundred of dot-qmail files by myself. And
Delivered-To and Return-Path are present every time as they should.

So please provide your concrete setup to the experts on a qmail-list,
they'll for sure now where to look for a possible point of failure.
-- 
Regards
 Peter




Re: [vchkpw] The header info lost ? what is the progress betweenqmail-local and vdelivermail ?

2003-01-10 Thread Peter Palmreuther
Hi Jerry,

On Fri, 10 Jan 2003 15:55:16 +0800 Jerry Chou [EMAIL PROTECTED]
wrote:

 but I go to see the copy of owner's, only diffrence is
 there are two lines than above:
 
 Return-Path: [EMAIL PROTECTED]
 Delivered-To: [EMAIL PROTECTED]

MANPATH=/var/qmail/man man preline

make your command 

| preline /home/test_sms/to_file.pl

and you should be done.

Both, Return-Path and Delivered-To, are headers whichs values are in
%ENV.
They're prepended to the mail when stored to final recipients mailbox by
qmail-local (respectivly vdelivermail) by fetching the values from
environment and prepending the lines to the mail. They are _NOT_ part of
the mail itself.

 how vdelivermail knows who is the real destination of mail if
 it get a mail from mailling list?

MANPATH=/var/qmail/man man qmail-command

 -- SENDER and RECIPIENT

Again: this is a qmail-issue, not vpopmail.

For further qmail related questions I'd suggest you ask the
qmail-experts; this list is intended to help with vpopmail specific
issues, keeping the overview if all mail delivery issues are mixed is
quite hard, so I'd be happy if you could keep the list as clean as
possible related to vpopmail.

-- 
Thanks,
 Peter




Re: [vchkpw] Re: LDAP working :(

2003-01-10 Thread Sunagawa Koji / $B:=@n(B $B9';y(B
Hi, Zitat

Zitat von Remo Mattei [EMAIL PROTECTED]:

 I do not thing that my server is working ok since I cannot set quota, I
 cannot see clear passwd (it says null) Thanks for your help.

you can use clear passwd with my patch.

Please Try this patch. It is for 5.3.9.
http://www.ofug.net/~koj/vpopmail-ldap-apop/vpopmail-ldap-apop-20020917.tar.gz

it is working for about 3 month with like 5,000 account.


---
Sunagawa Koji[EMAIL PROTECTED]
 Okinawa FreeBSD Users Group  http://www.ofug.net/~koj/





[vchkpw] problem with vpasswd

2003-01-10 Thread Welly Ardhana
Dear All

I allready upgrade vpopmail and done.
But I got a trouble with my vpasswd when i added new email ([EMAIL PROTECTED]) with 
qmailadmin.
The vpasswd comes like this :

user:OI4qOJa1GAAzg:1:0:user:/var/vpopmail/domains/protika.com/user:   300
: a new line

A new line  cause qmailadmin won't read another line below it. 
Why it happened ?
Should I upgrade my qmailadmin ?

Thanks

welly~








Re: [vchkpw] Re: LDAP working :(

2003-01-10 Thread Jens Jahr
Zitat von Sunagawa Koji / $B:=@n(B $B9';y(B [EMAIL PROTECTED]:

 you can use clear passwd with my patch.
 
 Please Try this patch. It is for 5.3.9.
 http://www.ofug.net/~koj/vpopmail-ldap-apop/vpopmail-ldap-apop-20020917.tar.gz

Hi,

good job !

But it wont apply against 5.3.12.

- In my CVS-Tree I thought about dynamically using LDAP-entries, because
  hardcoding a special row for a special entrie makes it worse to add more new 
  LDAP-entries, because you have a bunge of #ifdefs and you will have to 
  doublecheck the whole code where direct access to an LDAP-entry is made

As a result I think it is nice to just address an LDAP-Entrie via pointers.
e.g.
QMAILDOMAIN = 1;
CLEAR_PW = 2;
qmailUID = 3;
etc

which are dynamically setup.

So general access to it would be

#ifdef CLEAR_PW
lm[CLEAR_PW]-mod_values[0] = strdup(password);
#endif

next would be 

lm[QMAILDOMAIN]-mod_values[0] = strdup(password);

no matter if I ifdefed CLEAR_PW or not.
This make code much more easy and readable.

Hope you understand my point and tell me what do you think.

I will release a patch for vpopmail-5.3.12 that uses your way, but I am
of the opinion to have a clear interface to what is used or not is better than 
using static addresses.


Cheers
Jens

 









Re: [vchkpw] is vpopmail support to get the full header with vpopmail domain + qmail ??

2003-01-10 Thread Jerry Chou
MANPATH=/var/qmail/man man qmail-command

Hi, Peter

You are so kind and I can not discribe my thanks for you!!!

:

Jerry





[vchkpw] Vpasswd maildir auto deleted!

2003-01-10 Thread deon s
Hi

We have a strange problem. Sometimes the vpasswd file gets deleted. The 
vpasswd.cdb file are not touched. Concurrent with this (some times!) the 
email directories of the email accounts gets deleted! Most of the times 
it is only the cur  tmp Dir.'s, however a couple of occasions the new 
dirs was also deleted. There is about 89 email accounts, sometimes only 
3 of 4 will be affected on other times about 80% is affected. No 
particular order is found ie: accounts with letters starting with a to k 
is affected, then a couple is skipped and t to z is again affected.

I wonder if there might not be a timestamp problem. I once created a 
new forward and then could not manage any of the email. Using the 
command line tools I found out that the timestamp for vpasswd and the 
.qmail file was 3 months IN THE FUTURE!. Restoring the correct time 
stamp (ie: 'touch file name') established normal order. In the logrotate 
logs I also find entries like: 'log file xxx has a date in the future. 
Rotation forced'. Testing with normal command line tools does not 
produce any timestamp abnormalities.

I have 3 machines with this behavior, build using the same tools.

Details:

OS = RH7.3
Kernel 2.4.17
Vpopmail-5.3.8
qmailadmin-1.0.6
ucspi-tcp-0.88
daemontools-0.76
functions-4.2
Kaspersky AVP antivirus software ( modified qmail que) V 4.0.0.0

All compile from tar files.

Has any one else experienced these type of symptoms? Any suggestions

The only idea I have is perhaps Vpopmail should be downgraded to V5.2






[vchkpw] Re[2]: [qmailadmin] Real Forwarders (not just aliases) in 1.0.6=

2003-01-10 Thread Gabriel Ambuehl
-BEGIN PGP SIGNED MESSAGE-

Hello Ken,

Friday, January 10, 2003, 5:09:04 PM, you wrote:
 I'm trying to get [EMAIL PROTECTED] to forward to [EMAIL PROTECTED] but
for
 some weird reason, qmailadmin 1.0.6 doesn't seem to be able to do
that
 anymore. It seems like there is only more Alias possible (i.e.
 domain.li to domain.li) no matter whether I chose to use Forwarder
or
 Alias. What's wrong here? This used to work in older Versions!
 Use the Modify User page. That page allows you to set forwards
 and keeps the main directory clear of .qmail-username files.

That's a god damn hack. What user is gonna figure this out?

Best regards,
 Gabriel

-BEGIN PGP SIGNATURE-
Version: PGP 6.0.2i

iQEVAwUBPh7k7MZa2WpymlDxAQF8Fgf9F3jn7XONPP/MqbPAl4o1WV2jjUt7xnQQ
LCVbnryFl9bWcLUNRU01SBgT5bwxTZsDlelNp7Q8etTSgqIEudf0uCoGbrkx+6z1
j6wRM2JRSOivD3zmHWlvAW5D0ypf3vOtczuwsMZ3cfgE0zNnLNWIsKfIzqmqMFyr
28JvrCGAre+wrtZGz7NHqLm9dhyJEw02pobFfvPdYOAONrd0QCZtLcsqo6JsNXoW
lFJ+jrF99WNdACUuFFHXQj0U8ybqu9QN1LjqhUgi/nF+/znFcL67d7DeAEEYeAEv
FBw+ZZHOFukyABEwMdrYVb4D4eheMt9ZK+Iqp0UFIm5CpfIaA4Ossw==
=z63h
-END PGP SIGNATURE-





[vchkpw] Re[4]: [qmailadmin] Real Forwarders (not just aliases) in 1.0.6=

2003-01-10 Thread Gabriel Ambuehl
-BEGIN PGP SIGNED MESSAGE-

Hello Ken,

Friday, January 10, 2003, 5:20:05 PM, you wrote:

 It's been that way for quite a while.
 No complaints from anyone.
 If a user logs in, they can only see the modify user page.
 Perhaps you are talking about postmasters logging in.


A postmaster still only is a user to the ISP. Besides, it kinda makes
the distinction between Alias and Forwarders moot (I've always found
it to be kinda silly to have it but now it's really weird).


Best regards,
 Gabriel

-BEGIN PGP SIGNATURE-
Version: PGP 6.0.2i

iQEVAwUBPh7m08Za2WpymlDxAQGfYQgAtaj4c+uj4wqyiaKHuK2yv/SZiRjmzIKR
oNfzSF4p4NnpCLVLRF7X8Tl4+7M51UCzmtTB4EC5hVB8LQpuOxOgxMtgljZy/ITx
tR6kjKfnf5ildiUFuXNDP6j0O7YQfYVOT1sAAqdqBx9EHif9RNMEHy961oXqJ6Ag
KAC9s2edinODv/sfdyqDjnKTXo+T6huSSy8FJSSfzUV0Qpy4BbyfFEgrrXxVsOsV
tVg0/JPAKICr74szokV+vt+bxRPp5bXUW/OhmGU2/VHmNpbTmDZFKEIIp7qZsvNg
fgRRawVwNEFcB2hgemMb0Ovr0eYtyEIuVzniUOEt8iozUUoQYbSUKg==
=gCkO
-END PGP SIGNATURE-





Re: [vchkpw] Re[2]: [qmailadmin] Real Forwarders (not just aliases) in 1.0.6=

2003-01-10 Thread Paul Theodoropoulos
At 08:21 AM 01-10-2003, Gabriel Ambuehl wrote:


That's a god damn hack. What user is gonna figure this out?

Best regards,
 Gabriel


hey gabriel, lighten up. how much did you pay for the software?

cursing at the developers is rude, and unlikely to motivate them to 
continue providing FREE SOFTWARE AND FREE SUPPORT for you. if you don't 
like the functionality, either inquire politely or fix it yourself.

better yet, send the developers money to fix it - then you can curse all 
you want! ;^)


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





[vchkpw] Enable Clear test passwords in LDAP

2003-01-10 Thread Jens Jahr
Bill,

this a patch for vpopmail, which enables the storage of
clear passwords in LDAP. It is against vanilla vpopmail-5.3.12 and
is based on the work from koj ( [EMAIL PROTECTED] )

Fixes includes:
- clear password storage in LDAP operational

I send another patch you - and because I want to do some additional
work that is based on it, please let me know if you like it or if you disagree.

Note that this patch is against vanilla vpopmail-5.3.12.
It also requires a modified qmailUser.schema.

I have basically tested it and it worked for:
vadduser/vsetuserquota/vuserinfo/vpasswd

Download:
Patch:
http://www.tiski.de/linux/patches/vpopmail/patch-vpopmail-clear.gz

qmailUser.schema
http://www.tiski.de/linux/patches/vpopmail/qmailUser.schema

Cheers
Jens






[vchkpw] [Fwd: DOS attack]

2003-01-10 Thread nbari
First sorry  me if this messages is out of topic for some email-lists,
but if some one know a solution, please help me.

Hi was victim of a DOS attack, my server was out for about 5 hours,
services like web and email where down.

I am using round robind dns for a load balancing, but this only help for
my web services, any idea on how can i make a redundant service for web
and email services? something like mysql does with his replication
function?


I don't want to use hardware only software


regards







Re: [vchkpw] [Fwd: DOS attack]

2003-01-10 Thread Paul Theodoropoulos

There are no truly robust software solutions for this. Hardware really is 
the best way to go.

You can pick up a redundant pair of Big/IP traffic directors for less than 
$3000 on ebay. in fact, here's a pari of them for $2,500:

http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItemcategory=3706item=2086973488

i used the big/ip's in production for three years for a national ISP. they 
are still in service, a year after i left. i swear by the big/ip's, they 
are a fantastic product.

At 11:04 AM 01-10-2003, you wrote:
First sorry  me if this messages is out of topic for some email-lists,
but if some one know a solution, please help me.

Hi was victim of a DOS attack, my server was out for about 5 hours,
services like web and email where down.

I am using round robind dns for a load balancing, but this only help for
my web services, any idea on how can i make a redundant service for web
and email services? something like mysql does with his replication
function?


I don't want to use hardware only software


regards


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





[vchkpw] auto responder

2003-01-10 Thread patw
Running qmailadmin 1.0.6 and vpopmail 5.3.6 with the auto 
responder according to Bill Shupp's toaster instructions.

I click on Enable Vacation and put in in subject and message. 
Click on Modify User and Enable Save Copy and Forward gets 
checked automatically.

Send 3 messages to mailbox and get 3 replies w/vacation 
message. Mailbox gets the three messages. All looks good.

The fourth message (and subsequent messages)  doesn't get a 
reply, which is OK. But, the message doesn't go to the mailbox - it 
goes to the queue. When Enable Vacation gets unchecked, the 
messages get delivered according to the queue schedule. And 
messages older than queuelifetime are deleted.

Is that what is supposed to happen?






Re: [vchkpw] auto responder

2003-01-10 Thread Rick Macdougall
Hi,

Same thing happens here.

Rick

- Original Message - 
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, January 10, 2003 4:07 PM
Subject: [vchkpw] auto responder


Running qmailadmin 1.0.6 and vpopmail 5.3.6 with the auto 
responder according to Bill Shupp's toaster instructions.

I click on Enable Vacation and put in in subject and message. 
Click on Modify User and Enable Save Copy and Forward gets 
checked automatically.

Send 3 messages to mailbox and get 3 replies w/vacation 
message. Mailbox gets the three messages. All looks good.

The fourth message (and subsequent messages)  doesn't get a 
reply, which is OK. But, the message doesn't go to the mailbox - it 
goes to the queue. When Enable Vacation gets unchecked, the 
messages get delivered according to the queue schedule. And 
messages older than queuelifetime are deleted.

Is that what is supposed to happen?








[vchkpw] Re: auto responder

2003-01-10 Thread Peter Palmreuther
Hello Rick,

On Friday, January 10, 2003 at 10:15:04 PM you wrote:

 Same thing happens here.
[Full quote snipped]

What's in the qmail log files? If autorespond exits w/ code 111
(temporary failure - requeue) it prints a message to stderr which
should be logged.
-- 
Best regards
Peter Palmreuther





Re: [vchkpw] Re: auto responder

2003-01-10 Thread patw
[EMAIL PROTECTED] sends a seventh message to [EMAIL PROTECTED] 
with the vacation message checked

2003-01-10 15:06:41.020422500 new msg 523474
2003-01-10 15:06:41.020439500 info msg 523474: bytes 1473 
from [EMAIL PROTECTED] qp 23961 uid 508
2003-01-10 15:06:41.026392500 starting delivery 34218: msg 
523474 to local [EMAIL PROTECTED]
2003-01-10 15:06:41.026409500 status: local 1/10 remote 0/20
2003-01-10 15:06:41.072815500 delivery 34218: deferral: 
AUTORESPOND:_too_many_received_from_[[EMAIL PROTECTED]]/

Pat

On 10 Jan 2003 at 23:39, Peter Palmreuther wrote:

 Hello Rick,
 
 On Friday, January 10, 2003 at 10:15:04 PM you wrote:
 
  Same thing happens here.
 [Full quote snipped]
 
 What's in the qmail log files? If autorespond exits w/ code 111
 (temporary failure - requeue) it prints a message to stderr which
 should be logged.
 -- 
 Best regards
 Peter Palmreuther
 
 






RE: [vchkpw] auto responder

2003-01-10 Thread Michael Bowe

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
 Sent: Saturday, 11 January 2003 8:07 AM
 To: [EMAIL PROTECTED]
 Subject: [vchkpw] auto responder
 
 
 Running qmailadmin 1.0.6 and vpopmail 5.3.6 with the auto 
 responder according to Bill Shupp's toaster instructions.
 
 I click on Enable Vacation and put in in subject and message. 
 Click on Modify User and Enable Save Copy and Forward gets 
 checked automatically.
 
 Send 3 messages to mailbox and get 3 replies w/vacation 
 message. Mailbox gets the three messages. All looks good.
 
 The fourth message (and subsequent messages)  doesn't get a 
 reply, which is OK. But, the message doesn't go to the mailbox - it 
 goes to the queue. When Enable Vacation gets unchecked, the 
 messages get delivered according to the queue schedule. And 
 messages older than queuelifetime are deleted.
 
 Is that what is supposed to happen?


This autoresponder behaviour was discussed a while ago
Perhaps take a look at this thread in the archives :
http://bluedot.net/mail/archive/read.php?f=2i=7953t=7953

If I understand the info there correctly, 
the fix for this problem has been built into vpopmail 5.3.9
and later

Looking at the vpopmail changlog confirms this
http://www.inter7.com/vpopmail/ChangeLog

Hope that helps!

Michael.





Re: [vchkpw] Re: auto responder

2003-01-10 Thread Rick Macdougall
Hi,

Same as Pat,

@40003e1f5db2387af624 starting delivery 194212: msg 2464150 to local
trio-se
[EMAIL PROTECTED]
@40003e1f5db2387b05c4 status: local 1/10 remote 2/60
@40003e1f5db311a3b57c delivery 194212: deferral:
AUTORESPOND:_too_many_recei
ved_from_[[EMAIL PROTECTED]]/

I'll take a look at upgrading and see if that fixes it since I'm already
running 5.3.8.  Just one patch had to be made for something, now I have to
remember what it was before upgrading.

Regards,

Rick

- Original Message -
From: Peter Palmreuther [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, January 10, 2003 5:39 PM
Subject: [vchkpw] Re: auto responder


Hello Rick,

On Friday, January 10, 2003 at 10:15:04 PM you wrote:

 Same thing happens here.
[Full quote snipped]

What's in the qmail log files? If autorespond exits w/ code 111
(temporary failure - requeue) it prints a message to stderr which
should be logged.
--
Best regards
Peter Palmreuther







[vchkpw] Autoresponder problem

2003-01-10 Thread Rick Macdougall
Hi,

I upgraded to 5.3.12 and that fixed the problem.  As mentioned in a previous
post, upgrading to 5.3.9 apparently would have fixed it, but I also needed
the courier fix for vipmap domains which Bill added in 5.3.12 (Thanks Bill!
Another virtual beer for you).

Regards,

Rick





RE: [vchkpw] auto responder

2003-01-10 Thread patw
 If I understand the info there correctly, 
 the fix for this problem has been built into vpopmail 5.3.9
 and later
 
 Looking at the vpopmail changlog confirms this
 http://www.inter7.com/vpopmail/ChangeLog
 

Didn't realize I was falling behind! Can I change to vpopmail 
5.3.12 and qmailadmin 1.0.7 without breaking the rest of it which is 
working great?






[vchkpw] vpopmail - setting mailquota after thousands of NOQUOTA accounts created

2003-01-10 Thread Julio Espada Olivares
Hi!

I have a problem here. I have 2 e-mail accounts with NOQUOTA (yeah, it's
stupid, i know that :)
I need to change *all* to 10mb's. I tried to use vqadmin to set the default
user quota for my domain but seems to have NO effect on existing accounts
nor new accounts.
I can't recompile vpopmail because I have another domains that I need to
have no quota limits.
My users sign up their e-mails using vqregister, so I need a default value
since vqregister has no quota setting when creating accounts.


Thank's in advance.