On 27 Aug 2020, at 22:04, Dominic Lai wrote:
Hi,
Recently I have created a postfix driven (CentOS 8)
mail server with dovecot-lda as local delivery
agent. We have a few number of users who make use
of vacation program (when they are on leave) so
that upon activation, a .forward file is made
under the home directory as:
\username, "|/usr/bin/vacation username"
In the past, sendmail played well when handling
"\username". But it comes to my attention that
under postfix, it does not seem to honor
backslash username which results in mail looping
under the postfix server itself.
I have taken a look at some historical discussion,
and some were talking about \username is not
honored under aliases setting. I would like to know
if \username is also not honored under users'
.forward files. Thanks.
No "historical discussion" is as definitive as the current Postfix
aliases man page:
Lines in per-user .forward files have the same syntax as the
right-hand
side of aliases(5) entries.
Nowhere in that page is any sort of backslash syntax described, so you
can count on no such syntax working inany Postfix aliases or .forward
file.
--
Bill Cole
b...@scconsult.com or billc...@apache.org
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Not For Hire (currently)