mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-18 14:47:03 +00:00
aliases: Support '*' as the destination user
This patch implements support for aliases that contain '*' as the destination user. In that case, we replace it with the original user. For example, `*: *@pond` will redirect `lilly@domain` to `lilly@pond`. This is experimental for now, and marked as such in the documentation. The semantics can be subtle, so we may need to adjust them later.
This commit is contained in:
@@ -76,6 +76,17 @@ pepe: jose
|
||||
*: pepe, rose@backgarden
|
||||
```
|
||||
|
||||
!!! warning "Experimental"
|
||||
|
||||
If the destination address has `*` as its user, then it will be replaced
|
||||
by the sender user. Note that in this case, the user is copied as-is, no
|
||||
characters or suffixes will be dropped.
|
||||
|
||||
For example, `*: *@pond` will redirect `lilly@domain` to `lilly@pond`.
|
||||
|
||||
This is experimental as of chasquid 1.16.0, and subject to change.
|
||||
|
||||
|
||||
### Overrides
|
||||
|
||||
If the same left-side address appears more than once, the last one will take
|
||||
|
||||
Reference in New Issue
Block a user