On Mon, Jun 25, 2007, Aleksander <[EMAIL PROTECTED]> said: > Aaron Stone wrote: > >> I like the idea of adding a dbmail.conf option to turn the messages off in >> the case of a bum email, and only alert if the script itself is broken >> (which can happen, if, say, you wrote a web sieve client that inserts >> directly into the dbmail_sievescripts table, bypassing the checks in >> ManageSieve and dbmail-sievecmd). > > A bit off topic. > > How about adding a --check option to dbmail-sievecmd for starters, so > one could simply check the script for syntax errors without inserting it > etc. It's not a perfect solution for web stuff (you described exactly > what we're doing), but it's a start. A dbmail/sieve module for PHP and > others would be cool too.
Good idea on adding a check-only flag. There are plenty of ManageSieve clients written in PHP, and they must validate through ManageSieve in order to upload the script. I don't suggest that anybody writes a direct table interface. My only point is that it's possible to have a garbage script in the database, so the code has to be able to handle that. Aaron _______________________________________________ DBmail mailing list [email protected] https://mailman.fastxs.nl/mailman/listinfo/dbmail
