[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Exim



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:
> *: suporte@z10.com.br
> 
> But ALL mails are delivery to suporte@z10.com.br!!
> 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 root@mail.yahoo.com

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.
-- 
huiac@camtech.net.au
john@huiac.apana.org.au
http://www.mdt.net.au/~john Debian Linux admin & support:technical services



Reply to: