[Exim] Autoresponder except for some addresses

Pàgina inicial
Delete this message
Reply to this message
Autor: Robert Westendorp
Data:  
A: exim-users
Assumpte: [Exim] Autoresponder except for some addresses
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 =3D autoreply
        file =3D /usr/local/exim/autoreply/${local_part}.away
        user =3D nobody
        from =3D ${original_local_part}@${domain}
        to =3D $h_from:
        subject =3D "Autorespond Message - re:  $h_subject"
        once =3D /usr/local/exim/autorepeat
        once_repeat=3D30s


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

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