Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: mudra on July 08, 2005, 07:29:58 PM

Title: Backup all mails incoming and outgoing - Version 6.5 rc1
Post by: mudra on July 08, 2005, 07:29:58 PM
Hope someone can help me. I would like to back up all my mails incoming and outgoing. I was able to do this before I updated to 6.5 rc1 and thought I could use the same process as found in many posts in this forum; BUT the
Quote
Follow this....

At your own risk

1) From your closest mirror, download Charlie Brady's mailfront-0.86-1es2.i386.rpm contrib rpm. Example:

http://www.ibiblio.org/pub/linux/distributions/e-smith/contrib/CharlieBrady/RPMS/i386/mailfront-0.86-1es2.i386.rpm

2) Use the server-manager to add a user named 'maillog'

3) Add the rpm:
# rpm -Uvh mailfront-0.86-1es2.i386.rpm

4) Add the environment variable:
# echo maillog > /var/service/smtpfront-qmail/env/LOG_RECIPIENT

All mail incoming and outgoing is backed up in the maillog directory.

If this is not what you want anymore you can remove by

# rm /var/service/smtpfront-qmail/env/LOG_RECIPIENT
# service smtpfront-qmail restart

Credit to Charlie Brady


Doesn't work on 6.5 as there is no /var/service/smtpfront-qmail/env/ directory !!

Can anyone point me in the correct direction ?

Is this now built in somehow ?

TIA,

Mudra
Title: Backup all mails incoming and outgoing - Version 6.5 rc1
Post by: mrjhb3 on July 09, 2005, 05:17:40 AM
Somehow this got broken in 6.5.  I have tried to look into it, but I am not smart enough at this time to know what is wrong.  I looked at the rpm changelogs and it looks like the function is still present in 6.5, but it just doesn't work.  I even built a 6.01 box and set up the maillog which worked, then upgraded to 6.5rc1 and that funtion broke.  I was going to send a bug report, but I am not sure how many people are working on 6.5 bugs now that the CentOS port is going pretty well.  I have been trying to look at the 6.5 bugs, but it's a slow process for me.

JB
Title: Backup all mails incoming and outgoing - Version 6.5 rc1
Post by: kruhm on July 10, 2005, 02:21:07 PM
i think you can do this with a procmail recipe, at least for incoming. this maybe temporary until you find a better solution.
Title: Backup all mails incoming and outgoing - Version 6.5 rc1
Post by: mudra on July 11, 2005, 10:37:11 AM
Thanks for trying to help me out.

I can forward the incoming emails to maillog, but how would I capture outgoing emails ?

Can I install 6.01 on a software raid, that is the only reason that I have moved to 6.5 for extra security.

TIA,

Mudra