Re: [exim] Exim configuration

Top Page
Delete this message
Reply to this message
Author: Odhiambo G. Washington
Date:  
To: itabox
CC: exim-users
Subject: Re: [exim] Exim configuration
* Timur Nasyrov <itabox@???> [20050304 16:15]: wrote:
> Hello exim-users,
>
> I have a FreeBSD box running Exim-4.43 as mail server for my company.
> There are several filtering tools running on my mail gateway. All
> users are using POP3 client to read their e-mails.
>
> Now I need to set up Lotus Domino server inside our LAN and I'll have
> to move several users into Lotus. I'd like to leave my SMTP gateway
> running Exim for mail filtering and use Domino server inside LAN for
> final mail delivery and documents exchange. Moreover several users
> must have their POP3 accounts on the mail gateway.
>
> How can I implement this configuration? I've read the "Smart host"
> section of Exim's documentation and still have no idea. It's not so
> clear for me how to set up selective transport, which would be able to
> route mail for user1, user2 ... user5 to the internal Domino server
> and to deliver mail for user6 ... userN into local mailboxes.


Tony Finch has given you an idea of how you can make the Exim server
deliver mail to users on the Domino server. However, I see that you
are also going to retain several accounts on the mail gateway, so
a simple suggestion that you'd add to what Tony said, so that you
do NOT forward mail for those users to the domino server is that you
decide which list of users is larger than the other, and use that as
a condition to decide which mail to send to the domino server.

So in the Tony Finch router:

to_lotus:
  driver      = manualroute
  domains     = +local_domains
  local_parts = +users_on_lotus
  route_data  = host.running.lotus
  transport   = smtp


the local_parts directive might turn out to be like

local_parts = !+some_other_userlist




        cheers
       - wash 
+----------------------------------+-----------------------------------------+
Odhiambo Washington                    . WANANCHI ONLINE LTD (Nairobi, KE)  |
wash _at_ wananchi _ dot _ com        . 1ere Etage, Loita Hse, Loita St.,  |
GSM: (+254) 722 743 223            . # 10286, 00100 NAIROBI             |
GSM: (+254) 733 744 121            . (+254) 020 313 985 - 9             |
+---------------------------------+------------------------------------------+
"Oh My God! They killed init! You Bastards!"  
                         --from a /. post