I am running the complete courier-mta suite, using maildrop as my local mail
delivery agent.
I am having some trouble getting a maildrop filter rule to function properly
for anomy.
ANOMY=/usr/local/anomy/
xfilter "/usr/local/anomy/sanitizer.pl /usr/local/anomy/sanitizer.cfg"
I have tested mildrop already and was able to succesfuly do the following:
xfilter "/usr/local/bin/blackhole"
My goal is to just use anomy to unconditionaly remove all attachments from
messages. Since a script later parses messages in the Maildir/new directory
to a postgresql database. My goal is to remove ALL attachments before
parsing the messages to the database.
I know that anomy works properly because I have tested the script from the
command line (along with the config).
mailq#/usr/local/anomy/bin/sanitizer.pl /usr/local/anomy/sanitizer.cfg <
/var/aff/user/Maildir/new/message-id
Any help, or suggestions would be greatly appreciated. Also if someone has
a better suggestion as to how to remove ALL attachments unconditionaly, it
would be greatly appreciated.
Gerardo A. Gregory