Mail Archives: djgpp/2002/10/16/07:03:09
Sorry Eli, replied directly to you by mistake...
At 16:09 15.10.2002 +0200, you wrote:
>You don't need sh, but to get what you want you will have to hack
>feedmail.el to replace the explicit "/bin/sh" with shell-file-name and
>"-c" with shell-command-switch. The fact that feedmail doesn't do that
>itself is a bug.
Ok, this works but I knew it won't be that easy. I think feedmail now
executes /bin/mail (which I dont have). I want to set up this to another
commandline-mailer. The problem is I know nothing about ELisp (shame on
me). What do I have to do in this section:
(defun feedmail-buffer-to-binmail (prepped errors-to addr-listoid)
"Function which actually calls /bin/mail as a subprocess.
Feeds the buffer to it."
(set-buffer prepped)
(apply
'call-process-region
(append (list (point-min) (point-max) shell-file-name nil errors-to nil
shell- command-switch
(format feedmail-binmail-template
(mapconcat 'identity addr-listoid " "))))))
I know it's bad I'm not doing the homework myself but I'm really too lazy
to get used to ELisp just for setting up this Mail stuff. I tried some
things but with no success.
Sorry to bother you again,
Martin
- Raw text -