[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#653053: ldap2zone: Sending email every hour fill up the mail spool



[Julien Cristau]
> Can't you just drop the else branch, and leave the failure case
> (i.e.  the one where there's something to say) alone?

Sure, I could.  But it would no longer match the new behaviour in
0.2-2.  And it made more sense to me to bring it in line with the new
version than to only change the success branch.

And personally I believe it is better to use syslog than email to
report such failures.  It is stored locally on the machine, an is the
first place I look on a server to see if something is wrong. syslog
messages are also distributed to central syslog collectors for sites
where syslog is used to track system wide status.  Email on the other
hand do not leave any error messages behind on the server to track
down the problem for those that did not receieve the email.
-- 
Petter Reinholdtsen


Reply to: