Machiel van Veen wrote: > Hi list, > > I am trying to setup Exim 4.x on Opensuse 10.3 to accept mail from local > users > and allow them to send email to anyone trough a smarthost. > > I tell Exim what local is and tell it to allow local users to send email: > > domainlist local_domains = my.domain.local > domainlist relay_to_domains = > hostlist relay_from_hosts = 127.0.0.1 > > Then I tell it to send all email which is not send to the local domain to the > smarthost: > > smarthost: > driver = manualroute > domains = ! +local_domains > transport = remote_smtp > route_list = "xxx.xxx.xxx.xxx" > > But when I send a email Exim insists on local delivery... > > 2007-11-15 11:54:46 1IscMw-0003AU-B7 <= [EMAIL PROTECTED] U=root P=local > S=550 > 2007-11-15 11:54:46 1IscMw-0003AU-B7 ** [EMAIL PROTECTED]: Unknown user > 2007-11-15 11:54:46 1IscMw-0003AW-Jb <= <> R=1IscMw-0003AU-B7 U=mail P=local > S=1415 > 2007-11-15 11:54:47 1IscMw-0003AU-B7 Completed > > Could anyone tell me which directive causes this behavior? I would > think "domains = ! +local_domains" should do the trick, but apprantly there > is more to it. > > Many thanks for any help on this in advance, please see bellow for my full > configuration. >
Before going any further... Is that copy of your config verbatim? If so, what happens when you put one or more empty lines between the clauses? Bill -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
