dear folks,
well, I read the part on "domain message filters" (Part 12) in the current docs for
the
current version of XMail (0.70 that is). Somehow I can't get it running (on Linux):
I've got a bogus domain, "bogus" and an even more bogus user "foo@bogus". Now all
I want is, that every time foo gets mail some script should do something interesting. I
set up the following:
* XMail v0.70 on Slackware Linux i386 platform
* MailRoot: /var/MailRoot
* Filter file: /var/MailRoot/filters/foo@bogus
contains the following line:
"/var/MailRoot/bin/fooscript"<TAB>"@@FILE"
(the file contains no leading/trailing whitespace and is terminated in good old UNIX
style.
* Filter script: /var/MailRoot/bin/fooscript
permissions: 755
contents:
#! /bin/sh
touch /var/MailRoot/bin/foofile
--file already ended ;-)
* PROBLEM: foofile never appears. I can flood foo@bogus with messages but nothing
ever happens. foo@bogus gets all the mail and anything else is also working normally,
except for my "filter"
WHY ? Any hints anybody ? This time I read all the docs ;-) seems I missed
something important :-(
thanks in advance,
Goesta
--
Goesta Smekal - EDV Dienstleistungen
Wien 23, Rodaunerstr. 49/6/4
(mobil) Tel (06991) 971 57 34 (Fax nach Absprache)
Meinen PGP �ffentlichen Schl�ssel finden Sie unter:
http://www.keyserver.net/en/ , Suchbegriff "EDV-Smekal"