Hello,

I'd like tmail to check if a account is expired before attempting to deliver mail to it.

It's a shame that there has not been developed a standard way to check this on Unix.

But since the world is as it is, how about adding a checkacct() function to the osdep ckp_*.c files, which could do pam_acct_mgmt on PAM systems, check pw->pw_expire on systems with that, sp->sp_expire on systems with that etc.

I'm in no possition to make this work on all platforms supported by uw-imap, but I could contribute to a few.

Is this the way to go, or should this be solved a different way?

PS:
Is it really necessary for tmail to make such verbose logs under normal operation? :-)


Mvh,
Frode Nordahl

--
------------------------------------------------------------------
For information about this mailing list, and its archives, see: http://www.washington.edu/imap/c-client-list.html
------------------------------------------------------------------

Reply via email to