View previous topic :: View next topic |
Author |
Message |
baboo Senior Member
Joined: 04 Sep 2007 Posts: 676
|
Posted: Thu Apr 07, 2011 9:27 pm Post subject: email |
|
|
Is there a log besides /var/log/maillog, that shows all emails sent by server? If not, could you point me to a resource of how to config?
thanks |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Thu Apr 07, 2011 9:51 pm Post subject: |
|
|
maillog shows everything.
Does "grep sent /var/log/maillog" covers you?
If yes, you can set a cronjob every hour or day e.g.
Code: | grep sent /var/log/maillog > /root/$(date +"%m-%d-%Y-%H:%M:%S")mails sent.log |
If not we will find a better solution.
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
baboo Senior Member
Joined: 04 Sep 2007 Posts: 676
|
Posted: Sat Apr 09, 2011 9:21 pm Post subject: |
|
|
thanks for the help. Will see how it goes. |
|
Back to top |
|
|