Re: Debugging msmtp in gnus
Thomas Bach bac...@uni-mainz.de writes: [snipped 21 lines] What does the msmtp log say? Thats another thing: msmtp doesn't log neither. It does when invoked on the command-line, but it doesn't when I am in gnus. Thats another reason why I'd like to have the whole command gnus invokes, just to check that there is really a /usr/bin/msmtp at the beginning. hmmm...I'm fairly confident that this means, Emacs can't find msmtp to send the email OR msmtp is looking at the wrong place for the configuration files. See, if I do M-x shell and type /usr/sbin/msmtp --version msmtp version 1.4.13 TLS/SSL library: OpenSSL Authentication library: GNU SASL Supported authentication methods: plain cram-md5 digest-md5 external login IDN support: enabled NLS: disabled System configuration file name: /etc/msmtprc User configuration file name: /cygdrive/c/Documents and Settings/sivaram/Application Data/.msmtprc and from the cygwin command line [siva...@~] $ /usr/sbin/msmtp.exe --version msmtp version 1.4.13 TLS/SSL library: OpenSSL Authentication library: GNU SASL Supported authentication methods: plain cram-md5 digest-md5 external login IDN support: enabled NLS: disabled System configuration file name: /etc/msmtprc User configuration file name: /home/sivaram/.msmtprc Try msmtp --version from within the Emacs shell and copy the msmtprc file there and try again? [snipped 10 lines] sivaram -- ___ info-gnus-english mailing list info-gnus-english@gnu.org http://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: Debugging msmtp in gnus
Sivaram Neelakantan nsivaram@gmail.com writes: Thomas Bach bac...@uni-mainz.de writes: What does the msmtp log say? Thats another thing: msmtp doesn't log neither. It does when invoked on the command-line, but it doesn't when I am in gnus. hmmm...I'm fairly confident that this means, Emacs can't find msmtp to send the email OR msmtp is looking at the wrong place for the configuration files. [...] Try msmtp --version from within the Emacs shell and copy the msmtprc file there and try again? I did this. msmtp is looking in the right place, exactly where my configuration is. Actually I installed the emacs-snapshot package from Ubuntu/Debian. Now it works. Emacs version now is 23.0.9 and Gnus 5.13. Other things that bothers me is that the gnus-context menus are all gone (the ones with Field/Message/Article...) and org-mode is missing in this snapshot (but that doesn't belong to this group anyway). Maybe I have to startup from scratch, compiling my own emacs. :( Greets, Thomas. ___ info-gnus-english mailing list info-gnus-english@gnu.org http://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: Debugging msmtp in gnus
Thomas Bach bac...@uni-mainz.de writes: [snipped 43 lines] Are you using 23.1 or 22.2? Because 23.1 requires the first line below to work (setq message-send-mail-function 'message-send-mail-with-sendmail) (setq sendmail-program /usr/sbin/msmtp) (setq message-sendmail-extra-arguments '(-a xx)) (setq smtpmail-debug-info t) ; only to debug problems set to t if needed (setq smtpmail-debug-verb t) I use cygwin msmtp and win32 Emacs-23.1. What does the msmtp log say? One other to check is to where msmtp looks for its configuration files from within Emacs by launching it within the Emacs shell. On the new computer, the HOME env might be different and that's why it's not working? sivaram -- ___ info-gnus-english mailing list info-gnus-english@gnu.org http://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: Debugging msmtp in gnus
Sivaram Neelakantan nsivaram@gmail.com writes: Thomas Bach bac...@uni-mainz.de writes: [snipped 43 lines] Are you using 23.1 or 22.2? Because 23.1 requires the first line below to work I am using version 22.2. (setq message-send-mail-function 'message-send-mail-with-sendmail) Actually this variable is documented, but changing its value brings no difference. (setq sendmail-program /usr/sbin/msmtp) BTW: Why is msmtp installed in /usr/sbin? Is this the cygwin-way? I use cygwin msmtp and win32 Emacs-23.1. I think that I used emacs-23 and some newer gnus. It has been an gentoo-setup and thus rather uncommon anyway. What does the msmtp log say? Thats another thing: msmtp doesn't log neither. It does when invoked on the command-line, but it doesn't when I am in gnus. Thats another reason why I'd like to have the whole command gnus invokes, just to check that there is really a /usr/bin/msmtp at the beginning. One other to check is to where msmtp looks for its configuration files from within Emacs by launching it within the Emacs shell. On the new computer, the HOME env might be different and that's why it's not working? That looks fine. Greets, Thomas. ___ info-gnus-english mailing list info-gnus-english@gnu.org http://lists.gnu.org/mailman/listinfo/info-gnus-english
Debugging msmtp in gnus
Hi folks, copying my gnus and emacs setup to another computer did break up some things. Getting eMail is fixed now, org-mode still won't work and *argh* eMails aren't sended. But hacking around for hours didn't solve nothing, neither did google. What steps can I do to debug this? -msmtp is working smooth on command-line (version 1.4.7) -Gnus (v5.11) is configured as follows: ## (setq sendmail-program /usr/bin/msmtp) (setq smtpmail-debug-info t) (setq smtpmail-debug-verb t) (setq gnus-posting-styles '((.* (name Thomas Bach) (address bac...@uni-mainz.de) (eval (setq message-sendmail-extra-arguments '(-a bachth))) (user-mail-address bac...@uni-mainz.de)) ;; )) ## (of course there is some more, but anyway) -emacs-version: 22.2.1 The whole thing is running in an Ubuntu setup. Any suggesions? I'd really like to have a feature like: toggle-some-switch - The build `sendmail`-cmd-line is in my *Messages* buffer. With all the output it generated. The above smtpmail-debug-* doesn't some to do nothing. Greets, Thomas. ___ info-gnus-english mailing list info-gnus-english@gnu.org http://lists.gnu.org/mailman/listinfo/info-gnus-english