From: Ralf Hildebrandt (no email)
Date: Thu Aug 01 2002 - 00:56:59 EDT
On Wed, Jul 31, 2002 at 10:30:11PM -0400, Ben Rosengart wrote:
> On Wed, Jul 31, 2002 at 07:08:05PM -0400, Wietse Venema wrote:
> >
> > /etc/postfix/main.cf:
> > smtpd_client_restrictions = hash:client, reject
> > smtpd_recipient_restrictions = hash:recipient, reject
> >
> > client:
> > 1.2.3.4 OK
> >
> > recipient:
> > OK
> >
> > This accepts mail only if the recipient and the client are whitelisted.
>
> Ralf will be so disappointed in me, but I think this is the best.
> One last question on this topic: is there any way to tell Postfix to
> send a 450 when the recipient lookup fails without changing the response
> code when the client lookup fails? I found "reject_code", but that
> covers both. I can live with that, but if there's a simple solution,
> I'd like to know.
Which client lookup? Try this:
smtpd_client_restrictions = hash:client, static:450
No warranty for the syntax, though.
-- Ralf Hildebrandt (Im Auftrag des Referat V A) Charite Campus Virchow-Klinikum Tel. +49 (0)30-450 570-155 Referat V A - Kommunikationsnetze - Fax. +49 (0)30-450 570-916 A distributed system is one in which the failure of a computer you didn't even know existed can render your own computer unusable. - To unsubscribe, send mail to with content (not subject): unsubscribe postfix-users
|
|
|