User Tools

Site Tools


reference:spamrules_ipwhitelist

Allow messages through from a specific IP address

This script allows messages through the spam filter if they arrive at VPOP3 from a specific SMTP sender (only when the message is sent directly to VPOP3 using SMTP, not via another server).

Add the following to the spamrules_userlocal.txt file. This script file gets processed on all messages.

If ${SenderIP} == "1.2.3.4"
  Stop
EndIf

This checks for the sender IP address being “1.2.3.4” and then aborts the spam filter process if that is the case. That will allow the message through without filtering. (Note that there will be no spam-filter-related message headers in this case. If you want those, you will need to add appropriate 'AddHeader' commands to the script).

reference/spamrules_ipwhitelist.txt · Last modified: 2022/01/25 11:59 by paul