|
I was having some spam on an non-existent email address on my server from a lot of ip addresses. And the server was struggling to send error messages to the fake senders.
In postfix I have added in the main.cf:
smtpd_recipient_restrictions = reject_maps_rbl,regexp:/etc/postfix/access,permit_mynetworks,check_relay_domains
and in the access file i put
/^.*xxx@domain.ro$/ REJECT
and then ran:
postmap /etc/postfix/access
and
postfix reload
|