unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* notmuch tests issue on solaris
@ 2013-08-13  8:49 Vladimir Marek
  0 siblings, 0 replies; only message in thread
From: Vladimir Marek @ 2013-08-13  8:49 UTC (permalink / raw)
  To: notmuch

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@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@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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-08-13  8:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-13  8:49 notmuch tests issue on solaris Vladimir Marek

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).