There is a bug in the javamailresource, where if you don't pass "mailuser", it will try and pass that with no arguments. This makes the argument after it freak out and asadmin will complain about it missing.
This PR fixes that issue, adds tests for the javamailresource and also fixes a small bug I found in the stripping of lines in the exists clause in javamailresource.
There is a bug in the javamailresource, where if you don't pass "mailuser", it will try and pass that with no arguments. This makes the argument after it freak out and asadmin will complain about it missing.
This PR fixes that issue, adds tests for the javamailresource and also fixes a small bug I found in the stripping of lines in the exists clause in javamailresource.