I now use the bcc plugin but the powers at be don't seem to like the way I do it. However, This script works.
Change the echo "bcc all admin@localhost" to the address you want mail to go to. Create a user called archive and send mail there.
This script creates ignore mail to and from files. Add appropriate people to those files. If admin is remote, add admin to both files.
--------Start---------------------
#!/bin/sh
# This script inserts the bcc plugin into qpsmtpd on SME 7
# Create the template directory
mkdir -p /etc/e-smith/templates-custom/var/service/qpsmtpd/config/plugins
mkdir -p /etc/e-smith/templates-custom/var/service/qpsmtpd/config/bcc_ignore_rcptto
mkdir -p /etc/e-smith/templates-custom/var/service/qpsmtpd/config/bcc_ignore_mailfrom
# Create the Template files
echo "bcc all admin@localhost" > /etc/e-smith/templates-custom/var/service/qpsmtpd/config/plugins/13bcc
echo "admin" > /etc/e-smith/templates-custom/var/service/qpsmtpd/config/bcc_ignore_rcptto/template-begin
echo "admin" > /etc/e-smith/templates-custom/var/service/qpsmtpd/config/bcc_ignore_mailfrom/template-begin
# Add the bcc config files to email-update event. The plugins file already exists.
touch /etc/e-smith/events/email-update/templates2expand/var/service/qpsmtpd/config/bcc_ignore_mailfrom
touch /etc/e-smith/events/email-update/templates2expand/var/service/qpsmtpd/config/bcc_ignore_rcptto
# Trigger an email update and restart qpsmptd
/sbin/e-smith/signal-event email-update
/sbin/service qpsmtpd restart
-------stop---------------------
flame away