Hi
I'm using postfix with procmail as mailbox_command.
extact from postfix/master.cf
+-------------------------------------------+
procmail unix - n n - - pipe
flags=R user=nobody argv=/usr/bin/procmail -t -m /etc/procmailrc
${sender} ${recipient}
+-------------------------------------------+
extract procmailrc
+-------------------------------------------+
:0c:
/var/spool/mail/.backup
+-------------------------------------------+
Using this entry i'm doing a backup of all incoming email.
What i want now is to obtain a disctinct backup file for each user.
To better explain:
my actual /var/spool/mail situation
.backup (global incoming email backup)
root (mail spool for root)
user1 (mail spool for user1)
user2 (mail spool for user1)
....
userN (mail spool for userN)
the should be situation of /var/spool/mail
root (mail spool for root)
root.backup (root incoming email backup)
user1 (mail spool for user1)
user1.backup (user1 incoming email backup)
user2 (mail spool for user1)
user2.backup (user2 incoming email backup)
....
etc
I' have tried with
+-------------------------------------------+
:0c:
/var/spool/mail/$USER.backup
+-------------------------------------------+
But doesn't work.
How can I do that?
(note: I want keep all the backups in the same directory.)
Thanks in advance for any help
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail