Re: SV: [vchkpw] vpopmail bug? (was Re: 5.2+ vdelivermail doesn't read .qmail)

2003-02-04 Thread Michael Burns
ON Wed, Jan 29, 2003 at 03:03:01PM +0100, Jonas Thomsen wrote: 
 
  ON Fri, Jan 24, 2003 at 05:07:00PM -0600, Michael Burns wrote: 
  
  Can somebody verify that this is a vpopmail bug? The 
  practical problem here is that qmailadmin creates per-user 
  .qmail files to support forwards which vdelivermail ignores.
 
 I have the same problem, but I haven't verified that it is a vpopmail
 bug.
 
  I can provide a patch if necessary.
 
 I would be interested in that! Thanks in advance!

Here's that patch ...

snip
--- vpopmail-5.3.14/vdelivermail.c  Wed Oct 23 20:42:36 2002
+++ vpopmail-5.3.14-new/vdelivermail.c  Tue Feb  4 22:30:44 2003
@@ -1025,6 +1025,9 @@
 
 /* check if it is a path add the /Maildir/ for delivery */
 if ( bounce[0] == '/' ) {
+   if ( check_forward_deliver(bounce) == 1 ) {
+   vexit(0);
+   }
 strcat( bounce, /Maildir/);
 printf (user does not exist, but will deliver to %s\n, bounce);
 } else {
snip
-- 
Michael




SV: [vchkpw] vpopmail bug? (was Re: 5.2+ vdelivermail doesn't read .qmail)

2003-01-29 Thread Jonas Thomsen

 ON Fri, Jan 24, 2003 at 05:07:00PM -0600, Michael Burns wrote: 
  I've noticed that vdelivermail in vpopmail 5.2 and (probably up to
  and including) 5.3.14 doesn't process any .qmail file at its second
  argument when that argument is a directory path.
  
  Shouldn't vdelivermail check the delivery directory for a 
 .qmail file 
  before dumping the message into the Maildir/ directory?
 
 Can somebody verify that this is a vpopmail bug? The 
 practical problem here is that qmailadmin creates per-user 
 .qmail files to support forwards which vdelivermail ignores.

I have the same problem, but I haven't verified that it is a vpopmail
bug.

 I can provide a patch if necessary.

I would be interested in that! Thanks in advance!


Regards,

Jonas Thomsen