From: Michael Tokarev (no email)
Date: Sun Jun 02 2002 - 18:39:38 EDT
Ralf Hildebrandt wrote:
>
> On Wed, May 15, 2002 at 02:52:53AM +0400, Michael Tokarev wrote:
>
> > In order to stop smtpd complaining/warning for my internal "virus-free"
> > usage (listening on localhost:10025), I use
> >
> > -o smtpd_recipient_restrictions=static:OK,reject
>
> -o smtpd_recipient_restrictions=permit
Sorry for bringing this rather old thread up (about half-a-month ago), but
it needs some corrections. (Oh well, now I'm reading emails that are half
a month old... ;)
With the above Ralf's suggestion, smtpd will refuse to receive any email
with temporary error "Local configuration error", and will complain in the
log that at least one of reject or check_relay_domains restriction should
be in smtpd_recipient_restrictions. This is exactly the reason why I used
this (rather strange) "static:OK,reject" thingie.
Note also that this is a simplest way to configure postfix as an open relay.
The above restriction should be used for INTERNAL smtpd ONLY (here, smtpd
that will handle mails sent by content_filter). Do NOT use such construct
for main smtpd listening to the whole internet!
/mjt
-
To unsubscribe, send mail to with content
(not subject): unsubscribe postfix-users
|
|
|