diff --git a/plugins/queue/smtp-forward b/plugins/queue/smtp-forward index abb55e5..0aa7598 100644 --- a/plugins/queue/smtp-forward +++ b/plugins/queue/smtp-forward @@ -26,7 +26,7 @@ sub register { $self->register_hook("queue", "queue_handler"); if (@args > 0) { - if ($args[0] =~ /^([\w_-]+)$/) { + if ($args[0] =~ /^([\.\w_-]+)$/) { $self->{_smtp_server} = $1; } else {