-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[EMAIL PROTECTED] wrote:
> Hello,
> I set up exim on my server.  It managed a couple of "normal user", but I
> used to communicate many other different addresses (ex: [EMAIL PROTECTED], 
> joke 
> @dom, [EMAIL PROTECTED] etc .... ) because I set up my old system to redirect 
> unknown user to a specific mailbox.
> So: My question is it possible to redirect all unrouteable mail to a 
> specific mailbox ?
> Thanks in advance  ;-) 
> Marc

This is a little more than a simple example, but it's what I use on my
servers. The dsearch could easily be replaced with a lsearch of a file, I just
found this easier.
In this example, if a file exists that matches the domain (ie example.com)
then it redirects any mail that made it to this rotuer to
[EMAIL PROTECTED], which you can direct anywhere you want in the alias file
or just setup a local user called catchall to accept it.

# This is the last router.
catchall:
  driver = redirect
  domains = dsearch;/etc/exim/catchalladdress
  data = [EMAIL PROTECTED]
  cannot_route_message = Unknown user

Ted.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCjUNfHTFM6KkFI5oRApvNAJ4iyPiFiLB/34vhqb7cppX+FQRNNwCgn74e
PjE7a/aDdT7wXKmV+D/F6F0=
=eoYv
-----END 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