mhonarc-users

Fw: problem with permissions

2001-02-20 12:37:42
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:

<ultra(_at_)kgb(_dot_)ijs(_dot_)si>: 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

<Prev in Thread] Current Thread [Next in Thread>