Re: [maildropl] question about virtual accounts and mail filtering...
Brought to you by:
mrsam
From: Joseph W, B. <br...@te...> - 2002-08-22 13:26:46
|
> include will only include a set of statements in the format, include > "/path/to/my/stuff" but I am not sure if you can include something that > is created on the fly. You could try something like: > '/path/to/my/perl/script > /path/to/my/mailfilter/perltemp' > include "/path/to/my/mailfilter/perltemp" > > But I have a nasty feeling that this would send the message to the > script and exit. That's kind of what I figured. I resorted to modifying a .mailfilter in the user directory, and then changed my maildroprc file to read: exception { include "/var/spool/mail/$DEFAULT/.mailfilter" } Then, I modified the web app that the users can use to generate their filters to write out a new .mailfilter when they are finished editing. |