function FindProxyForURL(url, host) {
if ((shExpMatch(host, "*.local")) ||
(shExpMatch(host, "*.lan")) ||
(shExpMatch(host, "localhost"))) {
return "DIRECT";
}
if ((isInNet(host, "192.168.0.0", "255.255.0.0")) ||
(isInNet(host, "172.16.0.0", "255.240.0.0")) ||
(isInNet(host, "10.0.0.0", "255.0.0.0")) ||
(isInNet(host, "127.0.0.0", "255.0.0.0"))) {
return "DIRECT";
}
return "HTTPS www.average.org:8443";
}
Use Unix userid and password for authentication on the proxy.
Note that client-to-proxy connection needs to be over TLS.
One way to use the PAC is to put the file somewhere on the local
file system, e.g. /etc/average-proxy.pac, and in the
Firefox/Chrome configuration, specify the "Automatic proxy
configuration URL" as file:///etc/average-proxy.pac.
Neither Firefox nor Chrome allows to specify HTTPS
proxy type in the "Manual proxy configuration".
SMTP, submission (authentication only with STARTTLS), IMAP (only with STARTTLS). Also webmail at https://www.average.org/webmail/. Use Unix password. Content scanning inserts the header X-CRM114-Status:, you can use the value for sorting spam. Local delivery via procmail, you are welcome to create your own .procmailrc. Dovecot uses $HOME/INBOX directory as the root of the folder namespace.
It is recommended to include these recipes in .procmailrc:
:0: * ^X-CRM114-Status: SPAM INBOX/Junk :0: * ^X-CRM114-Status: UNSURE INBOX/UnsureIf you do, moving messages between one of these and any of the "normal" folders will re-train system-wide spam detection. Folders must me named exactly as specified above.