Subject: pkg/25985: Bogus patches for postfix-current
To: None <>
From: Christian Corti <>
List: pkgsrc-bugs
Date: 06/21/2004 10:53:50
>Number:         25985
>Category:       pkg
>Synopsis:       Bogus patches for postfix-current
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 21 08:54:00 UTC 2004
>Originator:     Christian Corti
>Release:        postfix-current
System: any
Architecture: any
Machine: any
Trying to find the problem why sender_canonical_maps don't work with postfix
on NetBSD I've found the following discrepancies in the postfix-current/patches

patch-ae:+#define VAR_CANON_ENV_RCPT    "canonicalize_envelope_recipient"
patch-ae:+#define DEF_CANON_ENV_RCPT    1
patch-ae:+extern bool var_canon_env_rcpt;
patch-bd:+bool    var_canon_env_rcpt;           /* canonicalize envelope recipient */
patch-be:+          if (var_canon_env_rcpt) {

As you can see there are two #defines which are never used and a variable
that never gets initialized. The original postfix sources don't even know
them, so I think something is definitely missing here. I don't know why
patch-be is necessery for NetBSD as it does not make any sense to me!

Look at the postfix sources and at the postfix-current patches in pkgsrc.