aboutsummaryrefslogtreecommitdiffstats
path: root/iurt2
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2012-01-02 17:29:40 +0000
committerPascal Terjan <pterjan@mageia.org>2012-01-02 17:29:40 +0000
commit7de111b45234089eeca433c9ceba9566017beba5 (patch)
treec9c789f21e5820ed8ab67199be1f8eaff61cb52d /iurt2
parent8e112e04c1dbdbe2721f24621532bddb4eeafa26 (diff)
downloadiurt-7de111b45234089eeca433c9ceba9566017beba5.tar
iurt-7de111b45234089eeca433c9ceba9566017beba5.tar.gz
iurt-7de111b45234089eeca433c9ceba9566017beba5.tar.bz2
iurt-7de111b45234089eeca433c9ceba9566017beba5.tar.xz
iurt-7de111b45234089eeca433c9ceba9566017beba5.zip
Append domain when sending emails to user
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 {