Qmail, Alias and the use of wildcards

This is a discussion on Qmail, Alias and the use of wildcards within the alt.comp.mail.qmail forums, part of the Mail Servers and Related category; How to set up the next situation bounce20112@domain.net =>> forwarded to bounce@domain.net bounce20113@domain.net =&...


Go Back   Usenet Forums > Mail Servers and Related > alt.comp.mail.qmail

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-14-2008
proza
 
Posts: n/a
Default Qmail, Alias and the use of wildcards

How to set up the next situation

bounce20112@domain.net =>> forwarded to bounce@domain.net
bounce20113@domain.net =>> forwarded to bounce@domain.net
....
....
bounce20748@domain.net =>> forwarded to bounce@domain.net

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

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

thanks in advance


Reply With Quote
  #2 (permalink)  
Old 01-14-2008
Dave Sill
 
Posts: n/a
Default Re: Qmail, Alias and the use of wildcards

"proza" <magweg@hotmail.com> writes:

> How to set up the next situation
>
> bounce20112@domain.net =>> forwarded to bounce@domain.net
> bounce20113@domain.net =>> forwarded to bounce@domain.net
> ...
> ...
> bounce20748@domain.net =>> forwarded to bounce@domain.net
>
> A alias should do the trick I think, but how to set this.
>
> bounce*@domain.net =>> bounce@domain.net


It'd be trivial to do if the addresses were of the form
bounce-<number>:

echo "&bounce@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.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:05 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0