On Thu, Aug 10, 2000 at 03:51:10PM -0300, Alberto Pereira wrote
> I see the question Q0432 but, my problem is in Q0401. But my versionof Exim 
> is .2.05-2
> I put this on the exim.conf:
> 
> system_aliases:
> driver = aliasfile
> domains = z10.com.br
> file = /etc/aliases
> search_type = lsearch*
> 
> and put this on de final line of aliasfile:
> *: [EMAIL PROTECTED]
> 
> But ALL mails are delivery to [EMAIL PROTECTED]
> I want to delivery only the unknowuser.
> 
> Can someone help me?
> 

OK.  First, take out the wildcard line from /etc/aliases (if you
haven't already), and delete the "domains = z10.com.br" line
from your system_aliases director, and reload the exim
configuration with the command
# /etc/init.d/exim reload

so that normal delivery to "real" users works again.

Check that it's basically doing the right thing for both local
and remote addresses with a command like
# exim -bt root [EMAIL PROTECTED]

Then, add something like this to the end of the DIRECTORS
section of /etv/exim.conf, just before the "end" statement:

unknown_user:
  driver=smartuser
  new_address="admin"

Reload the exim configuration with
# /etc/init.d/exim reload

and then try it out with something like
# exim -bt nonesuch


John P.
-- 
[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.mdt.net.au/~john Debian Linux admin & support:technical services

  • Exim Alberto Pereira
    • John Pearson

Reply via email to