From: Kim Emax (no email)
Date: Tue Apr 01 2003 - 09:15:20 EST
----- Original Message -----
From: "Laurent Balloy" <>
Sent: Tuesday, April 01, 2003 4:16 PM
> I try to reject the mails bound for an address, my expression file
> works.
>
> Here my file of log when postfix meets an address has to reject:
>
> Apr 1 13:54:15 intranet postfix/cleanup[4796] : D5D7C14286: reject:
> header To: <>; from
> =<> to =<>
>
> Next it repeat this around fifteen message time all the 30 seconds, then
> ended up to deliver the message to "" without
> rejecting it.
>
> What happens you it, pourqoui postfix does not reject it?
Don´t know how You´ve set up the main.cf, but this works for me, when I
_don´t_ want mail on a given address:
smtpd_sender_restrictions = check_sender_access hash:/etc/postfix/block
and in block:
REJECT Not interested
REJECT No spam, please
-- Take Care Kim Emax - Freelance programmør http://www.emax.dk - http://www.ayianapa.dk Køb din vin online på http://www.gmvin.dk, Danmarks måske mest avancerede VinWebShop
|
|
|