[Exim] Autoresponder except to some address...

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Robert Westendorp
Fecha:  
A: exim-users
Asunto: [Exim] Autoresponder except to some address...
Hello,

I'm wondering how I can setup an autoresponder to send to everyone except a particular list of people. I've tried to use sender_reject_recpients, but that doesn't work.

For one thing you don't want the user with the autoresponder to send mail to themselves and start a nasty loop, so I put in the once and once_repeat as a temporary measure, but let's say I want to list particular people who I don't want to get an autoreply.. such as ${local_part}@${domain} .. who wants to get there own autoreply.

Any ideas?

This is what I have setup:

Transport:
vacation:
        driver = autoreply
        file = /usr/local/exim/autoreply/${local_part}.away
        user = nobody
        from = ${original_local_part}@${domain}
        to = $h_from:
        subject = "Autorespond Message - re:  $h_subject"
        once = /usr/local/exim/autorepeat
        once_repeat=30s


Director:
vacation_director:
driver=smartuser
require_files = /usr/local/exim/autoreply/${local_part}.away
transport = vacation
unseen

--------------------------------------------------
Robert Westendorp