1 |
bytegw |
1.1 |
diff -Nur -x '*.orig' -x '*.rej' e-smith-qmail-1.10.0/root/etc/e-smith/templates/var/qmail/control/virtualdomains/80localdomains mezzanine_patched_e-smith-qmail-1.10.0/root/etc/e-smith/templates/var/qmail/control/virtualdomains/80localdomains |
2 |
|
|
--- e-smith-qmail-1.10.0/root/etc/e-smith/templates/var/qmail/control/virtualdomains/80localdomains 2008-01-08 15:20:14.000000000 -0700 |
3 |
|
|
+++ mezzanine_patched_e-smith-qmail-1.10.0/root/etc/e-smith/templates/var/qmail/control/virtualdomains/80localdomains 2008-01-08 15:19:27.000000000 -0700 |
4 |
|
|
@@ -1,8 +1,6 @@ |
5 |
|
|
{ |
6 |
|
|
$OUT = ''; |
7 |
|
|
|
8 |
|
|
- my $local_handler = "alias-localdelivery"; |
9 |
|
|
- |
10 |
|
|
use esmith::DomainsDB; |
11 |
|
|
my $domainsdb = esmith::DomainsDB->open_ro(); |
12 |
|
|
|
13 |
|
|
@@ -14,7 +12,8 @@ |
14 |
|
|
|
15 |
|
|
next if ( $mail_server ne 'localhost' ); |
16 |
|
|
|
17 |
|
|
- $domain = $domain->key; |
18 |
|
|
- $OUT .= "$domain:$local_handler\n"; |
19 |
|
|
+ $emaildomain = $domain->key; |
20 |
|
|
+ my $handler = $domain->prop('EmailTo') || "alias-localdelivery"; |
21 |
|
|
+ $OUT .= "$emaildomain:$handler\n"; |
22 |
|
|
} |
23 |
|
|
} |