[freeside-commits] freeside/bin postfix.export,1.3,1.4
Ivan,,,
ivan at wavetail.420.am
Mon Jul 11 05:22:25 PDT 2005
Update of /home/cvs/cvsroot/freeside/bin
In directory wavetail:/tmp/cvs-serv15017
Modified Files:
postfix.export
Log Message:
fix regex
Index: postfix.export
===================================================================
RCS file: /home/cvs/cvsroot/freeside/bin/postfix.export,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- postfix.export 10 May 2004 11:10:58 -0000 1.3
+++ postfix.export 11 Jul 2005 12:22:23 -0000 1.4
@@ -40,7 +40,7 @@
my $srcsvc_acct = $svc_forward->srcsvc_acct;
if ( $srcsvc_acct ) {
( $username, $domain ) = ( $srcsvc_acct->username, $srcsvc_acct->domain );
- } elsif ( $svc_forward->src =~ /([^@]*)\@([^@]+)$/ ) {
+ } elsif ( $svc_forward->src =~ /^([^@]*)\@([^@]+)$/ ) {
( $username, $domain ) = ( $1, $2 );
} else {
die "bad svc_forward record? svcnum ". $svc_forward->svcnum. "\n";
More information about the freeside-commits
mailing list