Re: [Exim] Virtual domains

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Denis Chapligin
Dátum:  
Címzett: exim-users
Tárgy: Re: [Exim] Virtual domains
Hi

Okay, i read FAQ and examples and maked this changes into exim.conf:
######################################################################
#                      TRANSPORTS CONFIGURATION                      #
######################################################################
#                       ORDER DOES NOT MATTER                        #
#     Only one appropriate transport is called for each delivery.    #
######################################################################


virtual_delivery:
    driver = appendfile
    group = mail
    user = ${lookup{$local_part}lsearch{/etc/exim/${domain}.passwd}{$value}{fail}}
    mode = 0660
    file = /var/spool/mail/${domain}/${local_part}


######################################################################
#                      ROUTERS CONFIGURATION                         #
#            Specifies how remote addresses are handled              #
######################################################################
#                          ORDER DOES MATTER                         #
#  A remote address is passed to each in turn until it is accepted.  #
######################################################################


virtual_router:
    driver=domainlist
    transport=virtual_delivery
    route_file=/etc/exim/virtual.domains
    search_type=lsearch



But, if the user doesn't exists exim don't sends error message:( What can i do with this?

On Thu, Nov 18, 1999 at 05:16:44PM +0000, Marc Haber wrote:
> On Thu, 18 Nov 1999 17:34:50 +0200, you wrote:
> >How can i make next thing with Exim: i have some virtual domains on machine
> >(@aaa @bbb @ccc) and i want that all mail that comes to user@aaa stores
> >at /var/spool/mail/aaa/user. And for other@aaa at /var/spool/mail/aaa/other,
> >for boss@bbb at /var/spool/mail/bbb/boss
>
> You might want to see the Exim FAQ and configuration sample C009. This
> might do what you intend to do.
>
> Greetings
> Marc
>
> --
> -------------------------------------- !! No courtesy copies, please !! -----
> Marc Haber          |   " Questions are the         | Mailadresse im Header
> Karlsruhe, Germany  |     Beginning of Wisdom "     | Fon: *49 721 966 32 15
> Nordisch by Nature  | Lt. Worf, TNG "Rightful Heir" | Fax: *49 721 966 31 29

>
>
> --
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##


--

                Denis Chapligin