User account expiration notification

Dear Concern,

Is there any built in tool/application/command available for Linux user account expiration notification purpose.

With Best Regards,
Md. Abdullah-Al Kauser

In /etc/login.defs Uncomment or create a line:

PASS_WARN_AGE n

n is the numbers of days to issue an expiry warning to users. The default is 0, the day of expiry.

Dear Concern,

It will generate a warning message while ssh using particular user. Is there any command/tool/application to generate e-mail without writing script for account expiration notification?

With Best Regards,
Kauser