Re: [exim] To unseen, or not unseen, that is the question...…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Ian P. Christian
Date:  
À: exim-users
Sujet: Re: [exim] To unseen, or not unseen, that is the question....
Ian P. Christian wrote:
> I've had this problem before, and the way I solved it last time I was
> really unhappy with, so I though I'd ask the collective to see if anyone
> can come up with something smart for me. I have this in my config:
>

I worked around this issue as follows:


MYSQL_UNSEEN_FORWARD  = SELECT f.forward_to FROM mail_forward f JOIN 
mail_mailbox m \
                        ON (f.localpart = m.localpart AND f.domain = 
m.domain) \
                        WHERE f.domain LIKE '${quote_mysql:$domain}' \
                        AND f.localpart LIKE '${quote_mysql:$local_part}';



mysql_virtual_unseen_forward:
driver = redirect
allow_defer
allow_fail
retry_use_local_part
data = ${lookup mysql {MYSQL_UNSEEN_FORWARD}}
unseen

mysql_virtual_mailbox:
...

mysql_virtual_forward:
...


It seems like quite an ugly hacky work around to me, but... it works.
I'm still interested in feedback though :)