• Tech

    Postfix SMTP error: smd.smtp.com

    A few updates ago, I started getting this error message on a Mac OS X 10.5.8 Server in the SMTP logs:

    fatal: can’t open com file: /var/spool/postfix/pid/.smd.smtp.com

    As outlined in master.h, “smd.smtp.com” is the “SRVR_MGR_COM_FILE”, i.e. a config file created by and for Server Manager (a command and control daemon on port 311 which uses XML to send and receive commands and report status). According to Apple OS X Server Manager Daemon Communication Library it monitors and automatically restarts OS X server services such as mail.

    The codes in master_sig.c will tell you when it should throw this error message:

    file_fd = open( SRVR_MGR_COM_FILE, O_CREAT|O_TRUNC|O_RDWR, 0600 );
    if( file_fd == -1 )
    {
    msg_fatal( “can’t open com file: %s (%m)”, SRVR_MGR_COM_FILE );
    }

    So, if the file doesn’t exist or if the permissions are not correct, postfix will throw this error message at you. Check that this file exists. If so, it may be corrupted. It is a simple XML file that is generated automatically, so you can regenerate it by doing the following (courtesy of Alex from Topic Desk).

    Make sure Server Admin is closed

    sudo serveradmin stop mail

    sudo /bin/launchctl unload -w /System/Library/LaunchDaemons/org.postfix.master.plist

    sudo rm /var/spool/postfix/pid/.smd.smtp.com

    sudo /bin/launchctl load -w /System/Library/LaunchDaemons/org.postfix.master.plist

    sudo serveradmin start mail

    If the problem still persists, we’ll just call it a bug in 10.5.8 Server, and learn to ignore it.

  • Automotive

    Porsche Cayenne Trailer Hitch Electronic Harness

    If you have purchased a Porsche Cayenne with the trailer hitch option, you’re in for a rude awakening when you go to connect a boat or trailer to the back of your SUV. You’ll find that there is no socket to connect the electronics for the tail lights, turn signals, and breaks.
    The part in question can be found, of course, on Amazon.com.

    When the Cayennes shipped from Germany, the factory in Stuttgart/Leipzig equips vehicles with the trailer option with an Audi/VW harness and covers it with a blank plastic cover. If this were Toyota or Honda, they’d add a US compatible socket at their port build facility (where they add US rated bumpers and other US only options). But Porsche (and probably Audi, VW) does not do this.

    The part you’ll need is the Pollak 11-893P 7-Way Sealed RV OEM Socket. This will add a a US compatible 7 blade socket like the Reese Towpower 74607 7-Way to 4-Way Flat Blade Wiring Adapter with a spring loaded flap, so you can connect/disconnect the trailer electronics at will.

    You’ll just need to remove the four Phillips head screw holding the blank panel, unclip it from the vehicle (becareful not to break the prongs), then insert the Pollak socket in its place, and finally, put the screws back in. It’s an easy DIY additions that costs less than $20 – which would probably be close to $160 at the dealer (A VW dealer quoted $68 just for the socket).

    This probably works for the VW Touareg and Audi SUVs also. Good luck!