Re: transport_maps with address extension (user+ext@domain)

2022-05-19 Thread Jan-Martin Raemer
Hi, On Thu, May 19, 2022 at 04:38:33PM +0200, Bastian Blank wrote: > Maybe try to set "recipient_delimiter"? Without delimiter, none will be > used. thanks, that was the problem. Best regards, Jan-Martin -- Dr. Jan-Martin Rämer Systemtechnik Zentrum für Hochschul-IT Rheinland-Pfalz Moselweiße

Re: transport_maps with address extension (user+ext@domain)

2022-05-19 Thread Bastian Blank
On Thu, May 19, 2022 at 01:06:09PM +0200, Jan-Martin Raemer wrote: > Config: > main.cf: Maybe try to set "recipient_delimiter"? Without delimiter, none will be used. Bastian -- We have phasers, I vote we blast 'em! -- Bailey, "The Corbomite Maneuver", stardate 1514.2

Re: transport_maps with address extension (user+ext@domain)

2022-05-19 Thread Jan-Martin Raemer
Hi, On Thu, May 19, 2022 at 08:32:34AM -0400, Wietse Venema wrote: > Wietse Venema: > > Jan-Martin Raemer: > > > As I'm using a normal hash table, I assumed that user+$anything@domain > > > would match user@domain (unless there is a specific entry for > > > user+$anything@domain). Did I miss some

Re: transport_maps with address extension (user+ext@domain)

2022-05-19 Thread Viktor Dukhovni
On Thu, May 19, 2022 at 01:06:09PM +0200, Jan-Martin Raemer wrote: > /etc/postfix/transport: > user@domain smtp:[nondefault-relay.domain]:25 > user+ext@domain smtp:[nondefault-relay.domain]:25 Unsolicited advice, avoid per-user transport mappings, instead use virtual(5) rewriting to map special u

Re: transport_maps with address extension (user+ext@domain)

2022-05-19 Thread Wietse Venema
Wietse Venema: > Jan-Martin Raemer: > > As I'm using a normal hash table, I assumed that user+$anything@domain > > would match user@domain (unless there is a specific entry for > > user+$anything@domain). Did I miss some option or mis-read the manual? > > Yes, you failed to report how to reproduce

Re: transport_maps with address extension (user+ext@domain)

2022-05-19 Thread Wietse Venema
Jan-Martin Raemer: > As I'm using a normal hash table, I assumed that user+$anything@domain > would match user@domain (unless there is a specific entry for > user+$anything@domain). Did I miss some option or mis-read the manual? Yes, you failed to report how to reproduce the problem. - With postm

transport_maps with address extension (user+ext@domain)

2022-05-19 Thread Jan-Martin Raemer
Hi, I'm trying to route mail to a non-default relay by recepient, i.e. mail should be relayed via default-relay.domain for all recepients except user@domain, which should be routet via nondefault-relay.domain. This works for user@domain and user+ext@domain (c.f. config below), but not for user+oth