One user in a client's domain has a virus which is sending many spam emails.
I've disabled his mail account for now, but shortly, he will tell me it's
fixed and I'll have to take his word for it.

I'd like to force his outgoing emails into a holding queue for checking and
to do this, I have added in to /etc/postfix/main.cf:

check_sender_access = hash:/etc/zpanel/configs/postfix/hold

The contents of /etc/zpanel/configs/postfix/hold are:

m...@myemail.com HOLD

(m...@example.com is a replacement for my real email which I don't want to
post).

I then ran:
postmap hash:/etc/zpanel/configs/postfix/hold && postfix reload

After doing this, from my mail client, I send an email from the address in
the hold list, to my yahoo address, which was received a few seconds later.

What did I do wrong please?



--
View this message in context: 
http://postfix.1071664.n5.nabble.com/check-sender-access-has-no-effect-for-me-tp79053.html
Sent from the Postfix Users mailing list archive at Nabble.com.

Reply via email to