|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Wietse Venema (wietse_at_porcupine.org)
Date: Fri Aug 09 2002 - 18:25:31 CDT
This changes the following text:
Aug 9 16:19:42 hostname postfix/qmgr[1094]: 5BEF128C71:
to=<user
domain.tld>, relay=none, delay=0, status=bounced
(unknown user: "user
domain.tld")
into:
Aug 9 16:19:42 hostname postfix/qmgr[1094]: 5BEF128C71:
to=<user
domain.tld>, relay=none, delay=0, status=bounced
(unknown user)
However, this would be inconsistent with the logging from other
Postfix delivery agents which also report: unknown user:
"user
domain.tld".
Wietse
Bjoern A. Zeeb:
> Hi,
>
> this simple patch removes duplicate information from qmgr logging.
> Address of recipient is already logged at the begging of the line after
> queue_id. See qmgr_bounce_recipient.c
>
>
> --- postfix-1.1.11-20020719/src/qmgr/qmgr_message.c.orig Thu Aug 8 22:58:53 2002
> +++ postfix-1.1.11-20020719/src/qmgr/qmgr_message.c Thu Aug 8 22:59:22 2002
> 
-581,8 +581,7 
> junk = maps_find(qmgr_virtual, domain, 0);
> myfree(domain);
> if (junk) {
> - qmgr_bounce_recipient(message, recipient,
> - "unknown user: \"%s\"", recipient->address);
> + qmgr_bounce_recipient(message, recipient, "unknown user");
> continue;
> }
> }
>
> --
> Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT
> 56 69 73 69 74 http://patch.zabbadoz.net/
>
> -
> To unsubscribe, send mail to majordomo
postfix.org with content
> (not subject): unsubscribe postfix-users
>
>
-
To unsubscribe, send mail to majordomo
postfix.org with content
(not subject): unsubscribe postfix-users
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]