On Oct 22, 2008, at 8:05 AM, Agustin Martin wrote:
Note that seems that mailcrypt can also be used under gnus, which
provides mail-reader. However, gnus seems to not provide
/usr/bin/mail. Not sure if this bug is present when gnus is
installed.

gnus requires emacs21 so that is not an issue.
I have reconfirmed that the package installation succeeds with
emacs21 and no /usr/bin/mail.

The code the goes awry is inside emacs22, in sendmail.el where
you are going to need either a .../sendmail or a usr/bin/mail

(defcustom sendmail-program
  (cond
    ((file-exists-p "/usr/sbin/sendmail") "/usr/sbin/sendmail")
    ((file-exists-p "/usr/lib/sendmail") "/usr/lib/sendmail")
    ((file-exists-p "/usr/ucblib/sendmail") "/usr/ucblib/sendmail")
    (t
     (if (not (file-executable-p "/usr/bin/mail"))
         (error "/usr/bin/mail is not executable"))
"fakemail")) ;In ../etc, to interface to / bin/mail.
  "Program used to send messages."
  :group 'mail
  :type 'file)

... this code is not in emacs21.

This points out a better solution for the Depends: line.
It should have Depends: mail-transport-agent | mailx.

I felt a bit bad about the mailx before since the bsd one drags in a
bunch of junk if that one is selected, but surely anyone that is
using mailcrypt has an mta installed anyway so this solves the
dependency issue without actually installing more packages.

--
Jim Studt
[EMAIL PROTECTED]






--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to