aboutsummaryrefslogtreecommitdiffstats
path: root/iurt2
diff options
context:
space:
mode:
Diffstat (limited to 'iurt2')
-rwxr-xr-xiurt26
1 files changed, 5 insertions, 1 deletions
diff --git a/iurt2 b/iurt2
index 8143702..8dc4306 100755
--- a/iurt2
+++ b/iurt2
@@ -470,6 +470,10 @@ my %config_usage = (
desc => 'Name of the packages distribution',
default => 'Mageia'
},
+ email_domain => {
+ desc => 'Domain to append to usernames when sending emails',
+ default => 'mageia.org'
+ },
home => {
desc => 'Home dir',
default => $HOME
@@ -1564,7 +1568,7 @@ sub send_status_mail {
}
}
print "$text\n";
- sendmail($run->{status_mail}, '' , "Iurt report for $run->{my_arch}/$run->{media}", $text, "Iurt the rebuild bot <$config->{admin}>", 0);
+ sendmail($run->{status_mail}, '' , "Iurt report for $run->{my_arch}/$run->{media}", $text, "Iurt the rebuild bot <$config->{admin}>", 0, $config);
}
sub find_provides {