On Mon, Mar 9, 2009 at 6:49 PM, Noel Jones <njo...@megan.vbhcs.org> wrote:
> Costin Guşă wrote:
>>
>> however i'm wondering if my proposed implementation would *really*
>> catch not only all relayed mail but also internal clients sending mail
>> to internal clients ?
>
> To only catch outbound mail, use something like this (note
> smtpd_SENDER_restrictions):
>
> # main.cf
> smtpd_sender_restrictions =
>  permit_auth_destination
>  static:hold
>
> This requires the default setting "smtpd_delay_reject = yes", so don't
> change it.

Oh, many thanks for enlightening me with the 'static:HOLD' hint!
Despite reading the docs, it wasn't until your answer came to
understand what "foobar" really meant in postconf man page:

"For example, static:foobar always returns the string foo-bar as lookup result."

Maybe I could have understood it easier if the example phrase
contained a real example keyword such as "REJECT" instead of "foobar"
:)

Reply via email to