At 10:34 -0800 3/6/03, Davide Libenzi wrote: >On Thu, 6 Mar 2003, Toby Reiter wrote: > >> >> 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" > >There is not @@TMPFILE for filters. Only @@FILE, and look, you do not have >to remove it because it is the *good* copy.
Davide, Thanks for your response. However: 1) I am not using a filter, I am using it from within a custom domain file. in custdomains. The XMail documentation list @@TMPFILE as one of the available parameters. Is this correct? 2) I still don't get any result, even after changing the custom domain line to use the @@FILE variable. Does XMail work with Bash scripts? Is there something I have to be aware of when using them? Is there anyway to debug this? 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]
