summaryrefslogtreecommitdiff
path: root/FS/FS/svc_forward.pm
diff options
context:
space:
mode:
authorjeff <jeff>2001-08-19 15:53:36 +0000
committerjeff <jeff>2001-08-19 15:53:36 +0000
commit8a8c9386cbd3383b0134aae8e32b5995f8886fb2 (patch)
treefb0dae094afa7bbf0a3fe0e8bd24091ae6b8e69d /FS/FS/svc_forward.pm
parent8c7396531e6bf6f7c6cc4e5d19e2d381442223c5 (diff)
added user interface for svc_forward and vpopmail support
Diffstat (limited to 'FS/FS/svc_forward.pm')
-rw-r--r--FS/FS/svc_forward.pm5
1 files changed, 2 insertions, 3 deletions
diff --git a/FS/FS/svc_forward.pm b/FS/FS/svc_forward.pm
index 5264a60..db9180d 100644
--- a/FS/FS/svc_forward.pm
+++ b/FS/FS/svc_forward.pm
@@ -223,9 +223,8 @@ sub check {
}
if ($recref->{dst}) {
- $recref->{dst} =~ /^(\w\.\-]+)\@(([\w\.\-]+\.)+\w+)$/
+ $recref->{dst} =~ /^([\w\.\-]+)\@(([\w\.\-]+\.)+\w+)$/
or return "Illegal dst";
- $recref->{dst} = $1;
}
''; #no error
@@ -235,7 +234,7 @@ sub check {
=head1 VERSION
-$Id: svc_forward.pm,v 1.2 2001-08-12 19:41:24 jeff Exp $
+$Id: svc_forward.pm,v 1.3 2001-08-19 15:53:35 jeff Exp $
=head1 BUGS