postfix-users

Re: local and trivial-rewrite

Subject: Re: local and trivial-rewrite
From: Michal Soltys <nozo AT ziu DOT info>
To: Wietse Venema <wietse AT porcupine DOT org>
Date: Thu, 09 Aug 2007 00:55:20 +0200
Wietse Venema wrote:

A domain-less username becomes user@$myorigin. This is documented.

        Wietse

Yes - both address_rewrite_readme, virtual(5), etc. - are perfectly clear about it, but looking at them, it seemed like only cleanup (by means of trivial-rewrite) would do this (rewrite addresses to standard form). I assumed that once mail get to a delivery daemon - trivial-rewrite wouldn't be called again. In case of local delivery - it would also include its run through sendmail-like aliases database (and if alias with @domain part was found, forwarded mail would go again through cleanup(8), that would do the job of address mangling). Well, I was wrong :)

Anyway, wouldn't it be good to add, under overview's ascii art, something like :

trivial-
rewrite(8)
  ^|
  |v
local(8) -> File, ....


with remark in local(8) (just for extra clarity) that it also uses trivial-rewrite, analogously to cleanup(8), for the purpose of alias processing ?


<Prev in Thread] Current Thread [Next in Thread>