Stephen Atkins wrote:
> Hello everyone.  We've been running a Postfix/MySQL virtual domain setup
> for a few years now.  A bunch of our users have mobile email now and
> would like to receive email on their fancy new devices.  While this can
> be done with a simple alias its not quite what we need.  Some of our
> users only want to receive said email when they are not in the office.
> Usually this will be between 1800 and 0600 or so.  Does any one know of
> a solution that might handle this?  We would like it to be handled
> automatically as much as possible as I don't have time to be turning
> this on and off every day.
>
> Thanks for any advice.
>   

Since you're using MySQL already, why not just extend the table with a
few fields and change the Query?

Queries can include IFs as documented in MySQL and simply check for
column values versus CURTIME().

Exact implementation is a bit beyond this list, but I'd be happy to give
details in private.

Just remember to spam and virus check along with validity checks before
forwarding outside your domain.

Brian

Reply via email to