On Fri, 24 Sep 2004, Mark Crispin wrote:
> On Fri, 24 Sep 2004, Frode Nordahl wrote:
> > I'd like tmail to check if a account is expired before attempting to deliver
> > mail to it.
>
> tmail does not currently do this. I feel that the harm to a site which
> does not want it done is too great, so I don't think that I will make this
> change.
>
> Account expiration is generally a point at which user access to an account
> is shut off, and is not necessary the same as account termination.
Yes, that is exactly the point. If the user no longer has login rights
no sense in storing mail they cannot read but you want to keep the account
entry so any '.forward' file they may have will work.
We have a rather "migratory" user base and so have a two phase removal
policy (deactivate and then later delete).
I agree that you would not want to make this behaivor the default but why
not make it an additional command line option?
> Since you have tmail sources, you are welcome to make the change in your
> own copy of tmail.
At our site we've already done this. ;)
> > Is it really necessary for tmail to make such verbose logs under normal
> > operation? :-)
>
> The level of tmail logging is controlled by the syslog configuration file
> for the LOG_MAIL facility. Most of the tmail "babble" type messages are
> at LOG_INFO level (which is also the level at which sendmail "babbles"),
> with warnings and errors at LOG_WARNING or LOG_ERR.
>
> -- Mark --
If it's just "babble" why not make it "LOG_DEBUG"? We keep LOG_INFO mail
entries for transaction records, use LOG_DEBUG for debugging/monitoring.
I have two sets of syslog entries, '*.info' for transaction logging,
'*.debug' for debugging/monitoring and have a cron job that trims
the 'debug' logs.
--
Dave Funk University of Iowa
<dbfunk (at) engineering.uiowa.edu> College of Engineering
319/335-5751 FAX: 319/384-0549 1256 Seamans Center
Sys_admin/Postmaster/cell_admin Iowa City, IA 52242-1527
#include <std_disclaimer.h>
Better is not better, 'standard' is better. B{