Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: anarchos on February 18, 2004, 05:46:07 PM
-
I am needing to send a copy of all mail going through the server to an archive account. Anyone know of a way to do this?
ie. mail to anyone@domain.com gets delivered to the right account, and also copied to archive@domain.com.
I've done this before with qmail-scanner, but not sure how that would work with SME 6 and it's implementation of spamassassin, etc.
Any ideas?
-
anarchos,
There may be other ways, but can't you do this:
create the account 'archive'
edit each user to 'both deliver locally and forward' assigning the archive@domain.com as the forward address.
Craig
-
This functionality is built into qmail but may require a switch change and recompile. Search the forums for queue_extra which is the name of the switch (if I remember correctly) used to enable the archive feature.
-
Thanks guys, I'm just going to go with the 'both deliver locally and forward' option as there aren't many users on this system.
-
Or why not use 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
5) Send some e-mails and you should find messages delivered to intended recipients plus archival copies in the 'maillog' inbox.
The above is found here @ http://myezserver.com/phpBB2/viewtopic.php?t=492
I use this to backup/archive my emails
HTH
Byte