From: Stavros Patiniotis (no email)
Date: Sun Jun 02 2002 - 23:06:00 EDT
Hello,
> Sure. For this, you should change last `reject' to something more complex.
> E.g.:
>
> []
> > >strict_client_domain =
> > > check_client_access hash:/etc/postfix/strict_client_map, reject
>
> strict_client_domain =
> check_client_access hash:/etc/postfix/strict_client_map,
> check_sender_access regexp:/etc/postfix/strict_sender_msg
> ^^^^^^
>
> /etc/postfix/strict_sender_msg:
>
> /./ 554 use mailserver that handles your domain please
>
> This way, mail sent from some non-hotmail server with from address in hotmail
> domain will be rejected with a message:
>
> 554 <>: Sender address rejected: use mailserver that
> ^^^^^^
> handles your domain please
>
> Or, more funny one:
>
> /etc/postfix/strict_sender_msg:
>
> /@([^@]*)$/ 554 use mailserver that handles $1 domain
Won't this break your mail for the case in which one of your backup relays
is delivering the mail to you?
Kind Regards,
0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0
escape net
m a k i n g t h e n e t w o r k f o r y o u
465b South Road ph 8293 2526
KESWICK SA 5035 fx 8293 2949
0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0
-
To unsubscribe, send mail to with content
(not subject): unsubscribe postfix-users
|
|
|