Re: [exim] Auto Responder Problem

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Cyborg
Date:  
À: exim-users
Sujet: Re: [exim] Auto Responder Problem
Am 13.12.2012 07:53, schrieb Shaun Glass - Business Connexion:
> Good Day All,
>
> We have an issue at the moment, especially since it is the holiday's, where a certain "Out of Office" message is being relayed from incorrect addresses.
>
> The reasoning behind this is more than likely because of the email addresses concerned. An example :
>
> info@???
> info@???
> info@???
> ....
>
> Only one of the info@ addresses has an out of office, but when mailing any of them, you get the Out of Office message but from the original intended recipient.
>
> Some of the configs :
>
> mysql_autorespond:
> driver = accept
> condition = ${if eq{} {${lookup mysql{SELECT on_vacation \
>                 FROM Viz.MailAddresses WHERE on_vacation = '1' \
>             AND localpart='$local_part' }}}{0}{1}}

>


No wonder .. -> localpart='$local_part' <- you only check on the part
before the @ ..

Change it to '${quote_mysql:${local_part}@${domain}}' and of course,
you have to alter the database content to match the alternation.

"To clarify something from the above, local_part is the info before the @ in the email addresses. Is there any quick solution or better condition matching ?"


Not with that database model.

You need the domainname to make sure, you hit the right one.




Marius