ARCHIVES

    by jonathan on Fri, 11/23/2007 - 21:10

    One of the (unfortunate) things that comes with running a company is that the corresponding stream of information that comes with simply owning a computer gets multiplied by how much the company is doing. When your company gets moving, the information you have to deal with radically increases.

    Tags: by gary on Sat, 11/17/2007 - 20:51

    EHLO lolucanhazspam happening too often for your tastes?

    Have Postfix respond with, "u sent me spam, but i ated it":

    smtpd_helo_required = yes
    smtpd_delay_reject = no
    disable_vrfy_command = yes
    smtpd_helo_restrictions = permit_mynetworks, reject_invalid_hostname, reject_unknown_hostname, reject_non_fqdn_hostname

    Over the past hour, I've seen this minor config change slay 60% of spam inbound to my personal mailserver.

    Remember: Default software configs given to you by your favorite Linux distribution will usually suck. Modify 'em.

    Tags: emailpostfixspam by aaron on Mon, 11/12/2007 - 13:17

    We had to install a new cluster of servers this week, and during the planning I discovered a notion bubbling into my head:

    "Ya know, CentOS 5 is going to take forever to install across all these servers if I have to keep swapping CDs."

    Okay, a little back story: This hadn't been an issue in the past.  CentOS offered a single ServerCD install on 4.4 that could be easily burned and deployed without much headache.  Worst case we had an installable image on a 1gig USB Pen Drive that made this incredibly easy.

    Tags: CentOSdeploymentdhcpgentoopxeremote installtftp by domenic on Thu, 11/08/2007 - 05:33

    So, if you want more than one value for a field, it's a problem.

    Say you want a user to be able to enter an arbitrary number of email addresses/IM names/phone numbers/whatever on his profile. The "Allow multiple values" option in CCK is woefully adequate.

    Aaron tackled this problem with aplomb (well, as far as Drupal allows) by creating a new CCK type for each field that we need to allow multiple fields on. We create a block view for it, then simply embed that view in the profile edit form.

    Tags: CCKfieldsformsmultiples