A bit of a scare/nuisance,  if you use -V , the username gets printed
twice. 

eg:
vpopbull -V -f filename domain.com

[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]

It looks like it's been sent twice.

-n -V only prints the domain once.

This patch adds some extra text just to show what's happening.
--- vpopmail-5.3.18/vpopbull.c	Thu Feb 20 13:48:32 2003
+++ vpopmail-5.3.18-vfe/vpopbull.c	Fri Mar  7 09:05:51 2003
@@ -175,17 +175,20 @@
 
 		if ( !in_exclude_list( fsx, domain, pwent->pw_name) ) {
 			if ( Verbose == 1 ) {
-				printf("[EMAIL PROTECTED]", pwent->pw_name, domain);
+				printf("Working on: [EMAIL PROTECTED]", pwent->pw_name, domain);
 			}
 			if ( DoNothing == 0 ) {
 				if(copy_email( fsi, filename, domain, pwent) == 0) {
 			        if ( Verbose == 1 ) {
-				        printf("[EMAIL PROTECTED]", pwent->pw_name, domain);
+				        printf("Success: [EMAIL PROTECTED]", pwent->pw_name, domain);
 			        }
                 } else {
 				    printf("[EMAIL PROTECTED]: ERROR COPYING TO %s\n", pwent->pw_name, 
                         domain, pwent->pw_dir);
                 }
+			}
+			else {
+				printf("Skipped (-n): [EMAIL PROTECTED]", pwent->pw_name, domain);
 			}
 		}
 	}	

Reply via email to