>> Dear All, >> >> Is there a way to log the incoming, outgoing of the emails in a specific >> file and rotate it? >> >> thanks >> >> >> >> > Multilog already does this. If you followed the toaster install > instructions, see http://cr.yp.to/daemontools/multilog.html
> Unless your meaning logging the actual messages themselves and not just > where they are going. In which case you > probably need to look at the tap patches or something similar. Yes. I know that the logs are in /var/log/qmail/smtp/current and /var/log/qmail/pop3/current but they only log for only a certain time. I will like if I can retain them and put them in logrotate like those in /var/log/secure etc. Thanks