RE: [vchkpw] Re: Duplicate Messages.

2003-02-14 Thread Bknonix Lists
Interesting Answer Peter, but I will through a bit of a loop into this.

1.  User account "bruce", no .qmail-bruce file.
- two messages are delivered to bruce when addressed to
[EMAIL PROTECTED]

2.  User account "bruce", with .qmail-bruce file.
- one message is delivered to bruce when addressed to
[EMAIL PROTECTED]

So, unless I am missing something (in which case, please point me to where)
I do not see why the above example should go to the .qmail-default file.

In the event that the message does go to the default file, I do want both.
I want the bounce to go back AND a copy to be forwarded to the postmaster.

I performed an intersting test.   I deleted ALL .qmail-* files, including
the .qmail-default and the email to [EMAIL PROTECTED] just got delivered
once.

So, my theory is that creating a .qmail-default file in a virtual domain,
requires every user to have a .qmail-(user) file.



-Original Message-
From: Peter Palmreuther [mailto:[EMAIL PROTECTED]] 
Sent: February 14, 2003 10:49
To: Bknonix Lists in vpop
Subject: [vchkpw] Re: Duplicate Messages.


Hello Bknonix,

On Friday, February 14, 2003 at 3:51:04 AM you wrote (at least in
part):

>>And the output of:
>>
>>cat /.qmail-default

> | /home/VMail/bin/vdelivermail '' [EMAIL PROTECTED] 
> | /home/VMail/bin/vdelivermail '' bounce-no-mailbox

And you _really_ wonder why mails are delivered twice?

The first line searches for the user in vpasswd.cdb and if found delivers
the mail. If not is redirects the mail to postmaster@... The second line
does exactly the same, except in case of failure it bounces the message. A
successful delivery done in line 1 does _NOT_ stop qmail-local executing the
other lines in .qmail-default, which a quick look into man dot-qmail and man
qmail-local would have revealed.

Decide ... Bounce or Forward. If you _really need_ both you'll for sure have
no problem with writing an own program or script that is called from
vdelivermail (|.../vdelivermail '' |/path/to/my/prog) and forwards and
bounces by itself, with the effect you only have _one_ delivery instruction
in .qmail-default.
-- 
Best regards
Peter Palmreuther

Ummm U Ug... I rule and you don't.









RE: [vchkpw] Duplicate Messages.

2003-02-13 Thread Bknonix Lists
Ok.

Here you go.


From: Jonas Pasche [mailto:[EMAIL PROTECTED]] 
Sent: February 13, 2003 14:05
>Hi Bruce,
>
>> (a) Before I created the file .qmail-lists
>> 
>> Feb 10 12:40:20 radar mail: 1044898820.602392 new msg 103789 Feb 10 
>> 12:40:20 radar mail: 1044898820.605824 info msg 103789: bytes 2455 
>> from <[EMAIL PROTECTED]> qp 2616 uid 
>> 500 Feb 10 12:40:20 radar mail: 1044898820.734291 starting delivery 
>> 88: msg 103789 to local [EMAIL PROTECTED] Feb 10 12:40:20 
>> radar mail: 1044898820.736996 status: local 1/10 remote 0/20 Feb 10 
>> 12:40:22 radar mail: 1044898822.189478 delivery 88: success: 
>> did_0+0+2/ Feb 10 12:40:22 radar mail: 1044898822.248579 status: local 
>> 0/10 remote 0/20 Feb 10 12:40:22 radar mail: 1044898822.532584 end msg 
>> 103789
>
>Ok, please tell us the output of:
>
>grep bknonix.com /var/qmail/users/assign

+bknonix.com-:bknonix.ca:89:89:/home/VMail/domains/bknonix.ca:-::

>
>And the output of:
>
>ls -la 

drwx--5 vpopmail vchkpw   4096 Feb 10 21:28 .
drwx--4 vpopmail vchkpw   4096 Feb  9 13:02 ..
drwx--3 vpopmail vchkpw   4096 Jan  7 01:02 bknonix
drwx--3 vpopmail vchkpw   4096 Jan  7 01:02 bruce
-rw---1 vpopmail vchkpw 34 Feb  8 17:04 .dir-control
drwx--3 vpopmail vchkpw   4096 Jan  7 01:02 lists
-rw---1 vpopmail vchkpw 57 Feb  9 21:10 .qmail-abuse
-rw---1 vpopmail vchkpw 53 Feb 10 21:16 .qmail-bknonix
-rw---1 vpopmail vchkpw 51 Feb 10 21:14 .qmail-bruce
-rw---1 vpopmail vchkpw109 Feb  9 21:10 .qmail-default
-rw---1 vpopmail vchkpw 51 Feb 10 21:16 .qmail-lists
-rw---1 vpopmail vchkpw 53 Feb  9 21:10 .qmail-postmaster
-rw---1 vpopmail vchkpw311 Feb  5 00:48 vpasswd
-rw---1 vpopmail vchkpw   2425 Feb  5 00:48 vpasswd.cdb
-rw---1 vpopmail vchkpw  0 Feb  5 00:48 .vpasswd.lock

>
>And the output of:
>
>cat /.qmail-default

| /home/VMail/bin/vdelivermail '' [EMAIL PROTECTED]
| /home/VMail/bin/vdelivermail '' bounce-no-mailbox

>
>Jonas





RE: [vchkpw] Duplicate Messages.

2003-02-11 Thread Bknonix Lists
Thanks Jonas:

Here are two snipits from the log.

(a) Before I created the file .qmail-lists

Feb 10 12:40:20 radar mail: 1044898820.602392 new msg 103789
Feb 10 12:40:20 radar mail: 1044898820.605824 info msg 103789: bytes 2455
from <[EMAIL PROTECTED]> qp 2616 uid 500
Feb 10 12:40:20 radar mail: 1044898820.734291 starting delivery 88: msg
103789 to local [EMAIL PROTECTED]
Feb 10 12:40:20 radar mail: 1044898820.736996 status: local 1/10 remote 0/20
Feb 10 12:40:22 radar mail: 1044898822.189478 delivery 88: success:
did_0+0+2/
Feb 10 12:40:22 radar mail: 1044898822.248579 status: local 0/10 remote 0/20
Feb 10 12:40:22 radar mail: 1044898822.532584 end msg 103789


(b) After I created the file .qmail-list
| /home/bin/vdelivermail '' [EMAIL PROTECTED]

Feb 10 21:20:20 radar mail: 1044930020.938573 new msg 103790
Feb 10 21:20:20 radar mail: 1044930020.941533 info msg 103790: bytes 5240
from <[EMAIL PROTECTED]> qp 3803 uid 500
Feb 10 21:20:20 radar mail: 1044930020.984768 starting delivery 125: msg
103790 to local [EMAIL PROTECTED]
Feb 10 21:20:20 radar mail: 1044930020.990660 status: local 1/10 remote 0/20
Feb 10 21:20:22 radar mail: 1044930022.148490 delivery 125: success:
did_0+0+1/
Feb 10 21:20:22 radar mail: 1044930022.206990 status: local 0/10 remote 0/20
Feb 10 21:20:22 radar mail: 1044930022.224711 end msg 103790


Now, all I can see that is different is the (a) "did_0+0+2" versus (b)
"did_0+0+1" line.


Any help would be appreciated.

Thanks
Bruce 


-Original Message-
From: Jonas Pasche [mailto:[EMAIL PROTECTED]] 
Sent: February 11, 2003 08:08
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] Duplicate Messages.


Hi Bruce,

> Can somebody explain why I have to create the .qmail files for the 
> delivery?

Yes, the qmail-send log. Please read it, or post the according log snippet
if you're unsure how to interpret it.

Jonas









[vchkpw] Duplicate Messages.

2003-02-10 Thread Bknonix Lists
Has anybody seen this before

QMAIL + VPOPMAIL

- install qmail on system.   Local domain is domain1.com
- create user1 / user2 on system.  Email works fine to [EMAIL PROTECTED] and
[EMAIL PROTECTED]
- no changes to default .qmail files in alias directory.

- create virtual domain "vdomain.com"
- create [EMAIL PROTECTED] and [EMAIL PROTECTED]
- no changes to default .qmail files

- send email to [EMAIL PROTECTED] and you get 2 copies of the message in
the folder.

After much searching, I created
.qmail-vuser1 containing 1 line:
| /home/bin/vdelivermail '' [EMAIL PROTECTED]

And low and behold, only one copy of the message.


Can somebody explain why I have to create the .qmail files for the delivery?

Thanks
Bruce.