MailScanner Email Archive
Posted on 2005-03-22
There is one option in Mailscanner called mailarchive which looks like
# Mail Archiving and Monitoring
# Space-separated list of any combination of
# 1. email addresses to which mail should be forwarded,
# 2. directory names where you want mail to be stored,
# 3. file names (they must already exist!) to which mail will be appended
# in "mbox" format suitable for most Unix mail systems.
# If you give this option a ruleset, you can control exactly whose mail
# is archived or forwarded. If you do this, beware of the legal implications
# as this could be deemed to be illegal interception unless the police have
# asked you to do this.
#Archive Mail = /var/spool/MailScanner/archive
Archive Mail =/backup/mailarchive/emails
Right now as you can see I am storing all emails but thats not I want , I wanted to store specific emails like
my email address is
firstname.lastname@example.org so any thing send or receive by email@example.com should be saved in /backup/mailarchive/abc-mailaccount/emails
I know there is a way but there isnt much information, please help me in this matter.