postfix-users

Re: Question about check_recipient_access

Subject: Re: Question about check_recipient_access
From: Ralf Hildebrandt <Ralf.Hildebrandt AT charite DOT de>
To: postfix-users AT postfix DOT org
Date: Sun, 12 Aug 2007 18:28:43 +0200
* James Lay <jlay AT slave-tothe-box DOT net>:
> Hey all!
> 
> So I have this running pretty well at other sites, but I have one site where
> I've seen some funky action.
> 
> I have:
> 
> smtpd_recipient_restrictions =
>         check_recipient_access regexp:/etc/postfix/reject-users
> 
> With reject-users containing:
> 
> <many email addresses snipped>
> /bobgrissom AT vineyardboise DOT org/                  OK
> /.*@vineyardboise.org/                          REJECT 550 User unknown

Should be:

/^bobgrissom@vineyardboise\.org$/                  OK
/^.*@vineyardboise\.org$/                          REJECT 550 User unknown

> Or should I just change this to hash format and have:
>     bobgrissome AT vineyardboise DOT org               OK
>     vineyardboise.org                           REJECT 550 user unknown
> 
> This server is a relay that sits in front of an exchange server.  Thanks for
> any help.

You should rather use relay_recipient_maps instead.

-- 
Ralf Hildebrandt (Ralf.Hildebrandt AT charite DOT de)             plonk AT 
charite DOT de
Postfix - Einrichtung, Betrieb und Wartung       Tel. +49 (0)30-450 570-155
http://www.arschkrebs.de
Microsoft: "Where do you want to go today?"
Linux:     "Where do you want to be tomorrow?"
BSD:       "Are you guys coming, or what?"

<Prev in Thread] Current Thread [Next in Thread>