Paul J Stevens wrote:
Since dbmail's autoreply functionality is less than useful, I decided
to whip up a script to mimic the vacation functionality without having
to provide posix users as required by vacation itself.
what do you think?
I think the script looks very nice. But here is a question. Since 2.0
is not exactly out yet, and one of the main developers is now saying the
auto-reply feature is "less than useful", should auto-replies just be
dropped from the software entirely in favor of an add-on like this
vacation.py script? And if not, then shouldn't the database structure
at least be brought up to speed to support this kind of functionality
natively?
I see three possibilities for how to implement this in the database:
1) alter table auto_replies add column flags set ('active') not null
default '' after user_idnr;
2) alter table auto_replies add column active_flag tinyint unsigned not
null default 0 after user_idnr;
3) alter table users add column auto_reply_flag bigint unsigned not
null default 0 after maxmail_size;
alter table auto_replies drop column user_idnr;
The last option, my favorite, would limit the number of auto-replies for
any mailbox to one, which seems wise, and would allow multiple users to
have the same "standard" auto-reply.
--
Will Berry
Co-founder, Second Brain website hosting
http://www.secondbrainhosting.com/