thehenrys.net

April 28, 2006

Spamassassin Install on CentOS 3

Filed under: Server Admin — dh @ 10:45 am

Install Spamassassin with yum.

yum install spamassassin

One line for /etc/procmailrc (create it if it doesn’t exist.).

INCLUDERC=/etc/mail/spamassassin/spamassassin-default.rc

Restart sendmail.

service sendmail restart

All done.

April 27, 2006

Dalnet IRC Commands

Filed under: Server Admin — dh @ 11:36 am

/msg NickServ@services.dal.net register [password] [email]
/msg NickServ@services.dal.net identify [password]

/chanserv info [channel]
/chanserv register [channel] [subject]
/chanserv set [channel] mlock +ntp-iklm
/chanserv set [channel] opguard on
/chanserv sop/aop [channel] add/del/list/wipe [nick]
/chanserv set [channel] keeptopic on/off
/chanserv set [channel] topiclock founder/sop/off

/topic [channel] [topic]

more: ChanServ Information

April 10, 2006

New OS, PHP upload limit..

Filed under: Server Admin — dh @ 11:54 pm

I finally moved away from Fedora and happiily found a new home with CentOS3. I was having trouble uploading attachments with the Squirrelmail. The page would quickly go back to the compose message page when trying to attach larger files. Looked at /etc/php.ini for the usual suspects:

max_execution_time
max_input_time
memory_limit
file_uploads
upload_max_filesize

All of these looked ok. Took a look at /etc/httpd/conf/httpd.conf for something. Still no dice… Then I remembered about /etc/httpd/conf.d/php.conf ! Sure enough, there was the culprit. Made a quick change to LimitRequestBody and restarted apache, everything workie! I bumped LimitRequestBody up pretty high as this is not a busy server. You should adjust according to your needs.

December 22, 2005

Spamassassin and Fedora Core 2

Filed under: Server Admin — dh @ 1:50 pm

Installed spamassassin today on a Fedore Core 2 box using the Package Manager in Gnome. Only had to create the file /etc/procmailrc with the following in it to get it working:

# send mail through SpamAssassin
:0 fw
* < 256000
| /usr/bin/spamc -f

Restart sendmail, all done!

« Previous Page