Rejected emails

Is there any database to store the rejected emails on the server so I can check any rejected emails and causes? Details to access it is appreciated.

Thanks,

Ray