From: andrew.casey on
Hi group,

I have a new domain which i'm virtual hosting on my box. I have a few
users setup on it and a catch all.


The thing is, it looks like someone had the domain before me, and i'm
getting swamped with spam to only two addresses - info@ and marcello@

Is there any way I can reject e-mails to both of these addresses?

Thanks.

From: Ralf Hildebrandt on
On 2007-10-01, andrew.casey(a)gmail.com <andrew.casey(a)gmail.com> wrote:
> Hi group,
>
> I have a new domain which i'm virtual hosting on my box. I have a few
> users setup on it and a catch all.

A catch all is not a good idea

> The thing is, it looks like someone had the domain before me, and i'm
> getting swamped with spam to only two addresses - info@ and marcello@
>
> Is there any way I can reject e-mails to both of these addresses?

Of course.

a) disable the cachall :) It's the sane solution.
b) Or use
check_recipient_access hash:/etc/postfix/banned_recipients

containing:
info(a)domain REJECT
marcello(a)domain REJECT

--
Ralf Hildebrandt (i.A. des IT-Zentrums) Ralf.Hildebrandt(a)charite.de
Charite - Universitätsmedizin Berlin Tel. +49 (0)30-450 570-155
Gemeinsame Einrichtung von FU- und HU-Berlin Fax. +49 (0)30-450 570-962
IT-Zentrum Standort CBF send no mail to plonk(a)charite.de