I am updating a system from postfix-2.10.1 to postfix-3.5.9 (and RHEL7->RHEL9),
and it seems my forward_path is no longer getting processed correctly.
postconf shows the correct forward_path:
root@rt2:/etc/postfix-auth> postconf -c /etc/postfix-auth/ forward_path
forward_path = $home/.forward${recipient_delimiter}${extension}+auth,
$home/.forward${recipient_delimiter}${extension},
$home/.forward${recipient_delimiter}auth, $home/.forward
but the local agent chooses $home/.forward, even though a previous file
($home/.forward${recipient_delimiter}auth) exists:
root@rt2:/etc/postfix-auth> ls -lF /home/rt/.forward*
-rw-r--r-- 1 rt rt 69 Nov 21 2012 /home/rt/.forward
-rw-r--r-- 1 rt rt 51 Nov 21 2012 /home/rt/.forward+auth
My recipient_delimiter is identical on both systems:
root@rt2:/etc/postfix-auth> postconf -c /etc/postfix-auth recipient_delimiter
recipient_delimiter = +
The maillog (with local -v -v -v -v) seems to see the correct path value:
rt2 postfix-auth/local[145348]: dict_lookup: forward_path =
$home/.forward${recipient_delimiter}${extension}+auth,
$home/.forward${recipient_delimiter}${extension},
$home/.forward${recipient_delimiter}auth, $home/.forward
But does not seem to use it:
Oct 26 12:13:50 rt2 postfix-auth/local[145348]: deliver_recipient[1]: local
recip [email protected] exten deliver exp_from
Oct 26 12:13:50 rt2 postfix-auth/local[145348]: been_here: recipient 1
[email protected]: 0
Oct 26 12:13:50 rt2 postfix-auth/local[145348]: level: 0
Oct 26 12:13:50 rt2 postfix-auth/local[145348]: path: active/9/959647372
Oct 26 12:13:50 rt2 postfix-auth/local[145348]: fp: 0x56113f5170e0
Oct 26 12:13:50 rt2 postfix-auth/local[145348]: queue_name: active
Oct 26 12:13:50 rt2 postfix-auth/local[145348]: queue_id: 959647372
Oct 26 12:13:50 rt2 postfix-auth/local[145348]: offset: 688
Oct 26 12:13:50 rt2 postfix-auth/local[145348]: sender: [email protected]
Oct 26 12:13:50 rt2 postfix-auth/local[145348]: recipient: [email protected]
Oct 26 12:13:50 rt2 postfix-auth/local[145348]: domain: rt2.rice.edu
Oct 26 12:13:50 rt2 postfix-auth/local[145348]: local: rt
Oct 26 12:13:50 rt2 postfix-auth/local[145348]: user: rt
Oct 26 12:13:50 rt2 postfix-auth/local[145348]: extension: null
Oct 26 12:13:50 rt2 postfix-auth/local[145348]: unmatched: null
Oct 26 12:13:50 rt2 postfix-auth/local[145348]: owner: null
Oct 26 12:13:50 rt2 postfix-auth/local[145348]: delivered: [email protected]
Oct 26 12:13:50 rt2 postfix-auth/local[145348]: relay: local
Oct 26 12:13:50 rt2 postfix-auth/local[145348]: exp_type: 0
Oct 26 12:13:50 rt2 postfix-auth/local[145348]: exp_from: null
Oct 26 12:13:50 rt2 postfix-auth/local[145348]: why: buffer
Oct 26 12:13:50 rt2 postfix-auth/local[145348]: deliver_switch[2]: local rt
recip [email protected] exten deliver [email protected] exp_from
Oct 26 12:13:50 rt2 postfix-auth/local[145348]: deliver_alias[3]: local rt
recip [email protected] exten deliver [email protected] exp_from
Oct 26 12:13:50 rt2 postfix-auth/local[145348]: deliver_alias:
hash:/etc/postfix/aliases(0,lock|no_regsub|no_proxy|no_unauth|fold_fix|utf8_request):
rt not found
Oct 26 12:13:50 rt2 postfix-auth/local[145348]: deliver_alias:
hash:/etc/aliases(0,lock|no_regsub|no_proxy|no_unauth|fold_fix|utf8_request):
rt not found
Oct 26 12:13:50 rt2 postfix-auth/local[145348]: deliver_alias:
hash:/etc/postfix/dspam_aliases(0,lock|no_regsub|no_proxy|no_unauth|fold_fix|utf8_request):
rt not found
Oct 26 12:13:50 rt2 postfix-auth/local[145348]: deliver_dotforward[3]: local
rt recip [email protected] exten deliver [email protected] exp_from
Oct 26 12:13:50 rt2 postfix-auth/local[145348]: deliver_dotforward[3]: set
user_attr: rt
Oct 26 12:13:50 rt2 postfix-auth/local[145348]: mac_parse:
$home/.forward${recipient_delimiter}${extension}+auth
Oct 26 12:13:50 rt2 postfix-auth/local[145348]: mac_parse:
$home/.forward${recipient_delimiter}${extension}
Oct 26 12:13:50 rt2 postfix-auth/local[145348]: mac_parse:
$home/.forward${recipient_delimiter}auth
Oct 26 12:13:50 rt2 postfix-auth/local[145348]: mac_parse: $home/.forward
Oct 26 12:13:50 rt2 postfix-auth/local[145348]: set_eugid: euid 378 egid 378
Oct 26 12:13:50 rt2 postfix-auth/local[145348]: set_eugid: euid 89 egid 89
Oct 26 12:13:50 rt2 postfix-auth/local[145348]: deliver_dotforward: path
/home/rt/.forward expand_status 0 look_status 0
Oct 26 12:13:50 rt2 postfix-auth/local[145348]: been_here: forward
/home/rt/.forward: 0
Oct 26 12:13:50 rt2 postfix-auth/local[145348]: set_eugid: euid 378 egid 378
Oct 26 12:13:50 rt2 postfix-auth/local[145348]: set_eugid: euid 89 egid 89
Oct 26 12:13:50 rt2 postfix-auth/local[145348]: deliver_token_stream:
unknown_stream
Oct 26 12:13:50 rt2 postfix-auth/local[145348]: vstream_buf_get_ready: fd 21
got 69
Oct 26 12:13:50 rt2 postfix-auth/local[145348]: deliver_token_string: "|
/usr/bin/dspam --user rt --deliver=innocent"?
Oct 26 12:13:50 rt2 postfix-auth/local[145348]: deliver_token: |
/usr/bin/dspam --user rt --deliver=innocent
On the old system, it works as expected:
postfix-auth/local[112991]: deliver_dotforward[3]: local rt recip
[email protected] exten deliver [email protected] exp_from
postfix-auth/local[112991]: deliver_dotforward[3]: set user_attr: rt
postfix-auth/local[112991]: set_eugid: euid 378 egid 378
postfix-auth/local[112991]: set_eugid: euid 89 egid 89
postfix-auth/local[112991]: deliver_dotforward: path /home/rt/.forward+auth
expand_status 0 look_status 0
postfix-auth/local[112991]: been_here: forward /home/rt/.forward+auth: 0
postfix-auth/local[112991]: set_eugid: euid 378 egid 378
postfix-auth/local[112991]: set_eugid: euid 89 egid 89
postfix-auth/local[112991]: deliver_token_stream: unknown_stream
postfix-auth/local[112991]: deliver_token_string: "| /usr/bin/procmail -Y -f
-"?
selinux is disabled.
forward_expansion_filter is identical on both systems:
postconf -c /etc/postfix-auth forward_expansion_filter
forward_expansion_filter =
1234567890!@%-_=+:,./abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
Any ideas what I can check next?
Tod A. Sandman
Sr. Systems Administrator
Office of Information Technology
Rice University
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]