On 2010-09-12 17:41, Richard Chapman wrote:
Thanks again Jasper. I have enabled local -v debug logging - and I
think we can see in more detail where the problem arises - but I still
can't figure it out.
I have included what I think is the relevant bit... Here it is:
[snip]
Sep 12 23:01:00 C5 postfix/local[28073]: deliver_switch[2]: local rchapman
reciprchap...@c5.aardvark.com.au exten deliverrchap...@c5.aardvark.com.au
exp_from
Sep 12 23:01:00 C5 postfix/local[28073]: deliver_alias[3]: local rchapman
reciprchap...@c5.aardvark.com.au exten deliverrchap...@c5.aardvark.com.au
exp_from
Sep 12 23:01:00 C5 postfix/local[28073]: deliver_alias:
hash:/etc/aliases(0,lock|no_regsub|no_proxy|no_unauth|fold_fix): rchapman =
richard
Sep 12 23:01:00 C5 postfix/local[28073]: deliver_alias[3]: reset user_attr
Sep 12 23:01:00 C5 postfix/local[28073]: maps_find: aliases: owner-rchapman:
not found
Sep 12 23:01:00 C5 postfix/local[28073]: deliver_alias[3]: reset owner attr
Sep 12 23:01:00 C5 postfix/local[28073]: deliver_token_string: richard
Sep 12 23:01:00 C5 postfix/local[28073]: deliver_token: richard
Sep 12 23:01:00 C5 postfix/local[28073]: deliver_resolve_tree[4]: local
rchapman reciprchap...@c5.aardvark.com.au exten
deliverrchap...@c5.aardvark.com.au exp_from rchapman
Sep 12 23:01:00 C5 postfix/local[28073]: tok822_rewrite: input: richard
Sep 12 23:01:00 C5 postfix/local[28073]: connect to subsystem private/rewrite
Sep 12 23:01:00 C5 postfix/local[28073]: send attr request = rewrite
Sep 12 23:01:00 C5 postfix/local[28073]: send attr rule = local
Sep 12 23:01:00 C5 postfix/local[28073]: send attr address = richard
Sep 12 23:01:00 C5 postfix/local[28073]: private/rewrite socket: wanted
attribute: flags
Sep 12 23:01:00 C5 postfix/local[28073]: input attribute name: flags
Sep 12 23:01:00 C5 postfix/local[28073]: input attribute value: 0
Sep 12 23:01:00 C5 postfix/local[28073]: private/rewrite socket: wanted
attribute: address
Sep 12 23:01:00 C5 postfix/local[28073]: input attribute name: address
Sep 12 23:01:00 C5 postfix/local[28073]: input attribute
value:rich...@aardvark.com.au
Sep 12 23:01:00 C5 postfix/local[28073]: private/rewrite socket: wanted
attribute: (list terminator)
Sep 12 23:01:00 C5 postfix/local[28073]: input attribute name: (end)
Sep 12 23:01:00 C5 postfix/local[28073]: rewrite_clnt: local: richard ->
rich...@aardvark.com.au
Sep 12 23:01:00 C5 postfix/local[28073]: tok822_rewrite:
result:rich...@aardvark.com.au
[snip]
I just realised (thanks to the verbose logs) that when you specify an
unqualified address in aliases, myorigin gets added by trivial-rewrite;
use a qualified address like rich...@c5.aardvark.com.au or change myorigin.