Sunday, June 21, 2009

Sendmail : Put in a size restriction

Tested On CentOS 5 - Sendmail 8.13.8

1)Edit sendmail.mc

Add the following

define(`confMAX_MESSAGE_SIZE', `5000')


2)m4 sendmail.mc > sendmail.cf


Sunday, June 7, 2009

Creating a Custom Error SQUID

Tested On-CentOS 4.4 w/ Custom SQUID 3.0.STABLE15


1)Add the following entries

deny_info ERR_AUTH_PROXY ntlm_users #ntlm_users is my NTLM Authentication acl , change it to whatever you configured it with.

2)On the filesystem create the following file and add the customized entries

/usr/local/squid/share/errors/templates/ERR_AUTH_PROXY

3)Restart squid , or check with squid -d 1 if the entries are good.

Followers