User Tools

Site Tools


reference:spamrules_statement_getaddresstype
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


Previous revision
reference:spamrules_statement_getaddresstype [2018/11/14 10:45] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +======Spam Filter Rules: GetAddressType======
 +^Statement  |GetAddressType |
 +^Version  |2.4.6+ |
 +^Purpose  |Analyses a specified email address and reports what 'type' of address it is |
  
 +The **GetAddressType** statement requires an email address and variable name, in the format
 +  GetAddressType <email address> <variable name>
 +
 +=====Types=====
 +All email addresses will fall into one of the following 'types'
 +^ Type code ^ Description ^
 +^RemoteLANFwd  |A LAN forwarded address where the full email address is specified in the LAN forwarding rules |
 +^LocalLANFwd  |A LAN forwarded address where just the username is specified in the LAN forwarding rules |
 +^Mapping  |An address which has a normal mapping associated with it |
 +^Special  |A 'special' recipient - e.g. a fax mailbox, listserver, mailer_daemon etc. |
 +^List  |A VPOP3 list |
 +^ListOwner  |A VPOP3 list owner alias |
 +^User  |A VPOP3 user |
 +^UnknownMapping  |An address which matches a ~@domain style mapping |
 +^UnknownLANFwd  |An address which matches a ~@domain style LAN forwarding rule |
 +^Remote  |A remote email address |
 +^Postmaster  |A 'postmaster'/'abuse' address which VPOP3 will send to the Main Administrator |
 +^Invalid  |An unrecognised local recipient |
 +
 +
 +=====Example=====
 +The following example will analyse the 'user@example.com' address and return an address type code into the ${addrType} variable
 +<code>
 +GetAddressType "user@example.com" addrType
 +</code>
reference/spamrules_statement_getaddresstype.txt · Last modified: 2018/11/14 10:45 by 127.0.0.1