<<< Date Index >>>     <<< Thread Index >>>

Re: More questions about trying to use mutt with ssmtp



G'day Chris,

* Chris Green <chris@xxxxxxxxxxx> [040202 15:23]:
> OK, I've resolved the initial question of why mutt wasn't telling me
> that I'd given it a non-existent program in 'set sendmail=xxxxx'.
> 
> However having now fixed 'set sendmail=' so it's correct I'm still
> getting "Error sending message, child exited 127 (Exec error.).".
> 
> Now I guess this is because ssmtp is failing for some reason, I can
> call it from the command line though and it does do vaguely sensible
> things when I do that.  How can I get more feedback from mutt/ssmtp to
> try and see what's wrong?

I know this isn't answering your question, but don't set your sendmail
variable, then in mutt type:
  set ?sendmail
to find out what flags are being passed to sendmail by default.  Use
these for ssmtp.

For example I use 
   set sendmail="${HOME}/bin/linux/ssmtp -oem -oi"

Yeah, I know it ain't science, and it sure as hell doesn't teach you
what's going on, but for me life is too short.  :)


Cheers,

S.

Attachment: signature.asc
Description: Digital signature