hannes changed the topic of #mirage to: https://mirage.io - bug cleaning day every first friday in month (14:00 UTC - late, next: May 4th) - next call May 2nd 16:00 BST https://github.com/mirage/mirage-www/wiki/Call-Agenda - this channel is logged at http://irclog.whitequark.org/mirage/ - MirageOS 3 is released - happy hacking!
tabakhase427 has quit [Remote host closed the connection]
Haudegen has quit [Remote host closed the connection]
jnavila has joined #mirage
pagurus has joined #mirage
<dinosaure> Ulrar: ah yeah, it's easy to send an e-mail from a MirageOS indeed :)
jnavila has quit [Ping timeout: 240 seconds]
Haudegen has joined #mirage
<hannes> depends on your concrete setup... if you hardcode the SMTP server's IP it shouldn't be too hard, in the other case you'll need to do some DNS lookups to find the MX for the destination address, and also handle failures (temporary ones) gracefully -- i.e. re-queue the mail if you couldn't reach the mail server, etc.
<hannes> I'd <3 to have a MirageOS unikernel which provides mailing list services.. ;)
<Ulrar> Well I just want to queue the email on an external smtp server, yeah
<Ulrar> There are a lot of libs doing that, but as far as I can tell none are compatible with mirage
<Ulrar> The SMTP server will do the delivery itself
<hannes> Ulrar: what would you do if there's no connectivity to the "external smtp server", or it replies with 450/451 (and rejects your message)?
<hannes> Ulrar: https://github.com/vbmithr/ocaml-smtp seems to be already functorised over IO (i.e. Lwt and Unix), would likely be simple to contribute a Mirage IO layer in there
<hannes> (but then, more recently there was the development of faraday and angstrom -- parser combinators -- which are used for HTTP in httpaf, and may be reused for SMTP for a from-scratch implementation)
<hannes> (which lacks TLS and authentication)
dmj` has joined #mirage
yomimono_ has joined #mirage
yomimono has quit [Ping timeout: 248 seconds]
tg[m]1 has joined #mirage
tg[m] has quit [*.net *.split]
cbarrett has quit [*.net *.split]
Ulrar has quit [*.net *.split]
andrewalker has quit [*.net *.split]
syntiux has quit [Ping timeout: 240 seconds]
syntiux has joined #mirage
pagurus has quit [Ping timeout: 240 seconds]
pagurus has joined #mirage
andrewalker has joined #mirage
Ulrar has joined #mirage
cbarrett has joined #mirage
pagurus has quit [Ping timeout: 240 seconds]
xuqzab[m] has quit [Ping timeout: 240 seconds]
smondet[m] has quit [Ping timeout: 246 seconds]
aantron has quit [Ping timeout: 245 seconds]
pagurus has joined #mirage
tg[m]1 has quit [Ping timeout: 260 seconds]
equalunique[m] has quit [Ping timeout: 260 seconds]
srenatus has quit [Ping timeout: 260 seconds]
ansiwen has quit [Ping timeout: 260 seconds]
copy` has quit [Ping timeout: 276 seconds]
hdurer[m] has quit [Ping timeout: 265 seconds]
jnavila has joined #mirage
Haudegen has quit [Remote host closed the connection]
<Ulrar> hannes: Well that's just an error like any other. Having a local smtp server doesn't guarantee the mail will be delivered either
<Ulrar> As a rule, smtp never guarantees anything, I'd say. Just have to take a look at yahoo or microsoft, even in the rare case they accept your mail they often drop it silently anyway ..
<Ulrar> Thanks for the link, I'll take a look
mort___ has joined #mirage
mort___ has left #mirage [#mirage]
tg[m] has joined #mirage
Haudegen has joined #mirage
ansiwen has joined #mirage
equalunique[m] has joined #mirage
copy` has joined #mirage
smondet[m] has joined #mirage
srenatus has joined #mirage
aantron has joined #mirage
hdurer[m] has joined #mirage
xuqzab[m] has joined #mirage
jnavila has quit [Remote host closed the connection]
Haudegen has quit [Remote host closed the connection]