I built a firmware which works fine apart from one package: emailrelay
I start it just like the userguide prescribes:
root@nucom:~# emailrelay --as-server --port 10025 --spool-dir /tmp
but when I try debugging with nc it crashes:
root@nucom:~# nc localhost 25
220 nucom -- E-MailRelay V1.9 -- Service ready
Here it stops responding to any further input. Hitting ^C it crashes:
Tue Feb 9 00:02:46 2016 user.notice emailrelay: Starting emailrelay service.
Tue Feb 9 00:02:46 2016 mail.info [11602]: emailrelay: info: smtp server on 0.0.0.0:25
Tue Feb 9 00:02:54 2016 mail.info [11602]: emailrelay: info: smtp connection from 127.0.0.1:34584
Tue Feb 9 00:04:04 2016 mail.info [11602]: emailrelay: info: smtp connection closed: read error: disconnected: 127.0.0.1:34584
Tue Feb 9 00:04:04 2016 kern.info kernel: [ 7166.326328]
Tue Feb 9 00:04:04 2016 kern.info kernel: [ 7166.326328] do_page_fault(): sending SIGSEGV to emailrelay for invalid write access to 004484c4
Tue Feb 9 00:04:04 2016 kern.info kernel: [ 7166.335298] epc = 776d81b4 in libc.so[776b0000+91000]
Tue Feb 9 00:04:04 2016 kern.info kernel: [ 7166.340492] ra = 776d8354 in libc.so[776b0000+91000]
Tue Feb 9 00:04:04 2016 kern.info kernel: [ 7166.345886]
There is very little information on the internet on emailrelay. Suspiciously little.
Any ideas?
(Last edited by suso on 9 Feb 2016, 00:31)