Quantcast
Channel: CentOS Bug Tracker - Issues
Viewing all articles
Browse latest Browse all 19115

0006466: /usr/sbin/amcheck calls /bin/mail incorrectly

$
0
0
Amcheck is used to verify that a backup will run, reporting issues by email.<br /> <br /> The -m parameter uses contact email address from the the general Amanda config file. The alternative -M allows the user to specify an address.<br /> <br /> On CentOS6, when I use '-m', the program works as expected (email arrives):<br /> ----------<br /> -bash-4.1$ amcheck -m DailyBackup<br /> -bash-4.1$<br /> ----------<br /> <br /> Using '-M' with an email address gives the following output:<br /> ----------<br /> -bash-4.1$ amcheck -M <a href="mailto:user@domain.com">user@domain.com</a> DailyBackup<br /> Send options without primary recipient specified.<br /> Usage: mail -eiIUdEFntBDNHRV~ -T FILE -u USER -h hops -r address -s SUBJECT -a FILE -q FILE -f FILE -A ACCOUNT -b USERS -c USERS -S OPTION users<br /> amcheck: error running mailer /bin/mail: mailer exited with status 2<br /> -bash-4.1$<br /> ----------<br /> <br /> So it looks like the '-M' causes amcheck to invoke /bin/mail with the arguments in the wrong order.

Viewing all articles
Browse latest Browse all 19115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>