Hi all,
I've been listening on this list for a while, but now have my own 
question to ask.

I've set up a shell script to archive incoming mail, similar to 
XArchive but for the Linux platform.  I've been able to confirm that 
the script does what its supposed to do when given arguments outside 
of XMail, but I haven't gotten it to work from within XMail yet. Here 
are the details:

I'm running Xmail 1.12. The shell script is written in bash, and is 
located in the XMail binaries folder at /var/MailRoot/bin/xarchive. 
I've never used the filters before and decided to run the shell from 
a custom domain command (which I have already used successfully with 
smtp and smtprelay).   I edited my domain.org.tab file and added the 
following line as the first command:

"external"[TAB]"/var/MailRoot/bin/xarchive"[TAB]"/XmailArchive"[TAB]"@@TMPFILE"[TAB]"@@FROM"[TAB]"@@RCPT"

I can email a copy of the bash file to those who are interested (it's 
about 60 lines long, and I don't want to unnecessarily post it to 
everyone).

Is there something wrong with the way I'm trying to do this?  I'm 
willing to use a normal filter, but I would need a pointer on how to 
do this.  As far as I can tell, it's not running any part of the 
script whatsoever.

Lastly, this is a little late in the process, but am I re-inventing 
the wheel here? I didn't see an XArchive equivalent for Linux, but 
would be interested in any solutions others have used for archiving 
email.  Once I have a working solution, I will post it to the list, 
for all to (hopefully) enjoy.

Thanks in advance for any help,
Toby

-- 
Toby Reiter                          mailto:[EMAIL PROTECTED]
Breezing Internet Communications     http://www.breezing.com
1106 West Main St                    phone:434.295.2050
Charlottesville, VA 22903            fax:603.843.6931
-
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