This shows you the differences between two versions of the page.
Previous revision | |||
— | reference:spamrules_statement_iflocaladdress [2018/11/14 10:45] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ======Spam Filter Rules: IfLocalAddress====== | ||
+ | ^Statement | ||
+ | ^Version | ||
+ | ^Purpose | ||
+ | **IfLocalAddress** requires just one paramater; the address, in the format | ||
+ | IfLocalAddress < | ||
+ | |||
+ | * All **IfLocalAddress** statements must be followed by an **EndIf** statement | ||
+ | * You may optionally include an **Else** statement | ||
+ | |||
+ | |||
+ | =====Example===== | ||
+ | < | ||
+ | IfLocalAddress ${rcpt} | ||
+ | # Statements | ||
+ | Else | ||
+ | # Statements | ||
+ | EndIf | ||
+ | </ |