Am 23.09.2011 11:21, schrieb Johnny A. Solbu:
On Friday 23 September 2011 10:52, Florian Hubold wrote:
Still, you didn't tell for which choice you vote.
I vote for still sending mail, if an address or username is provided for msec
to send mail to.
That's a conditional. Do you have a patch for that?
You don't want msec to require an MTA,
but seems you want msec to send reports to an email adress if you enter one.
I ask what happens if one does enter an address, under the new proposed config.
Today root get all reports unless one enters a username or a mail address. I
understand it to mean that under the proposed no mail config it's just stored
in logs.
If you only enter an email adress in msec config file, and have no MTA
installed,
it would be the same as now, the reports ending in /dead.letter.
If you have an MTA installed (and configured) mail should be sent.
But if one does enter a username or a mail address, it should send mail to the
configured user or mail address. And then the setup/installation could prompt
for an MTA to be installed if one haven't selected one. And possibly give the
user a list of MTAs to use, perhaps with the default MTA, Postfix, preselected.
I guess what I'm saying is, configure msec to Not send mail if an MTA is not
found and send if one is found.
Not shure how much work that would require thou. :-)=
Feel free to send a patch for that.