[vchkpw] use valias to add .qmail files into vpopmail database

2003-09-15 Thread roshan rosh
hi all,
  can some body tell me how to include .qmail files into the vpopmail database. 
  iam are trying to figure out how to include all the ezmlm-make created .qmail 
files into the vpopmail database. 
  
let me tell u the full setup. I have qmail installed the LWQ way. and then 
vpopmail and ezmlm 0.53 with the ezmlm-idx 0.40 addon. initially i tried to setup up 
mailling lists on my system (with my virtual domain  - rosh.com) so i had one working 
list test with many .qmail files in /var/qmail/alias/ . now what i wanna do is , do 
away with all those .qmail files by putting valias entries in the vpopmail database.  
Im not able to get this setup working. 

to be more specific, i have 4 .qmail files for  my unmoderated list , [EMAIL 
PROTECTED] , namely

.qmail-test which contains 
|/usr/local/bin/ezmlm/ezmlm-reject  '/var/qmail/alias/test'
|/usr/local/bin/ezmlm/ezmlm-send '/var/qmail/alias/test'
|/usr/local/bin/ezmlm/ezmlm-warn '/var/qmail/alias/test' || exit 0

.qmail-test-default which contains 
|/usr/local/bin/ezmlm/ezmlm-reject '/var/qmail/alias/test'
|/usr/local/bin/ezmlm/ezmlm-send '/var/qmail/alias/test'
|/usr/local/bin/ezmlm/ezmlm-warn '/var/qmail/alias/test' || exit 0

and two more files 
.qmail-test-owner and .qmail-test-return-default

now what i  did was 

valias -i |/usr/local/bin/ezmlm/ezmlm-send '/var/qmail/alias/test'
|/usr/local/bin/ezmlm/ezmlm-warn '/var/qmail/alias/test' [EMAIL PROTECTED]
 
and then 
valias -i |/usr/local/bin/ezmlm/ezmlm-warn '/var/qmail/alias/test'
|/usr/local/bin/ezmlm/ezmlm-manage '/var/qmail/alias/test' [EMAIL PROTECTED]

the entries are made into valias table , but the mails addressed to [EMAIL PROTECTED] 
([EMAIL PROTECTED]) are handled by the test alias and not the test-default alias . can 
someone please tell me what to do ? im stuck.


with regards

rosh


 
-
Sify Mail - now with Anti-virus protection powered by Trend Micro, USA.
Know more at http://mail.sify.com

Sify Power mail- a Premium Service from Sify Mail!
know more at http://mail.sify.com



Re: [vchkpw] imap before smtp

2003-09-15 Thread Tim
On Thu, Sep 11, 2003 at 01:40:02PM -0700, Tom Collins wrote:
 mr. varshavchik addressed this on the sqwebmail mailing list:

 http://www.mail-archive.com/[EMAIL PROTECTED]/msg06068.html
 
 it's a lovely little rant.
 
 As of vpopmail 5.3.8, the buffers are cleared properly and the 
 authdaemon has worked just fine.  A beta 5.2.2 release is on 
 SourceForge with the same fix in place.

  Is there any change between 5.3.5 and 5.3.8 that is relevant to this?
It is not obvious from the ChangeLog.  I've been running 5.2.1 and
authdaemon with just the parse_email() patch (I am the author of the
patch) without any problems.  We have a very small installation though.

  Also my patch doesn't clear the buffer, just making sure that the
buffer is always terminated properly.  Let me know if I am missing
something.

  Thanks,

  Tim



[vchkpw] Re: Sorry,_no_mailbox_here_by_that_name

2003-09-15 Thread Shai
I wish I had a fix like that for the post I placed on the quotamsg file ... 

Shai 

Jeremy Kitchen writes: 

On Sun, 2003-09-14 at 21:34, Fast Johnny wrote:
Oh geez. That was pretty bad. Although the error messages didn't give me much to
go by, I needed to go back to simple control files. Sorry to waste everyone's time
on this. Thanks Jeremy for your help.
it's ok, everyone makes mistakes.  and we all go through those times
when a little tiny problem creates a huge mess and you often overlook
things :)  We all do it.  Just glad you got fixed :) 

-Jeremy
--
Jeremy Kitchen
Systems Administrator
.
Inter7 Internet Technologies, Inc.
www.inter7.com
866.528.3530 toll free
847.492.0470 int'l
847.492.0632 fax
GNUPG key ID: 93BDD6CE 







Re: [vchkpw] imap before smtp

2003-09-15 Thread Michael Bowe
- Original Message - 
From: Tim [EMAIL PROTECTED]
To: Tom Collins [EMAIL PROTECTED]
Cc: vpopmail list [EMAIL PROTECTED]
Sent: Monday, September 15, 2003 6:09 PM
Subject: Re: [vchkpw] imap before smtp


 On Thu, Sep 11, 2003 at 01:40:02PM -0700, Tom Collins wrote:
  mr. varshavchik addressed this on the sqwebmail mailing list:
 
  http://www.mail-archive.com/[EMAIL PROTECTED]/msg06068.html
  
  it's a lovely little rant.
 
  As of vpopmail 5.3.8, the buffers are cleared properly and the
  authdaemon has worked just fine.  A beta 5.2.2 release is on
  SourceForge with the same fix in place.

   Is there any change between 5.3.5 and 5.3.8 that is relevant to this?
 It is not obvious from the ChangeLog.  I've been running 5.2.1 and
 authdaemon with just the parse_email() patch (I am the author of the
 patch) without any problems.  We have a very small installation though.

   Also my patch doesn't clear the buffer, just making sure that the
 buffer is always terminated properly.  Let me know if I am missing
 something.

Hi Tim

Your updates to parse_email() that were included with vpopmail-5.3.5 is
definitely the solution to the courier problem

As you say, prior to your fix, the username string was not getting null
terminated correctly.

The incorrect null termination resulted in problems for courier-imap when
running --with-authdaemon. This is because authdaemon runs persistently,
rather than running once per auth request.

Typically the vpopmail code isnt run in a persistent fashion. The vpopmail
tools such as vchkpw (or courier-imap --without-authdaemon) only run once
per auth request, so the incorrect termination issue never really caused a
problem because the string buffers would always be created/initialised from
scratch for each auth.

But when you ran courier --with-authdaemon, the same string buffers being
used over and over again, and the incorrectly terminated username field
would result in auth failure as soon as a shorter username came through than
the previous username.

Michael.




[vchkpw] Re: OT question (ezmlm)

2003-09-15 Thread Peter Palmreuther
Hello Tom,

On Sunday, September 14, 2003 at 11:31:22 PM you wrote (at least in
part):

 Mailing list 1 ---users (one mailing list contains users) which
 all get emails however if I create a new mailing list and I add it
 to mailing list 1 the users from the mailing list 2 once I send a
 message to mailing list 1 they will not get messages.

 ezmlm is typically set up to require the list name in the To or Cc  
 header.

 It is possible to override this behavior.  See this Feature Request
 from the QmailAdmin project for details:

An other option might be to make 'list 2' a sublist of 'list 1',
albeit I have to confess: I've never tried this yet.
-- 
Best regards
Peter Palmreuther

What I want is all of the power and none of the responsibility.




Re: [vchkpw] SMTP relay Problem

2003-09-15 Thread gabi
Hi all.

I'm trying to run SMTP-after-POP with qmail and vpopmail-5.2.1

In the vpopmail's FAQs appears:

  ..Everytime a user logs into the popserver, his ip and a timestamp gets 
  written to ~vpopmail/etc/open-smtp
  If he's allowed in, the tcp.smtp.cdb gets regenerated automatically from the
  open-smtp file and the tcp.smtp file...

I run vpopmail with --enable-roaming-users=y and open-smtp file is 
updated every time a valid pop user is authenticated, but not the 
tcp.smtp.cdb is regenerated automatically. ??

My /home/vpopmail/etc/ directory:

drwxr-xr-x 2 vpopmail vchkpw 4096 sep 15 16:31 .
drwxr-xr-x 9 vpopmail vchkpw 4096 abr 12 09:57 ..
-rw-r--r-- 1 vpopmail vchkpw 25 sep 13 14:03 inc_deps
-rw-r--r-- 1 vpopmail vchkpw 32 sep 13 14:03 lib_deps
-rw-r--r-- 1 root root 3374 sep 15 16:31 open-smtp
-rw-r--r-- 1 vpopmail vchkpw 1221 sep 6 10:39 open-smtp.bak
-rw-r--r-- 1 vpopmail vchkpw 0 sep 15 16:31 open-smtp.lock
-rw-rw-rw- 1 vpopmail vchkpw 2692 sep 15 16:15 tcp.smtp
-rw-r--r-- 1 vpopmail vchkpw 5480 sep 15 16:15 tcp.smtp.cdb
My /var/qmail/supervise/qmail-pop3d/run file:

exec /usr/local/bin/softlimit -m 200 \
/usr/local/bin/tcpserver -v -R -H -l 0 0 110 /var/qmail/bin/qmail-popup \
mailplus.elmirador.info /home/vpopmail/bin/vchkpw 
/var/qmail/bin/qmail-pop3d Maildir 21

it's may be a permission problem? a bug in vpopmail? something I forgot?

Thanks a lot, Gabi.

yasuyuki TOYODA wrote:

Hi,linuman bbb

 my qmail-smtpd/run file as below

 exec /usr/local/bin/tcpserver -H -R -x
 /home/vpopmail/etc/tcp.smtp.cdb -u 502 -
 g 501 0 smtp recordio /var/qmail/bin/qmail-smtpd 21
 --
 qmail-pop3d/run as below
 exec /usr/local/bin/tcpserver -v -H -R 0 pop3
 /var/qmail/bin/qmail-popup mydomain.com
 /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d
 Maildir 21
Above setting perhaps, OK!
I don't know recordio.
The following contents is my example.
Not generally.
1.
my original qmailctl script in the cdb section.
cdb)
cp /home/vpopmail/etc/tcp.smtp.edit /home/vpopmail/etc/tcp.smtp
cat /home/vpopmail/etc/open-smtp | colrm 50  \
/home/vpopmail/etc/open-smtp.tmp
cat /home/vpopmail/etc/open-smtp.tmp  /home/vpopmail/etc/tcp.smtp
tcprules /home/vpopmail/etc/tcp.smtp.cdb \
/home/vpopmail/etc/tcp.smtp.tmp  /home/vpopmail/etc/tcp.smtp
chmod 644 /home/vpopmail/etc/tcp.smtp.cdb
rm -rf /home/vpopmail/etc/open-smtp.tmp \
/home/vpopmail/etc/tcp.smtp.tmp
2.
Next, cron daemon by my original
#
# POP before SMTP setting
#
0 * * * * /usr/local/var/qmail/bin/qmailctl cdb
1 * * * * /usr/local/var/qmail/bin/qmailctl cdb
2 * * * * /usr/local/var/qmail/bin/qmailctl cdb
3 * * * * /usr/local/var/qmail/bin/qmailctl cdb
4 * * * * /usr/local/var/qmail/bin/qmailctl cdb
5 * * * * /usr/local/var/qmail/bin/qmailctl cdb
6 * * * * /usr/local/var/qmail/bin/qmailctl cdb
7 * * * * /usr/local/var/qmail/bin/qmailctl cdb
8 * * * * /usr/local/var/qmail/bin/qmailctl cdb
9 * * * * /usr/local/var/qmail/bin/qmailctl cdb
10 * * * * /usr/local/var/qmail/bin/qmailctl cdb
11 * * * * /usr/local/var/qmail/bin/qmailctl cdb
12 * * * * /usr/local/var/qmail/bin/qmailctl cdb
13 * * * * /usr/local/var/qmail/bin/qmailctl cdb
14 * * * * /usr/local/var/qmail/bin/qmailctl cdb
15 * * * * /usr/local/var/qmail/bin/qmailctl cdb
16 * * * * /usr/local/var/qmail/bin/qmailctl cdb
17 * * * * /usr/local/var/qmail/bin/qmailctl cdb
18 * * * * /usr/local/var/qmail/bin/qmailctl cdb
19 * * * * /usr/local/var/qmail/bin/qmailctl cdb
20 * * * * /usr/local/var/qmail/bin/qmailctl cdb
21 * * * * /usr/local/var/qmail/bin/qmailctl cdb
22 * * * * /usr/local/var/qmail/bin/qmailctl cdb
23 * * * * /usr/local/var/qmail/bin/qmailctl cdb
24 * * * * /usr/local/var/qmail/bin/qmailctl cdb
25 * * * * /usr/local/var/qmail/bin/qmailctl cdb
26 * * * * /usr/local/var/qmail/bin/qmailctl cdb
27 * * * * /usr/local/var/qmail/bin/qmailctl cdb
28 * * * * /usr/local/var/qmail/bin/qmailctl cdb
29 * * * * /usr/local/var/qmail/bin/qmailctl cdb
30 * * * * /usr/local/var/qmail/bin/qmailctl cdb
31 * * * * /usr/local/var/qmail/bin/qmailctl cdb
32 * * * * /usr/local/var/qmail/bin/qmailctl cdb
33 * * * * /usr/local/var/qmail/bin/qmailctl cdb
34 * * * * /usr/local/var/qmail/bin/qmailctl cdb
35 * * * * /usr/local/var/qmail/bin/qmailctl cdb
36 * * * * /usr/local/var/qmail/bin/qmailctl cdb
37 * * * * /usr/local/var/qmail/bin/qmailctl cdb
38 * * * * /usr/local/var/qmail/bin/qmailctl cdb
39 * * * * /usr/local/var/qmail/bin/qmailctl cdb
40 * * * * /usr/local/var/qmail/bin/qmailctl cdb
41 * * * * /usr/local/var/qmail/bin/qmailctl cdb
42 * * * * /usr/local/var/qmail/bin/qmailctl cdb
43 * * * * /usr/local/var/qmail/bin/qmailctl cdb
44 * * * * /usr/local/var/qmail/bin/qmailctl cdb
45 * * * * /usr/local/var/qmail/bin/qmailctl cdb
46 * * * * /usr/local/var/qmail/bin/qmailctl cdb
47 * * * * /usr/local/var/qmail/bin/qmailctl cdb
48 * * * * /usr/local/var/qmail/bin/qmailctl cdb
49 * * * * /usr/local/var/qmail/bin/qmailctl cdb
50 * * * * /usr/local/var/qmail/bin/qmailctl cdb
51 * * * * /usr/local/var/qmail/bin/qmailctl 

Re: [vchkpw] SMTP relay Problem

2003-09-15 Thread Jeremy Kitchen
On Mon, 2003-09-15 at 09:29, gabi wrote:
 drwxr-xr-x 2 vpopmail vchkpw 4096 sep 15 16:31 .
 drwxr-xr-x 9 vpopmail vchkpw 4096 abr 12 09:57 ..
 -rw-r--r-- 1 vpopmail vchkpw 25 sep 13 14:03 inc_deps
 -rw-r--r-- 1 vpopmail vchkpw 32 sep 13 14:03 lib_deps
 -rw-r--r-- 1 root root 3374 sep 15 16:31 open-smtp
 -rw-r--r-- 1 vpopmail vchkpw 1221 sep 6 10:39 open-smtp.bak
 -rw-r--r-- 1 vpopmail vchkpw 0 sep 15 16:31 open-smtp.lock
 -rw-rw-rw- 1 vpopmail vchkpw 2692 sep 15 16:15 tcp.smtp
 -rw-r--r-- 1 vpopmail vchkpw 5480 sep 15 16:15 tcp.smtp.cdb

something in there doesn't belong?  can we see what it is? :)

(hint: look for the word root)

 it's may be a permission problem?

appears so.

  a bug in vpopmail?

no.

  something I forgot?

yes :)

 Thanks a lot, Gabi.

you're welcome

-Jeremy 

-- 
Jeremy Kitchen
Systems Administrator
.
Inter7 Internet Technologies, Inc.
www.inter7.com
866.528.3530 toll free
847.492.0470 int'l
847.492.0632 fax
GNUPG key ID: 93BDD6CE




Re: [vchkpw] SMTP relay Problem

2003-09-15 Thread gabi


Jeremy Kitchen wrote:

On Mon, 2003-09-15 at 09:29, gabi wrote:
 

drwxr-xr-x 2 vpopmail vchkpw 4096 sep 15 16:31 .
drwxr-xr-x 9 vpopmail vchkpw 4096 abr 12 09:57 ..
-rw-r--r-- 1 vpopmail vchkpw 25 sep 13 14:03 inc_deps
-rw-r--r-- 1 vpopmail vchkpw 32 sep 13 14:03 lib_deps
-rw-r--r-- 1 root root 3374 sep 15 16:31 open-smtp
-rw-r--r-- 1 vpopmail vchkpw 1221 sep 6 10:39 open-smtp.bak
-rw-r--r-- 1 vpopmail vchkpw 0 sep 15 16:31 open-smtp.lock
-rw-rw-rw- 1 vpopmail vchkpw 2692 sep 15 16:15 tcp.smtp
-rw-r--r-- 1 vpopmail vchkpw 5480 sep 15 16:15 tcp.smtp.cdb
   

something in there doesn't belong?  can we see what it is? :)

(hint: look for the word root)

mmm, but open-smtp is updated by vpchkpw which is launched by root

/usr/local/bin/tcpserver -v -R -H -l 0 0 110 /var/qmail/bin/qmail-popup \
mailplus.elmirador.info /home/vpopmail/bin/vchkpw 
/var/qmail/bin/qmail-pop3d Maildir 21


   like vpopmail install instructions said...

  env - PATH=/var/qmail/bin:/usr/local/bin \
   tcpserver -H -R 0 pop-3 \
   /var/qmail/bin/qmail-popup your.domain.com \
   /home-dir-of-vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d 
Maildir 


What should I do then?

   Thanks, Gabi.

 

it's may be a permission problem?
   

appears so.

 

a bug in vpopmail?
   

no.

 

something I forgot?
   

yes :)

 

Thanks a lot, Gabi.
   

you're welcome

-Jeremy 

 






[vchkpw] maildirsize update when using maildrop

2003-09-15 Thread J. Kendzorra
Hi,
in the archives I found a few, unanswered messages from people (like me) 
using maildrop and not vdelivermail to get messages delivered.
The (well known?) problem is that the maildirsize file doesn't get 
updated after making quota changes via vqadmin/vsetuserquota.
Is there any new solution for this problem or can't it be solved?
Thanks,
Juergen




[vchkpw] more SMTP relay problem

2003-09-15 Thread gabi
   Hi again..

   I have install SMTP-after-POP and workw fine¡¡

   Another question to SMTP relay...

   I'm testing some Anti-replay testers (nsmtprc-2.0.1) and I have a 
problem.
   When a user sends a email to [EMAIL PROTECTED]
   where asdfasdf is a invalid user in a valid loca domain 
localdomain.com
   The email is accepted and then ignored or managed by .qmail-default..

   How can I send a error message to the sender or not accept this 
invalid email?

   Thanks, Gabi.

  





Re: [vchkpw] more SMTP relay problem

2003-09-15 Thread Jeremy Kitchen
On Mon, 2003-09-15 at 11:45, gabi wrote:
 Hi again..

hi!

 I have install SMTP-after-POP and workw fine

ok

 Another question to SMTP relay...
 
 I'm testing some Anti-replay testers (nsmtprc-2.0.1) and I have a 
 problem.
 When a user sends a email to [EMAIL PROTECTED]
 where asdfasdf is a invalid user in a valid loca domain 
 localdomain.com
 The email is accepted and then ignored or managed by .qmail-default..
 
 How can I send a error message to the sender or not accept this 
 invalid email?
 

if the mailbox doesn't exist qmail will generate a bounce back to the
address in the ERP.  If the ERP is  it will treat it as a double
bounce and handle it accordingly.

-- 
Jeremy Kitchen
Systems Administrator
.
Inter7 Internet Technologies, Inc.
www.inter7.com
866.528.3530 toll free
847.492.0470 int'l
847.492.0632 fax
GNUPG key ID: 93BDD6CE




RE: [vchkpw] RE: I must have missed your answers, vpopmail .quotawarn.msg

2003-09-15 Thread Paul Theodoropoulos
wish i knew more to help you. you have followed all the directions in the 
README.quotas in the vpopmail distribution? you patched the appropriate 
programs?

At 10:40 PM 9/14/2003, you wrote:
Thanks for the response!

# pwd
/home/vpopmail/domains
# ls -al .quotawarn.msg
-rw---1 vpopmail vchkpw371 Sep  9 09:17 .quotawarn.msg
Ok?

Shai.

 -Original Message-
 From: Paul Theodoropoulos [mailto:[EMAIL PROTECTED]
 Sent: Friday, September 12, 2003 6:03 AM
 To: [EMAIL PROTECTED]
 Subject: Re: [vchkpw] RE: I must have missed your answers,
 vpopmail .quotawarn.msg



 question - is the .quotawarn.msg ownership/group set correctly?

 At 09:55 PM 9/11/2003, Shai Ben-Naphtali wrote:
 Anyone, anything?
 
 Shai.
 
 
   Hi all,
  
   I'm afraid I was told that some people replied to my msg.. but I
   MUST have missed it somehow and so I'm making this email again,
   in HOPE that I'll get help in this issue and not miss it this
 time around.
  
   I made /home/vpopmail/domains/.quotawarn.msg
  
   I placed this inside:
  
   From: Mail Delivery System [EMAIL PROTECTED]
   Reply-To: [EMAIL PROTECTED]
   To: Valued Customer:;
   Subject: Mail quota warning
   Mime-Version: 1.0
   Content-Type: text/plain; charset=iso-8859-1
   Content-Transfer-Encoding: 7bit
  
   Your mailbox on the server is now more than 90% full. So that you
   can continue
   to receive mail you need to remove some messages from your mailbox.
  
   ~~~
  
   I can't seem to understand why this message isn't arriving into
   the mailbox I made for testing that is now over 90% and
 standing on 93%.
  
   Can anyone give me a hand in figuring this out?
   Thanks in advance for ANY help on this issue.
  
   Cheers,
   Shai

 Paul Theodoropoulos
 http://www.anastrophe.com




Paul Theodoropoulos
http://www.anastrophe.com




RE: [vchkpw] RE: I must have missed your answers, vpopmail .quotawarn.msg

2003-09-15 Thread Shai Ben-Naphtali
Yea, I did follow the steps.. which are very simple and strieght-forward.
What programs you think I need to patch?

Shai

 -Original Message-
 From: Paul Theodoropoulos [mailto:[EMAIL PROTECTED]
 Sent: Monday, September 15, 2003 7:34 PM
 To: vpopmail list
 Subject: RE: [vchkpw] RE: I must have missed your answers,
 vpopmail .quotawarn.msg



 wish i knew more to help you. you have followed all the directions in the
 README.quotas in the vpopmail distribution? you patched the appropriate
 programs?

 At 10:40 PM 9/14/2003, you wrote:
 Thanks for the response!
 
 # pwd
 /home/vpopmail/domains
 
 # ls -al .quotawarn.msg
 -rw---1 vpopmail vchkpw371 Sep  9 09:17 .quotawarn.msg
 
 Ok?
 
 Shai.
 
 
   -Original Message-
   From: Paul Theodoropoulos [mailto:[EMAIL PROTECTED]
   Sent: Friday, September 12, 2003 6:03 AM
   To: [EMAIL PROTECTED]
   Subject: Re: [vchkpw] RE: I must have missed your answers,
   vpopmail .quotawarn.msg
  
  
  
   question - is the .quotawarn.msg ownership/group set correctly?
  
   At 09:55 PM 9/11/2003, Shai Ben-Naphtali wrote:
   Anyone, anything?
   
   Shai.
   
   
 Hi all,

 I'm afraid I was told that some people replied to my msg.. but I
 MUST have missed it somehow and so I'm making this email again,
 in HOPE that I'll get help in this issue and not miss it this
   time around.

 I made /home/vpopmail/domains/.quotawarn.msg

 I placed this inside:

 From: Mail Delivery System [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 To: Valued Customer:;
 Subject: Mail quota warning
 Mime-Version: 1.0
 Content-Type: text/plain; charset=iso-8859-1
 Content-Transfer-Encoding: 7bit

 Your mailbox on the server is now more than 90% full. So that you
 can continue
 to receive mail you need to remove some messages from
 your mailbox.

 ~~~

 I can't seem to understand why this message isn't arriving into
 the mailbox I made for testing that is now over 90% and
   standing on 93%.

 Can anyone give me a hand in figuring this out?
 Thanks in advance for ANY help on this issue.

 Cheers,
 Shai
  
   Paul Theodoropoulos
   http://www.anastrophe.com
  
  
  
  

 Paul Theodoropoulos
 http://www.anastrophe.com








[vchkpw] Anyone know how to do prefix-forwards?

2003-09-15 Thread Taylor Dondich
This was a feature that someone was telling me about on the imail 
platform, and I was wondering if anyone else ran into it and how to do 
it with a vpopmail setup.  Lets say I run domain: test.com, and I have a 
user called foo.  They had it setup so, if anyone e-mailed 
[EMAIL PROTECTED], it would forward it to user foo, and into their imap 
folder, bar.  If it didn't exist, it would create the folder bar.

Anyone know of a solution for something like this?  Sounds kinda handy 
to have.

--
Taylor Dondich
Majik Networks
www.majiknetworks.com
702-896-3470 - Office
702-617-9613 - Fax




RE: [vchkpw] RE: I must have missed your answers, vpopmail .quotawarn.msg

2003-09-15 Thread Paul Theodoropoulos
That's explained in README.quotas.

At 01:31 PM 9/15/2003, Shai Ben-Naphtali wrote:
Yea, I did follow the steps.. which are very simple and strieght-forward.
What programs you think I need to patch?
Shai

 -Original Message-
 From: Paul Theodoropoulos [mailto:[EMAIL PROTECTED]
 Sent: Monday, September 15, 2003 7:34 PM
 To: vpopmail list
 Subject: RE: [vchkpw] RE: I must have missed your answers,
 vpopmail .quotawarn.msg



 wish i knew more to help you. you have followed all the directions in the
 README.quotas in the vpopmail distribution? you patched the appropriate
 programs?

 At 10:40 PM 9/14/2003, you wrote:
 Thanks for the response!
 
 # pwd
 /home/vpopmail/domains
 
 # ls -al .quotawarn.msg
 -rw---1 vpopmail vchkpw371 Sep  9 09:17 .quotawarn.msg
 
 Ok?
 
 Shai.
 
 
   -Original Message-
   From: Paul Theodoropoulos [mailto:[EMAIL PROTECTED]
   Sent: Friday, September 12, 2003 6:03 AM
   To: [EMAIL PROTECTED]
   Subject: Re: [vchkpw] RE: I must have missed your answers,
   vpopmail .quotawarn.msg
  
  
  
   question - is the .quotawarn.msg ownership/group set correctly?
  
   At 09:55 PM 9/11/2003, Shai Ben-Naphtali wrote:
   Anyone, anything?
   
   Shai.
   
   
 Hi all,

 I'm afraid I was told that some people replied to my msg.. but I
 MUST have missed it somehow and so I'm making this email again,
 in HOPE that I'll get help in this issue and not miss it this
   time around.

 I made /home/vpopmail/domains/.quotawarn.msg

 I placed this inside:

 From: Mail Delivery System [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 To: Valued Customer:;
 Subject: Mail quota warning
 Mime-Version: 1.0
 Content-Type: text/plain; charset=iso-8859-1
 Content-Transfer-Encoding: 7bit

 Your mailbox on the server is now more than 90% full. So that you
 can continue
 to receive mail you need to remove some messages from
 your mailbox.

 ~~~

 I can't seem to understand why this message isn't arriving into
 the mailbox I made for testing that is now over 90% and
   standing on 93%.

 Can anyone give me a hand in figuring this out?
 Thanks in advance for ANY help on this issue.

 Cheers,
 Shai
  
   Paul Theodoropoulos
   http://www.anastrophe.com
  
  
  
  

 Paul Theodoropoulos
 http://www.anastrophe.com




Paul Theodoropoulos
http://www.anastrophe.com




Re: [vchkpw] vpopmail POP: ERR aac, chiled crashed after reboot, core dumped

2003-09-15 Thread Chris Shenton
Charles Sprickman [EMAIL PROTECTED] writes:

 -When you say it was rebooted, was that on purpose, or something went awry
 with the machine?  If the latter, was there any filesystem damage?

I'm told they had a power failure, so it's possible there was
filesystem damage.

 -What might have changed in your startup scripts from the last time the
 box was booted?

That was my suspicion too, but they still have the January 2001
timestamp from when I installed them.



 The only difference here is you fail when going through tcpserver, but
 succeed on the cli.  Look at what may be different in those two
 environments...  Do other programs that use the vpopmail libs function
 properly?

Yeah, the web gui sqwebmail works fine. Qmail smtpd is also using tcpserver.

Hmmm, I just rebuilt ucspi-tcp (from FreeBSD ports) and see the same
behavior even with the new tcpserver.

I'm much more worried about rebuilding vpopmail... and have to use the
ancient version to preserve the old user database formats IIRC.

Thanks for the suggestions.



Re: [vchkpw] Anyone know how to do prefix-forwards?

2003-09-15 Thread Charles Sprickman
Qmail handles this, and it can be enabled for vpopmail at compile time
with this:

--enable-qmail-ext=y|n   enable qmail email address extensions (default
no).

I don't know how well-tested that is or if it brings up any lurking bugs
in vpopmail though...

Charles

On Mon, 15 Sep 2003, Taylor Dondich wrote:

 This was a feature that someone was telling me about on the imail
 platform, and I was wondering if anyone else ran into it and how to do
 it with a vpopmail setup.  Lets say I run domain: test.com, and I have a
 user called foo.  They had it setup so, if anyone e-mailed
 [EMAIL PROTECTED], it would forward it to user foo, and into their imap
 folder, bar.  If it didn't exist, it would create the folder bar.

 Anyone know of a solution for something like this?  Sounds kinda handy
 to have.

 --
 Taylor Dondich
 Majik Networks
 www.majiknetworks.com
 702-896-3470 - Office
 702-617-9613 - Fax







Re: [vchkpw] maildirsize update when using maildrop

2003-09-15 Thread Charles Sprickman
On Mon, 15 Sep 2003, J. Kendzorra wrote:

 Hi,
 in the archives I found a few, unanswered messages from people (like me)
 using maildrop and not vdelivermail to get messages delivered.
 The (well known?) problem is that the maildirsize file doesn't get
 updated after making quota changes via vqadmin/vsetuserquota.
 Is there any new solution for this problem or can't it be solved?

It can be solved, but it's not too efficient.  If you're running maildrop,
someone posted this solution on the list a few weeks ago:

# Make sure the quota file is in place.
# Vpopmail does not create it by default.
# Vpopmail also removes it when you change the quota.

`test -s $HOME/Maildir/maildirsize`
if ( $RETURNCODE == 1 )
{
`~vpopmail/bin/vuserinfo -Q [EMAIL PROTECTED]
`/usr/sbin/chown vpopmail:vchkpw $VDIR/Maildir/maildirsize`
`chmod 640 $VDIR/Maildir/maildirsize`
}

I'd credit this if I could remember who posted it.  Tested it here, and it
works fine.

Charles


 Thanks,
 Juergen






RE: [vchkpw] more SMTP relay problem

2003-09-15 Thread Shane Chrisp
Check out the checkusr patch.

There is a copy on http://shupp.org

Shane

-Original Message-
From: gabi [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 16 September 2003 12:45 AM
To: [EMAIL PROTECTED]
Subject: [vchkpw] more SMTP relay problem



Hi again..

I have install SMTP-after-POP and workw fine¡¡

Another question to SMTP relay...

I'm testing some Anti-replay testers (nsmtprc-2.0.1) and I have a 
problem.
When a user sends a email to [EMAIL PROTECTED]
where asdfasdf is a invalid user in a valid loca domain 
localdomain.com
The email is accepted and then ignored or managed by 
.qmail-default..

How can I send a error message to the sender or not accept this 
invalid email?

Thanks, Gabi.

   









Re: [vchkpw] maildirsize update when using maildrop

2003-09-15 Thread Tom Collins
On Monday, September 15, 2003, at 08:12  AM, J. Kendzorra wrote:
in the archives I found a few, unanswered messages from people (like 
me)
using maildrop and not vdelivermail to get messages delivered.
The (well known?) problem is that the maildirsize file doesn't get
updated after making quota changes via vqadmin/vsetuserquota.
Is there any new solution for this problem or can't it be solved?
When the quota changes, should vpopmail empty the maildirsize file 
instead of deleting it?

What does it typically look like?  We could probably update 
vsetuserquota() in vpopmail.c to recreate it properly instead of just 
deleting it (like it does now).

--
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/



[vchkpw] aliases problem

2003-09-15 Thread Asad Javid








Hi all!

Im migrating my exchange to qmail. All has gone well until now
when I try to configure an alias file(infact more than one) which contains a group
of users it just fails saying no mailbox available. This is very important
feature for my organization as we are using it in exchange and I want it in qmail
too. The error specifed is related to vpopmail as it specifies the error. My /var/qmail/users/assign
file output is as follows 

+duc.ac.ae-:duc.ac.ae:508:503:/home/vpopmail/domains/duc.ac.ae:-::



This is the error:





Hi. This is the qmail-send program at duc.ac.ae.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)--- Below this line is a copy of the message.Return-Path: [EMAIL PROTECTED]Received: (qmail 23145 invoked by uid 505); 15 Sep 2003 13:03:51 -Received: from [EMAIL PROTECTED] by mail.duc.ac.ae by uid 508 with qmail-scanner-1.16 (clamscan: 0.54. Clear:. Processed in 0.238535 secs); 15 Sep 2003 13:03:51 -Received: from localhost (HELO 172.17.2.220) (127.0.0.1) by duc.ac.ae with SMTP; 15 Sep 2003 13:03:51 -Received: from 172.17.0.4 (proxying for 172.17.4.22) (SquirrelMail authenticated user [EMAIL PROTECTED]) by 172.17.2.220 with HTTP; Mon, 15 Sep 2003 17:03:51 +0400 (GST)Message-ID: [EMAIL PROTECTED]Date: Mon, 15 Sep 2003 17:03:51 +0400 (GST)Subject: testFrom: [EMAIL PROTECTED]To: [EMAIL PROTECTED]User-Agent: SquirrelMail/1.4.1MIME-Version: 1.0Content-Type: text/plain;charset=iso-8859-1Content-Transfer-Encoding: 8bitX-Priority: 3Importance: Normalthis is a test messege










[vchkpw] Add users with other path

2003-09-15 Thread reinaldo . andrade
Hi to all!
its my firt participation in this list. Anticipatedly im so sorry for my poor english! 
well, i´ve installed qmail+vpopmail on a server and it works gracefully, i´m 
organizing maildirs of users in a path like this /data/vpopmail/domains/foo.org/..., 
so i would like to organize in path like this /data/vpopmail/domains/foo.org/a/argos , 
../domains/foo.org/r/reinaldo, its possible? there are many any way to do this without 
changes in binaries (eg.:vadduser..)?

thanks!

- Reinaldo Andrade
Campo Grande - MS