diff --git a/Changes b/Changes index b3c5fe8..c5f6a35 100644 --- a/Changes +++ b/Changes @@ -1,3 +1,4 @@ + plugins/queue/maildir: Allow hyphens in the maildir path Temporary deny if clamd is not running diff --git a/plugins/queue/maildir b/plugins/queue/maildir index dd804f5..f005f44 100644 --- a/plugins/queue/maildir +++ b/plugins/queue/maildir @@ -85,7 +85,7 @@ sub register { my ($self, $qp, @args) = @_; if (@args > 0) { - ($self->{_maildir}) = ($args[0] =~ m!([/\w\.]+)!); + ($self->{_maildir}) = ($args[0] =~ m!([-/\w\.]+)!); } if (@args > 1) {