> Try without soft bounce (and without EX_TEMPFAIL).
Postfix will NOT forward the message when delivery fails with soft
bounce or temporary exit status, because that would result in
repeated mail forwarding.
~/.forward
[email protected]
"|exit 75"
Oct 24 09:26:28 tail postfix/local[2137]: 3E7F3547B1F:
to=<[email protected]>, relay=local, delay=0.23,
delays=0.11/0.06/0/0.06, dsn=4.3.0, status=deferred (temporary
failure)
Postfix will forward when mailbox delivery fails permanently
(and when mailbox delivery succeeds but you knew that already.
~/.forward
[email protected]
"|exit 73"
Oct 24 09:27:10 tail postfix/local[2137]: 0A8E8547B2C:
to=<[email protected]>, relay=local, delay=0.02,
delays=0.01/0/0/0.01, dsn=5.2.0, status=bounced (can't create
user output file)
Oct 24 09:27:10 tail postfix/local[2137]: 0A8E8547B2C:
to=<[email protected]>, relay=local, delay=0.02,
delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (forwarded as
0BD75547B09)
Status codes 75 and 73 are defined in /usr/include/sysexits.h.
Wietse