[exim] exim 3.36 and a freaky virtual alias problem

Startseite
Nachricht löschen
Nachricht beantworten
Autor: M.A.
Datum:  
To: exim-users
Betreff: [exim] exim 3.36 and a freaky virtual alias problem



Hi!



I've read all of the faqs, help and sample what i founded but i cant solve
my problem.

I have Exim 3.36 and a lot of domains.



I would like do the following:



- every domain has their own alias file

    file = /etc/exim/$domain.aliases




- alias look like:

    alias1: real-system-user


    alias2: real-system-userN




- store message in maildir format in users home directory

    ...


    directory = ${home}/Maildir/


    maildir_format


    ...




- dont want joker email (lsearch*, *: real-system-userN)



- dont want local delivery

    i mean real-system-user@??? MUST give user-unknown


    and thats my problem. exim always delivery mail, if the recipient conta
ins a local-domain and any local-user. joe@??? must give error, bec
ause joe a local-user AND/OR joe is in alias for domain2.com.


deliver must based on alias not on local user



- a little spice: amavis



Here is my test config:

[...]

Transport:

local_delivery:

driver = appendfile

no_from_hack

mode = 0660

mode_fail_narrower = false

envelope_to_add

return_path_add

delivery_date_add

directory = ${home}/Maildir/

maildir_format

create_directory

check_string =

[...]



Directors (in order):

virtual_aliases:

driver = aliasfile

file_transport = address_file

pipe_transport = address_pipe

domains = localhost:and:more:domain

file = /etc/exim/$domain.aliases

search_type = lsearch



localuser:

driver = localuser

transport = local_delivery

[...]



Thanks for any advice.

Melcsi





_________________________________________

Hírkereső.hu - Mindig friss hírek, toplisták, sztárpletykák. A
legfontosabb 70 hírforrás közel 2.500 cikke naponta!Ha egy lapon akar
sz mindent áttekinteni KLIKK IDE! - http://www.hirkereso.hu/