![]() |
Home
| Calendar
| Mail Lists
| List Archives
| Desktop SIG
| Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU |
Dave Peters wrote: > ...how to configure postfix to forward wildcard emails to anther email account. > > what I would like to do: > > xxxx_reply at mymail.com --> reply at mymail.com > xxxx_noreply at mymail.com --> noreply at mymail.com > XXX_spam at mymail.com --> spam at mymail.com So in your example you want the "x" replaced with a wild card that matches any one character? This should be doable using a regexp_table[1] or pcre_table[2], with a file containing a line like (untested): /...._reply at mymail.com/ reply at mymail.com and then in main.cf set alias_maps or virtual_alias_maps to regexp:/path/to/file. 1. http://www.postfix.org/regexp_table.5.html 2. http://www.postfix.org/pcre_table.5.html -Tom -- Tom Metro Venture Logic, Newton, MA, USA "Enterprise solutions through open source." Professional Profile: http://tmetro.venturelogic.com/
![]() |
|
BLU is a member of BostonUserGroups | |
We also thank MIT for the use of their facilities. |