On Tuesday 04 July 2006 03:29, M.A. took the opportunity to write:
> I have Exim 3.36 and a lot of domains.
> - dont want local delivery
>
>     i mean [EMAIL PROTECTED] MUST give user-unknown
>
>     and thats my problem. exim always delivery mail, if the recipient conta
> ins a local-domain and any local-user. [EMAIL PROTECTED] must give error, bec
> ause joe a local-user AND/OR joe is in alias for domain2.com.
>
> deliver must based on alias not on local user

> Thanks for any advice.

1. Upgrade to Exim 4. Exim 3 is really ancient by now.

2. Adding a domains condition to the local_delivery director should suffice. 
E.g.

  domains = $primary_hostname : localhost

This is because the user names in the alias files are by default qualified 
with $primary_hostname, although that can be changed.

-- 
Magnus Holmgren        [EMAIL PROTECTED]
                       (No Cc of list mail needed, thanks)

Attachment: pgp6lA0Ng1YBI.pgp
Description: PGP signature

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to