Re: [exim] OT - setting vacations

Top Page
Delete this message
Reply to this message
Author: jonathan vanasco
Date:  
To: dermot
CC: Exim-users
Subject: Re: [exim] OT - setting vacations

Write a perl/php web script

have it make a config file, and auth it off the same mechanism as your
system uses for imap/smtp

what i do is a little different too...

i have this line in my router for virtual accounts:
shadow_condition = ${if exists
{/usr/exim/vacation/$local_part@$domain}{1}{0}}
shadow_transport = virtuals_vacation

and this router:
   virtuals_vacation:
   driver        = autoreply
   to            = $sender_address
   from          = $local_part@$domain
   subject       = 'Out of Office' Auto-Reply ( $local_part@$domain )
   file          = /usr/exim/vacation/$local_part@$domain/body.txt
   log           = /usr/exim/vacation/$local_part@$domain/log.txt
   once          = /usr/exim/vacation/$local_part@$domain/once.dbm
   once_repeat   = 5d


basically, it checks if there's a directory on the filesystem in a
vacation folder that matches the accepted devliery address. if it
does, then it uses the files in that folder to configure the vacation
message and log it.





On Feb 15, 2005, at 7:34 AM, Dermot Paikkos wrote:

> This is a bit off-topic so apologies in advance.
>
> exim 4.43 on slackware 9.1, Qpopper version 4.0.5, MMDF mailboxes, 50
> users.
>
> All the users run a version of MSWin on their desktop. Not one-man-
> jack has a shell account but they want to be able to turn on their
> own vacation messages (can't be a bad idea).
>
> The way I do this at present (on a v3x system) is to have a system
> filter in the directors section of the config that resolves the alias
> and then looks for a filter file with that name in a specific
> directoy. Ala:
> central_filter:
> driver = forwardfile
> file = /usr/var/adm/exim/filters/${local_part}
> no_check_local_user
> no_verify
> filter
> allow_system_actions
> user = mail
> reply_transport = address_reply
>
> And I have to create the files for the user.
>
> Does anyone have any suggested ways to allow users to turn-on
> vacations from a windows desktop?
> Thanx.
> Dp.
>
>
> --
> ## List details at http://www.exim.org/mailman/listinfo/exim-users
> Exim details at http://www.exim.org/ ##