Question : how can I see the qmail logs for at least a week?

I am using this command:

"tail usr/local/psa/var/log/maillog"

With this I am only able to see  the current day. Is there a better command that I can use to see all or 7 days back.

Also is there a way I can search all logs for a particular email address?

Thanks!

Answer : how can I see the qmail logs for at least a week?

please see

http://qmail.jms1.net/logfiles.shtml
http://iain.cx/src/logrotate/

to grep then try

grep -i [email protected] /usr/local/psa/var/log/maillog
Random Solutions  
 
programming4us programming4us