Re: [Exim] default delivery from aliases file

Etusivu
Poista viesti
Vastaa
Lähettäjä: Odhiambo G. Washington
Päiväys:  
Vastaanottaja: exim-users
Kopio: Kevin Reed
Aihe: Re: [Exim] default delivery from aliases file
* Kevin Reed <news@???> [20020123 04:22]: wrote:
> 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

>


Kevin,

Can a expansions possibly be done on this one?
Something like

errors_copy = *@$original_domain postmaster@$original_domain

Just curious what that will do ;-)



-Wash

S y s t e m s A d m i n.

--
Odhiambo Washington  <wash@???>    "The box said 'Requires
Wananchi Online Ltd.  www.wananchi.com      Windows 95, NT, or better,'
Tel: 254 2 313985-9   Fax: 254 2 313922     so I installed FreeBSD."
GSM: 254 72 743 223   GSM: 254 733 744 121  This sig is McQ!  :-)


++
Binary, adj.:
    Possessing the ability to have friends of both sexes.