block ip from accessing server in apf?

chadi

BANNED
Apr 20, 2004
415
0
166
Ok, I did that but it doesn't do anything in command (just shows [email protected] line again). Is this normal? Also, how can I check to make sure that APF is actually on and working? I forget the command line for that.
 

chadi

BANNED
Apr 20, 2004
415
0
166
I checked mail queue (reason for blocking IP's in first place). There is one message that is locked.

Message 1Bovl7-0006Df-Vy is locked
Mail Queue Removed


Why and how do I delete it?
 

chadi

BANNED
Apr 20, 2004
415
0
166
Please re-read what I said. I am already in there (mail queue) but it won't delete it.
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
33
473
Go on, have a guess
It will be locked because exim is currently processing it. If you temporarily shutdown exim, you should then be able to delete the message.

Also, you ought to use the following if you want to permanently block an IP through APF:

apf -d 11.22.33.44