diff options
author | ivan <ivan> | 2004-05-10 09:40:38 +0000 |
---|---|---|
committer | ivan <ivan> | 2004-05-10 09:40:38 +0000 |
commit | a99ff097871f1072d30c83c2d519f19e99ab794e (patch) | |
tree | f40730a1a2fd42f93f757ce4f37086ac9e648452 /bin | |
parent | 24653b038976803a9d328eb7b5a73b78a3bd5c3a (diff) |
5.005!
Diffstat (limited to 'bin')
-rw-r--r-- | bin/sendmail.import | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/sendmail.import b/bin/sendmail.import index c6ed434cd..a55616dc3 100644 --- a/bin/sendmail.import +++ b/bin/sendmail.import @@ -39,7 +39,7 @@ my($aliases)=&getvalue(":"); use vars qw($aliases_machine $aliases_prefix); $aliases_machine = (split(/:/, $aliases))[0]; $aliases_prefix = "$spooldir/$aliases_machine"; -mkdir $aliases_prefix unless -d $aliases_prefix; +mkdir($aliases_prefix, 0755) unless -d $aliases_prefix; #iscp("root\@$aliases","$aliases_prefix/aliases.import"); iscp("ivan\@$aliases","$aliases_prefix/aliases.import"); @@ -53,8 +53,8 @@ my($virtusertable)=&getvalue(":"); use vars qw($virtusertable_machine $virtusertable_prefix); $virtusertable_machine = (split(/:/, $virtusertable))[0]; $virtusertable_prefix = "$spooldir/$virtusertable_machine"; -mkdir $virtusertable_prefix unless -d $virtusertable_prefix; -mkdir "$virtusertable_prefix/virtusertable.import" +mkdir($virtusertable_prefix, 0755) unless -d $virtusertable_prefix; +mkdir("$virtusertable_prefix/virtusertable.import", 0755) unless -d "$virtusertable_prefix/virtusertable.import"; #iscp("root\@$virtusertable/*","$aliases_prefix/virtusertable.import/"); |