Re: [Exim] Auto reply to email to people who have left

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Michael Stevens
Dátum:  
Címzett: exim-users
Tárgy: Re: [Exim] Auto reply to email to people who have left
On Sat, Jun 21, 2036 at 10:07:38PM +0000, listman@??? wrote:
> Hi,
>
> I've thought it would be a good idea to send back some sort of standard reply
> when someone leaves the company, perhaps offering another email address to
> try, as well as forwarding the mail on to someone within the company.
>
> What I'd ideally like to do is to create a file with a list of local user
> names that don't exist anymore, and have this searched before the /etc/passwd
> file for local deliveries. If the name is in there, a reply should be sent,
> and the message forwarded to a different user (ideally different for each
> person).
> Has anyone done anything like this?


We use this sort of syntax in our local alias files:

missingperson: :fail: why they are no longer available

Which causes delivery to fail, with an explanatory message. It works
well for us.