[linux-support] postfix virtual

Markus Wernig wernigm at lugbe.ch
Fri Nov 17 12:57:19 CET 2006


Gaudenz Steinlin wrote:
> Zudem würde ich nun mal nach logging optionen ausschau halten. Es sieht
> mir so aus, als ob die map zwar nun richtig ist, aber im von dir
> gewünschten fall nicht konsultiert wird. Du kannst ja ev. auch mal dein
> main.cf posten.
Hallo & danke für deine Geduld!
Hier mal der Auszug aus dem Log, wo die Entscheidung übers address 
rewriting fällt. Was ich nicht ganz verstehe, ist warum der cleanup 
verlangt, dass die Adresse canonisiert wird und nicht weiteres Umschreiben.

Nov 17 10:20:48 myhost postfix/cleanup[10702]: envelope R any at other.com
Nov 17 10:20:48 myhost postfix/cleanup[10702]: send attr request = rewrite
Nov 17 10:20:48 myhost postfix/cleanup[10702]: send attr rule = canonicalize
Nov 17 10:20:48 myhost postfix/cleanup[10702]: send attr address = 
any at other.com
Nov 17 10:20:48 myhost postfix/cleanup[10702]: private/rewrite socket: 
wanted attribute: address
Nov 17 10:20:48 myhost postfix/trivial-rewrite[12972]: watchdog_stop: 
0x8073c90
Nov 17 10:20:48 myhost postfix/trivial-rewrite[12972]: watchdog_start: 
0x8073c90
Nov 17 10:20:48 myhost postfix/trivial-rewrite[12972]: rewrite socket: 
wanted attribute: request
Nov 17 10:20:48 myhost postfix/trivial-rewrite[12972]: input attribute 
name: request
Nov 17 10:20:48 myhost postfix/trivial-rewrite[12972]: input attribute 
value: rewrite
Nov 17 10:20:48 myhost postfix/trivial-rewrite[12972]: rewrite socket: 
wanted attribute: rule
Nov 17 10:20:48 myhost postfix/trivial-rewrite[12972]: input attribute 
name: rule
Nov 17 10:20:48 myhost postfix/trivial-rewrite[12972]: input attribute 
value: canonicalize
Nov 17 10:20:48 myhost postfix/trivial-rewrite[12972]: rewrite socket: 
wanted attribute: address
Nov 17 10:20:48 myhost postfix/trivial-rewrite[12972]: input attribute 
name: address
Nov 17 10:20:48 myhost postfix/trivial-rewrite[12972]: input attribute 
value: any at other.com
Nov 17 10:20:48 myhost postfix/trivial-rewrite[12972]: rewrite socket: 
wanted attribute: (list terminator)
Nov 17 10:20:48 myhost postfix/trivial-rewrite[12972]: input attribute 
name: (end)
Nov 17 10:20:48 myhost postfix/trivial-rewrite[12972]: `canonicalize' 
`any at other.com' -> `any at other.com'
Nov 17 10:20:48 myhost postfix/trivial-rewrite[12972]: send attr address 
= any at other.com
Nov 17 10:20:48 myhost postfix/cleanup[10702]: input attribute name: address
Nov 17 10:20:48 myhost postfix/cleanup[10702]: input attribute value: 
any at other.com
Nov 17 10:20:48 myhost postfix/cleanup[10702]: private/rewrite socket: 
wanted attribute: (list terminator)
Nov 17 10:20:48 myhost postfix/cleanup[10702]: input attribute name: (end)
Nov 17 10:20:48 myhost postfix/cleanup[10702]: rewrite_clnt: 
canonicalize: any at other.com -> any at other.com


Und hier die vom Default abweichenden Einträge in main.cf:

virtual_alias_map = pcre:/etc/postfix/virtual
virtual_alias_domains = pcre:/etc/postfix/virtualdomains
mydomain = d.com
mydestination = localhost
relayhost =
myorigin=$mydomain

Ist übrigens ein Uralt-Postfix (1.1.12)

lg /markus


More information about the Linux-support mailing list