Re: [maildropl] question about virtual accounts and mail filtering...
Brought to you by:
mrsam
From: Sean R. <se...@tc...> - 2002-08-25 11:02:35
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 At Thu, 22 Aug 2002 08:26:41 -0500 (CDT), Joseph W, Breu wrote: > > > > 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. > This could be something to share with others as I have seen this query before. Maybe we need a contrib section in the maildrop tar file. Sean -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) Comment: Use GPG for Secure Mail iD8DBQE9aLkuHMnSWn2nApQRAgxuAKC3Md0BTRf1iMYWMtvVbmu9+VaE+wCfS8lt RieYEq9jQouh81EU9YKjRKc= =L72Y -----END PGP SIGNATURE----- |