bcc for email archiving

2009-03-07 Thread KLaM Postmaster
I am currently using always_bcc to archive email for the group I work
with, I am not sure that we need an archive, but that not my call.
The bcc option is attached to in the cleanup service in master.cf

cleanup unixn-n-0cleanup
..
  -o always_bcc=archi...@example.com


two questions.
is there a better way of creating an archive?
is there a way of using plus addressing in order to break the archive
into manageable chunks, something like archives+...@example.com?

TIA
JLA




Re: bcc for email archiving

2009-03-07 Thread Jose Ildefonso Camargo Tolosa
Hi!

I use to use assp along with postfix, and I do the archiving
configuration on ASSP, so that I can have separate SPAM and NOTSPAM
archives.

Anyway, I use Maildir format, and run a script that deletes messages
older that 15 days, but I believe that a similar script can be used
for moving/compressing old messages.  I just use the find command to
do the searching, I use the -atime command, because messages that are
read on the archive are given a longer live time, but if you just
care about when the file was modified, you could use -mtime.

I hope this helps,

Ildefonso Camargo

On Sun, Mar 8, 2009 at 10:09 AM, KLaM Postmaster postmas...@klam.ca wrote:
 I am currently using always_bcc to archive email for the group I work
 with, I am not sure that we need an archive, but that not my call.
 The bcc option is attached to in the cleanup service in master.cf

 cleanup unix    n    -    n    -    0    cleanup
 ..
  -o always_bcc=archi...@example.com


 two questions.
 is there a better way of creating an archive?
 is there a way of using plus addressing in order to break the archive
 into manageable chunks, something like archives+...@example.com?

 TIA
 JLA





Re: bcc for email archiving

2009-03-07 Thread Victor Duchovni
On Sat, Mar 07, 2009 at 09:39:16AM -0500, KLaM Postmaster wrote:

 I am currently using always_bcc to archive email for the group I work
 with, I am not sure that we need an archive, but that not my call.
 The bcc option is attached to in the cleanup service in master.cf
 
 cleanup unixn-n-0cleanup
 ..
   -o always_bcc=archi...@example.com
 
 
 two questions.
 is there a better way of creating an archive?

Yes, your archive does not record envelope recipients, only headers.
Suggestions using recipient_bcc_maps are in the archives of this list.

 is there a way of using plus addressing in order to break the archive
 into manageable chunks, something like archives+...@example.com?

You should be using a maildir. If you want multiple maildirs, you can
use $process_id split deliveries over multiple maildir directories.

archive unix ... virtual -o
-o virtual_mailbox_base=/var/spool/archive
-o virtual_mailbox_maps=static:$process_id/

then route mail for the archive user to the archive transport.

-- 
Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
mailto:majord...@postfix.org?body=unsubscribe%20postfix-users

If my response solves your problem, the best way to thank me is to not
send an it worked, thanks follow-up. If you must respond, please put
It worked, thanks in the Subject so I can delete these quickly.