[exim] How can I force non-local delivery for one user?

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Declan Malone
Date:  
À: exim-users
Sujet: [exim] How can I force non-local delivery for one user?
Hello,

I've been reading the exim docs trying to find a solution for this
problem. Perhaps someone can help me.

We're running exim with local delivery to unix-style mailboxes with all
other mail being sent to a smarthost. We run fetchmail every 20 minutes
to download from the same smarthost, and qpopper to interface with
users' mail clients. It's all fairly standard stuff.

However, we also have one user that is out of the office fairly
regularly (call him Bob), and he needs to be able to access his email no
matter where he is. The solution we've been using so far is quite simple:

* never run fetchmail for bob (all mail stored on smarthost)

  * bob's mail client receives from both servers, but
    sends via smarthost


  * when bob is out of the office, everyone changes their smtp mail
    config to talk directly to the smarthost


I'd like to get away from the situation where everyone has to keep
changing their mail configurations. What I want to do with exim is set
it up so that whenever there's mail for bob, it gets sent directly to
the smarthost instead of being delivered locally.

My exim version is 3.36 running on a Debian box.

Thanks,
dec