email log management
I need to trace/track email activity in my ubuntu server, normal i use this command tail -f /var/log/mail/mail.log, more or less. But the problem i am facing is that it take a long time to go through the entire log as my server recieves thousands of emails per day. is the a code that i can use to search email in the log, for instance need to find email@example.com in the mail log.
Secondly; if there is an email that is blocking others on the queue how can it be remove or forced to go the mailbox. or to view its contents in order to decide whether to remove it or not.
Had a problem that are said not arrival or that are delivered as late as a day and sometime 6hours.
thanks for your assistance.
I have never seen an email blocking the delivery of others.
Emails that cannot be delivered, which means either issues
on the local or remote system, will get put in the queue for
future retries. They won't hinder the delivery of other email.