Hello,
I once suggestet to put a "sendmail-like" configuration in the
distribution to help people who come from "sendmail".
the answer in this list was that "we" are not sendmail und we donot want
to put a sendmail-like configuration because exim does not work in this
way.
however, i noticed that this could help many people dealing with the list,
so i try to put such a configuration in the list
(i do not use such a configuration, so its untested):
=====================================================
1.) put a system-like alias at the first piont of directors:
system_aliases:
driver = aliasfile
domains =! lsearch;/etc/mail/domains
file = /etc/aliases
search_type = lsearch
file_transport = address_file
pipe_transport = address_pipe
2.) and at the end:
virtual:
domains = lsearch;/etc/mail/domains
driver = aliasfile
include_domain
file = /etc/mail/virtusertable
search_type = lsearch*@
expand = true
file_transport = address_file
pipe_transport = address_pipe
no_more
the "/etc/mail/virtusertable" is somthing like you need.
the "/etc/mail/domains" is for your virtual domains.
robert.
On Mon, 16 Oct 2000, Philip Hazel wrote:
> On Mon, 16 Oct 2000, Andrew D wrote:
>
> > > user1@???: whatever@???
> > > user2@???: someone@???
> > > *@domainA.com: whocares@???
> > > user1@???: anyone@???
> > > user2@???: boss@???
> > > *@domainB.com: anything@???
>
> RTFM concerning (a) the aliasfile director (specifically the
> include_domain option) and (b) partial lookups and defaults for lookups
> in chapter 6. Handling a file like that is standard using those
> techniques.
>
> --
> Philip Hazel University of Cambridge Computing Service,
> ph10@??? Cambridge, England. Phone: +44 1223 334714.
>
>
> --
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>
---
di. robert rotman inode.graz
phone -> ++43-(0)316 813141 ++43-(0)316 818600/15 <- fax
rotman@??? http://www.graz.inode.at/
--
while (!sleep) { $sheep++ }