Re: .forward, vacation, and bashslash username support

2020-08-27 Thread Dominic Lai
Yes, thanks for your suggestion. I tried it and it works. I kept on thinking that it would work if I just set: mydestination = postfix-server.mydomain.com $myhostname would work (I have set myhostname=postfix-server.mydomain.com). It turns out that I also need to set myorigin, and also need

Re: .forward, vacation, and bashslash username support

2020-08-27 Thread Viktor Dukhovni
On Fri, Aug 28, 2020 at 03:42:20AM +, Dominic Lai wrote: > Aug 28 10:11:36 postfix-server postfix/local[3915542]: 2D8F33028D88: > to=, relay=local, > delay=0.06, delays=0.05/0/0/0.01, dsn=5.4.6, status=bounced (mail > forwarding loop for usern...@postfix-server.mydomain.com) > > When I

Re: .forward, vacation, and bashslash username support

2020-08-27 Thread Dominic Lai
Hi, On 28/8/2020 11:25 am, Viktor Dukhovni wrote: > On Fri, Aug 28, 2020 at 02:04:36AM +, Dominic Lai wrote: >> 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: >> >>

Re: .forward, vacation, and bashslash username support

2020-08-27 Thread Viktor Dukhovni
On Thu, Aug 27, 2020 at 11:31:29PM -0400, Bill Cole wrote: > 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

Re: .forward, vacation, and bashslash username support

2020-08-27 Thread Bill Cole
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

Re: .forward, vacation, and bashslash username support

2020-08-27 Thread Viktor Dukhovni
On Fri, Aug 28, 2020 at 02:04:36AM +, Dominic Lai wrote: > Recently I have created a postfix driven (CentOS 8) > mail server with dovecot-lda as local delivery > agent. You should explain what you mean by that in detail. > We have a few number of users who make use > of vacation program

.forward, vacation, and bashslash username support

2020-08-27 Thread Dominic Lai
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,