ispman/lib/ISPMan DomainMan.pm,1.81,1.82

Atif Ghaffar <[email protected]>
Newsgroups gmane.comp.isp.ispman.cvs
Message-ID <[email protected]>
Update of /cvsroot/ispman/ispman/lib/ISPMan
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27311

Modified Files:
	DomainMan.pm 
Log Message:
Send named parameters when setting modifyTransport

Index: DomainMan.pm
===================================================================
RCS file: /cvsroot/ispman/ispman/lib/ISPMan/DomainMan.pm,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -d -r1.81 -r1.82
--- DomainMan.pm	30 Dec 2004 01:47:13 -0000	1.81
+++ DomainMan.pm	30 Dec 2004 16:59:17 -0000	1.82
@@ -612,7 +612,7 @@
         # adjust mail maps when delivery method has changed
         if ( $data->{'ispmanDomainMailDeliveryMethod'} ) {
 
-            $self->addDomainSMTPProcess( $domain, "modifyTransport" );
+           $self->addDomainSMTPProcess( $domain, "modifyTransport", "ispmanDomainMailDeliveryMethod=" . $self->getTransportMap($domain));
 
             if ( $domain_info->{'ispmanDomainMailDeliveryMethod'} eq "local" ) {
                 $self->addDomainSMTPProcess( $domain,
@@ -1439,7 +1439,7 @@
     my $transport = shift;
     $self->setDomainAttribute( $domain, "ispmanDomainMailDeliveryMethod",
         $transport );
-    $self->addDomainSMTPProcess( $domain, "modifyTransport" );
+    $self->addDomainSMTPProcess( $domain, "modifyTransport", "ispmanDomainMailDeliveryMethod=" . $self->getTransportMap($domain));
 
     if ( $transport eq "smtp" ) {
         $self->addDomainSMTPProcess( $domain, "RemoveDestinationDomainEntry" );



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.