Anton Yuzhaninov: > >> 20080411 > >> > >> Bugfix (introduced Postfix 2.3): the queue manager would > >> initialize missing client logging attributes (from xforward) > >> with real client attributes. Fix: enable this backwards > >> compatibility feature only with queue files that don't > >> contain logging attributes. Problem reported by Liviu Daia. > >> Files *qmgr/qmgr_message.c. > >> > >> One possible fix is to have the Postfix SMTP server write all client > >> attributes to the queue file, including the attributes that are > >> known to have the value "unknown". > > > > It is not that simple, so below is a workaround for Postfix 2.5 > > and 2.6 that avoids the trouble with empty client attribute values. > > > > The final solution may need some restructuring of the way the client > > attributes are handled; that is too much change for Postfix 2.5. > > > > Thanks. With this patch it works as in previous versions: > CLIENT_HOSTNAME=unknown
By the way, the "CLIENT_HOSTNAME=" result still exists in Postfix releases 2.3 and 2.4. If above fix turns out to be clean enough then I may also back-port it. Wietse