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

Re: mutt -p failed to send message, how to fix?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday, June 26 at 12:36 AM, quoth Paul Drynoff:
>I have something like this in ~/.muttrc
>set sendmail = "/usr/bin/nbsmtp ..."
>
>and can successfully send message,
>but if I postpone email, and after that 
>start mutt with "-p" option, on attempt send mail it tell
>something like this:
>sendmail: invalid option -- o                                                  
>                       
>Usage: sendmail -f from@xxxxxxxxxxx -h relayhost [OPTIONS] (use -H for help)
>
>why mutt tries to use "-o" option and how force him to not use this 
>strange option?

Looks like, for whatever reason, your mutt isn't reading that part of 
your muttrc that sets the $sendmail variable. The default value for 
$sendmail is "/usr/sbin/sendmail -oem -oi", so that's the -o argument 
I'm guessing is getting complained about (especially if nbsmtp is 
linked to /usr/sbin/sendmail). I don't know why it would not read your 
muttrc... perhaps try running it as `mutt -d2 -p`, and then check out 
the ~/.muttdebug0 file---maybe there's something in there to help 
explain what's going on.

Good luck,

~Kyle
- -- 
If you make people think they're thinking, they'll love you; but if 
you really make them think, they'll hate you.
                                                        -- Don Marquis
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!

iD8DBQFEnxquBkIOoMqOI14RAkIQAJ0fiVgRREMooTUFRr2i0pUJjsTxJQCgjJwH
MAqwHwWMJZiEZ8ehpYBvWTE=
=kGM9
-----END PGP SIGNATURE-----