Hey guys,

I am in a situation where I need to archive all our the emails, inbound 
and outbound. 
I have this setup right now, but it is not catching the email sent "in 
house", because anything sent on the email server to any domain on the 
email server itself will not hit the filters.out.tab file.  I'm 
wondering if there is a way to make the internal domains hit this file 
or if there is another file that the internal emails hit before being 
delivered?  I need to determine this to populate the senders "sent" 
directory.  As of now it catches everything comming in and all things 
going outside this facility.  I'm running XMail 1.22 on RedHat Linux 
9.0.  Thanks in advance for any help on this!

The following are my files that i currently have setup.


filters.out.tab
"*"     "*"     "0.0.0.0/0"     "0.0.0.0/0"     "backupsent.tab"

backupsent.tab
"/var/MailRoot/filters/archivesent.sh"  "@@FILE"        "@@FROM"        
"@@RCVD"

archivesent.sh
#!/bin/sh
mkdir /mnt/email/current/$2
mkdir /mnt/email/current/$2/sent
cp $1 /mnt/email/current/$2/sent/

---------------------------------------
filters.in.tab
"*"     "*"     "0.0.0.0/0"     "0.0.0.0/0"     "backup.tab"

backup.tab
"/var/MailRoot/filters/archive.sh"      "@@FILE"        "@@RCPT"

archive.sh
#!/bin/sh
mkdir /mnt/email/current/$2
mkdir /mnt/email/current/$2/inbox
cp $1 /mnt/email/current/$2/inbox/

-- 
Chad Fleenor
Pikeville Medical Center
Clinical Applications Analyst
606-218-4931

-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]

Reply via email to