1 #################################
2 # The routers that handle the actual local delivery of mail. These routers all
3 # work just on the localhost "domain", so any previous routers that want to
4 # have mail delivered locally should redirect to username@localhost and set
5 # redirect_router to "local_delivery". These routers are not used directly on
6 # incoming messages, the first router guarantees this.
8 # Currently, there is only a single router that uses dovecot's deliver program
9 # to deliver the mail, but others could be (re)added when required.
10 #################################
13 # Dummy noop router, that ensures that these routers are never called directly
14 # on an incoming message and enforces that they only be called when a previous
15 # router explicitely sets redirect_router to local_delivery.
17 debug_print = "R: local_delivery for $local_part@$domain"
21 cannot_route_message = "Internal error"
23 # Dummy noop router, that can be used by other routers for the value of
24 # redirect_router or pass_router, without being dependent on the (order of)
25 # actual delivery routers below.
27 debug_print = "R: local_delivery for $local_part@$domain"
31 # This router uses dovecot_deliver for delivery
33 debug_print = "R: dovecot_deliver for $local_part@$domain"
38 transport = dovecot_deliver
39 # If we get here, some previous router redirected to a non-existing user.
40 # That should not happen!
41 cannot_route_message = Unknown user: This should not happen
43 # vim: set sts=2 expandtab sw=2 ai: