Index: shell/source/unix/misc/senddoc.sh
--- shell/source/unix/misc/senddoc.sh.orig
+++ shell/source/unix/misc/senddoc.sh
@@ -92,15 +92,15 @@ case $(printf %s "$MAILER_TYPE" | sed 's/-.*$//') in
         # Try to be smart, and send the mail anyway, if we have the
         # possibility to do so.
 
-        if [ -x /usr/bin/xdg-email ] ; then
-            MAILER=/usr/bin/xdg-email
+        if [ -x /usr/local/bin/xdg-email ] ; then
+            MAILER=/usr/local/bin/xdg-email
         elif [ -n "$DESKTOP_LAUNCH" ]; then
             # http://lists.freedesktop.org/pipermail/xdg/2004-August/002873.html
             MAILER=${DESKTOP_LAUNCH}
-        elif [ -n "$KDE_FULL_SESSION" -a -x /usr/bin/kde-open ] ; then
-            MAILER=/usr/bin/kde-open
-        elif [ -x /usr/bin/xdg-open ] ; then
-            MAILER=/usr/bin/xdg-open
+        elif [ -n "$KDE_FULL_SESSION" -a -x /usr/local/bin/kde-open ] ; then
+            MAILER=/usr/local/bin/kde-open
+        elif [ -x /usr/local/bin/xdg-open ] ; then
+            MAILER=/usr/local/bin/xdg-open
         elif command -v xdg-open >/dev/null 2>&1 ; then
             MAILER=$(command -v xdg-open)
         else
@@ -379,6 +379,6 @@ case $MAILER_TYPE in
             esac
             shift;
         done
-        /usr/bin/open -a "${MAILER}" ${ATTACH}
+        /usr/local/bin/open -a "${MAILER}" ${ATTACH}
         ;;
 esac
