notmuch tests issue on solaris
Vladimir Marek
Vladimir.Marek at Oracle.COM
Tue Aug 13 01:49:12 PDT 2013
Hi,
I returned back to making the test suite work on Solaris. But now I
stumbled upon a problem with emacs which I don't know how to solve ...
Emacs seems to throw some kind of error while trying to send email
+ emacsclient --socket-name=notmuch-test-suite-9620 --eval '(progn (let ((message-send-mail-function '\''message-smtpmail-send-it)
(smtpmail-smtp-server "localhost")
(smtpmail-smtp-service "25025"))
(setq smtpmail-debug-info t)
(notmuch-hello)
(notmuch-mua-mail)
(message-goto-to)
(insert "test_suite at notmuchmail.org\nDate: 01 Jan 2000 12:00:00 -0000")
(message-goto-subject)
(insert "Testing message sent via SMTP")
(message-goto-body)
(insert "This is a test that messages are sent via SMTP")
(message-goto-to)
(kill-whole-line)
(insert "To: user at example.com\n")
(message-send-and-exit)))'
*ERROR*: Sending failed; SMTP protocol error
If I try to instrument the smtp-dummy binary, I can see:
11183/1: 0.1832 write(5, 0x0806550C, 26) = 26
11183/1: 2 2 0 l o c a l h o s t s m t p - d u m m y\r\n
11183/1: 0.1839 read(5, 0x0806550C, 8192) = 14
11183/1: E H L O S 1 1 . 1 _ F C S
11183/1: 0.1841 read(5, "\r\n", 8192) = 2
11183/1: 0.1842 write(5, "\r\n", 2) = 2
11183/1: 0.1842 write(5, 0x0806550C, 21) = 21
11183/1: 5 0 2 n o t i m p l e m e n t e d\r\n
11183/1: 0.1845 read(5, 0x0806550C, 8192) = 14
11183/1: H E L O S 1 1 . 1 _ F C S
11183/1: 0.1847 read(5, "\r\n", 8192) = 2
11183/1: 0.1847 write(5, "\r\n", 2) = 2
11183/1: 0.1847 write(5, 0x0806550C, 15) = 15
11183/1: 2 5 0 l o c a l h o s t\r\n
11183/1: 0.1850 read(5, " Q U I T", 8192) = 4
11183/1: 0.1852 read(5, "\r\n", 8192) = 2
11183/1: 0.1853 write(5, "\r\n", 2) = 2
11183/1: 0.1853 write(5, " 2 2 1 B Y E\r\n", 9) = 9
11183/1: 0.1854 close(3) = 0
11183/1: 0.1855 llseek(5, 0, SEEK_CUR) Err#29 ESPIPE
11183/1: 0.1855 close(5) = 0
11183/1: 0.1855 close(4) = 0
11183/1: 0.1856 _exit(0)
Which is
-> 220 localhost smtp-dummy
<- EHLO S11.1_FCS
-> 502 not implemented
<- HELO S11.1_FCS
-> 250 localhost
<- QUIT
-> 221 BYE
So it seems that emacs just quits after HELO command? Is there a way to
debug emacs? Several tests are using emacs for sending email ...
Thank you
--
Vlad
More information about the notmuch
mailing list