Re: [Exim] default delivery from aliases file

Góra strony
Delete this message
Reply to this message
Autor: Kevin Reed
Data:  
Dla: exim-users
Temat: Re: [Exim] default delivery from aliases file
Told to us by Edmund GRIMLEY EVANS (edmundo@???)
on Tue, Jan 22, 2002 at 10:01:51PM +0000

> Various bits of on-line documentation led me to believe that I can put
> a line like "*: edmund" in /etc/aliases to get all otherwise
> undelivered mail sent to me, but it doesn't work, even when I added
> the '*' in exim.conf:
>
> system_aliases:
> driver = aliasfile
> file_transport = address_file
> pipe_transport = address_pipe
> file = /etc/aliases
> search_type = lsearch*
>
> What's the best way of achieving this?


If I did that with my domains, I'd never get to read my mail due to
the flood...

I think you are looking for:

errors_copy
Type: string list, expanded
Default: unset

Setting this option causes Exim to send bcc copies of delivery
failure reports that it generates to other addresses. The value is a
colon-separated list of items; each item consists of a pattern and an
address list, separated by white space. If the pattern matches the
recipient of the delivery error report, the message is copied to the
addresses on the list. The items are scanned in order, and once a
matching one is found, no further items are examined. For example:

errors_copy = spqr@mydomain   postmaster@mydomain :\
              rqps@mydomain   mailmaster@mydomain,\
                              postmaster@mydomain


Source: Section 11 Exim online manual...