<symbol weight="1.00" description="SPF verification soft-failed">R_SPF_SOFTFAIL</symbol>
<symbol weight="-3.00" description="SPF verification alowed">R_SPF_ALLOW</symbol>
- <!-- Whitelisted client's IP -->
- <symbol weight="-2.00" description="Whitelisted client's IP">WHITELIST_IP</symbol>
<!-- Message seems to be from maillist -->
<symbol weight="-2.00" description="Message seems to be from maillist">MAILLIST</symbol>
</module>
<!-- whitelist -->
+<!-- Example of using HTTP maps for whitelisting
<module name="whitelist">
<ip_whitelist>http://cebka.pp.ru/stuff/grey_whitelist.conf</ip_whitelist>
<symbol_ip>WHITELIST_IP</symbol_ip>
</module>
+-->
<!-- chartable -->
<module name="chartable">
InternetAddressMailbox *iamb;
lua_newtable (L);
- len = internet_address_list_length (list);
+ len = internet_address_list_length (addrs);
for (i = 0; i < len; i ++) {
- ia = internet_address_list_get_address (list, i);
+ ia = internet_address_list_get_address (addrs, i);
if (ia) {
lua_newtable (L);
iamb = INTERNET_ADDRESS_MAILBOX (ia);
}
}
}
+ /* Strip last space that can be added by \r\n parsing */
+ if (*(tp - 1) == ' ') {
+ tp --;
+ }
*tp = '\0';
new->value = tmp;
task->raw_headers_list = g_list_prepend (task->raw_headers_list, new);