Le mercredi 09 novembre 2011 à 22:41 +0200, Anssi Hannula a écrit : > On 09.11.2011 22:34, Florian Hubold wrote: > > Am 09.11.2011 20:48, schrieb Michael Scherer: > >> Le mercredi 09 novembre 2011 à 19:38 +0100, Florian Hubold a écrit : > >>> Hi there, > >>> > >>> as Anssi made me aware msec currently has a Requires on > >>> sendmail-command for cauldron, this was the outcome of the > >>> last discussion about msec / MTA. > >>> However, currently in /etc/urpmi/prefer.vendor.list postfix > >>> is preferred as sendmail-command and mail-server. > >>> > >>> Anssi's vote and mine is to replace preference on postfix > >>> with dma to ensure users get dma installed with the > >>> upgrade from Mageia 1 -> 2 and not postfix which needs > >>> configuration. > >> What configuration ? > >> AFAIK, Postfix work out of the box for the use case of msec/cron, mail > >> sent to root are delivered to root mailbox, unless someone added a > >> aliase. > >> > >> > From a quick look at dma, it behave the same ( ie, it take aliase from > >> the same file, thus requiring the same configuration, or needing the > >> same declaration of a smart host ). > >> > >> Wouldn't it be better to send everything to /var/log if no mta are > >> found ? > >> ( ie, do something like that : > >> http://fedoraproject.org/wiki/Features/NoMTA ). We have the proper > >> version of cronie ( I hope ), so what prevent us ? > >> > > msec already sends everything also to /var/log, which was disregarded > > in last discussion because normal users don't look there and it > > slowly adds up on diskspace. > > Normal users also do not read local mailboxes and the mailboxes slowly > add up on diskspace.
And log files can be rotated, unlike mailboxes. Maybe the log are not rotated on the other hand, so that's a bug that could/should be fixed, if that's the case. What we could do is either : - install nothing by default - install postfix/dma/whatever by a drakwizard if/when user give a email for msec alert. Maybe another solution would be to make msec smarter and not spew 100 lines per hours. I am all for msec but as I say often, this look like a Homer Simpson invention. WDYT ? -- Michael Scherer
