[Exim] virtual domains and cyrus imap

Top Page
Delete this message
Reply to this message
Author: Ian Warburton
Date:  
To: 'Exim-Users \(E-mail\)'
Subject: [Exim] virtual domains and cyrus imap
I am trying to provide a system where that will allow anyone@??? to
go into an IMAP mailfolder. my current system works with exim/cyrus/squirrel
mail and will allow mail to be sent and delivered at the localhost and from
any host on the local network 192.168.0.0/24 the system operates correctly
for local mail however I am having difficulty getting it to work for other
domains.

my config and other info is as follows.

I am using exim version 4.12

I have entered the following into the routers section of the
../exim/configure file.
#Aliasing router
 virtual:
    driver = redirect
    domains = dsearch;/etc/mail/virtual
    data = ${lookup{$local_part}lsearch{/etc/mail/virtual/$domain}}
    no_more


# the local delivery transport is

local_delivery:
        driver = pipe
        command = "/usr/cyrus/bin/deliver ${local_part}"
        return_path_add
        return_output
        message_prefix =
        user = cyrus





in /etc/mail/virtual i have a file called ian.org containing

ian: ian_org
ruth: ian_org

There is an imap account for ian_org that receives local mail, into which I
would like all the mail sent to ian.org

my mainlog says:-
2003-02-27 13:24:36 18oO1c-000528-00 remote host address is the local host:
ian.org
2003-02-27 13:24:36 18oO1c-000528-00 == ian_org@??? R=dnslookup defer
(-1): remote host address is the local host
2003-02-27 13:24:36 18oO1c-000528-00 Frozen

There is an entry in my local dns for ian.org ie localhost pings ian.org :-
PING ian.org (192.168.0.2) from 192.168.0.2 : 56(84) bytes of data.
64 bytes from irax.irax.office (192.168.0.2): icmp_seq=1 ttl=64 time=0.129
ms
ie it knows that ian.org resolves to localhost.