Hello,
 
I call mhonarc from simple shell script
 
#!/usr/bin/perl
# Edit above path to point to where perl is on your system.
 
##      Specify a package to protect names from MHonArc.
 
package WebNewMail;
 
##      Edit to point to installed mhonarc.
 
$MHonArc = "/usr/bin/mhonarc";
 
##      Define ARGV (ARGV is same across all packages).
##      Edit options as required/desired.
 
@ARGV = ("-add",
         "-quiet",
          "-umask 022",
         "-outdir", "/www/KGB/internal/lists/KGB-list");
 
##      Just require mhonarc, this prevents the overhead of a
##      fork/exec.
 
require $MHonArc;
 
But when posting on list, I recive this error:
 
<[EMAIL PROTECTED]>: Command died with status 255:
"/home/ultra/bin/webnewmail
    #ultra". Command output: Unknown option: umask 022  Try "webnewmail
-help"
    for usage
 
What is wrong?
 
Regards,
 
Janez
 

Reply via email to