Discussion:
Qmail, Alias and the use of wildcards
(too old to reply)
proza
2008-01-14 08:08:14 UTC
Permalink
How to set up the next situation

***@domain.net =>> forwarded to ***@domain.net
***@domain.net =>> forwarded to ***@domain.net
...
...
***@domain.net =>> forwarded to ***@domain.net

A alias should do the trick I think, but how to set this.

bounce*@domain.net =>> ***@domain.net

thanks in advance
Dave Sill
2008-01-14 16:16:34 UTC
Permalink
Post by proza
How to set up the next situation
...
...
A alias should do the trick I think, but how to set this.
It'd be trivial to do if the addresses were of the form
bounce-<number>:

echo "&***@domain.net" >~alias/.qmail-bounce-default

If you really have to use bounce<number>, then you'll have to use the
qmail-users facility. It's still easy, but it's a bit more work. See:

http://lifewithqmail.org/lwq.html#qmail-users

You'll need a wildcard entry like:

+bounce:alias:UID:GID:/var/qmail/alias:-:bounce-:

As well as the ~alias/.qmail-bounce-default file above.
--
Dave Sill Oak Ridge National Lab, Workstation Support
Author, The qmail Handbook <http://web.infoave.net/~dsill>
<http://lifewithqmail.org/>: Almost everything you always wanted to know.
Loading...