diff options
author | Pascal Terjan <pterjan@mageia.org> | 2012-01-02 17:29:40 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mageia.org> | 2012-01-02 17:29:40 +0000 |
commit | 7de111b45234089eeca433c9ceba9566017beba5 (patch) | |
tree | c9c789f21e5820ed8ab67199be1f8eaff61cb52d /iurt2 | |
parent | 8e112e04c1dbdbe2721f24621532bddb4eeafa26 (diff) | |
download | iurt-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-x | iurt2 | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 { |