|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Noel Jones (njones
megan.vbhcs.org)
Date: Tue Apr 03 2007 - 11:55:16 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
At 11:46 AM 4/3/2007, Leas, Shawn wrote:
>Well, the following still does not work. With the wildcard, mail to
>root
denali.domain.com bounces with "Mailbox unavailable", and without
>it it gets relayed correctly to denali's MTA.
>
>Maybe I'm just totally missing everything. I need to bounce-fail all
>mail except that which I have specific delivery maps for, and this just
>fails everything.
>
># PCRE
>/^diamond\.domain\.com$/ local:
>/^denali\.domain\.com$/ relay:[denali.domain.com]
>/^domain\.com$/ relay:[mail.domain.com]
>/^mail\.domain\.com$/ relay:[mail.domain.com]
>/^domain\.com\.sg$/ relay:[mail.domain.com]
>/^emea\.domain\.com$/ relay:[mail.domain.com]
>/^[^
]+$/ error:Mailbox unavailable
When using a regexp/pcre map, the lookup key is always a full email address.
# PCRE
/
diamond\.domain\.com$/ local:
/
denali\.domain\.com$/ relay:[denali.domain.com]
/
domain\.com$/ relay:[mail.domain.com]
/
mail\.domain\.com$/ relay:[mail.domain.com]
/
domain\.com\.sg$/ relay:[mail.domain.com]
/
emea\.domain\.com$/ relay:[mail.domain.com]
/./ error:Mailbox unavailable
Be sure to run "postfix reload" after changing the map.
--
Noel Jones
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]