#haraka

/

      • godsflaw joined the channel
      • donspaulding joined the channel
      • donspaulding joined the channel
      • donspaulding joined the channel
      • donspaulding joined the channel
      • donspaulding joined the channel
      • donspaulding joined the channel
      • dopesong joined the channel
      • godsflaw has quit
      • dopesong_ joined the channel
      • grasser has quit
      • endre has quit
      • endre joined the channel
      • grasser joined the channel
      • grasser is now known as Guest13173
      • Kaustubh joined the channel
      • Kaustubh
        Can you please tell how to receive mail in haraka
      • rr joined the channel
      • rr is now known as Guest76456
      • Guest76456 has quit
      • Kaustubh has quit
      • Kaustubh joined the channel
      • _smf_
        Kaustubh: set-up MX or A record for the label (e.g. domain or hostname) that you wish to receive mail for that points to your Haraka installation. Add the label (e.g. domain or hostname) to your config/rcpt_to.in_host_list. Then set-up smtp_forward to point to a mailbox host that will deliver the mail for that label to a mailbox (Haraka can't do this itself, unless you get it to deliver to an LMTP server like procmail or dovecot).
      • Kaustubh
        _smf_ No file rcpt_to.in_host_list in config
      • _smf_
        Kaustubh: sorry config/host_list
      • I don't use that particular plugin so I'd forgotten the name.
      • donspaulding joined the channel
      • donspaulding joined the channel
      • baudehlo1
        morning
      • baudehlo1 is now known as baudehlo
      • Kaustubh has quit
      • _smf_
        morning baudehlo
      • Good weekend?
      • baudehlo
        Not bad. Went to see Ant Man. Enjoyed that (except for it being in 3d - I'm so sick of 3d movies)
      • _smf_
        Yeah - 3D sucks. Headache inducing.
      • baudehlo
        And the cinema we were in doesn't have a proper 3d projector, so it's half brightness.
      • _smf_
        Plus as a glasses wearer - putting those fucking 3d glasses over the top is really uncomfortable.
      • baudehlo
        I bet
      • donspaulding joined the channel
      • donspaulding joined the channel
      • donspaulding joined the channel
      • Skutt joined the channel
      • Spathon
        Hi
      • godsflaw joined the channel
      • How do you require outbound from a subfolder?
      • godsflaw has quit
      • _smf_
        Spathon: for plugins; you just do a: var outbound = require('./outbound'); and Haraka will find it automatically.
      • Regardless as to whether they are in a sub-folder of plugins or not.
      • Spathon
        I have a plugin that are calling another module that are in a sub-folder. I can require outbound from the plugin but not from the module
      • _smf_
        Weird; I'd have thought that should have worked the same, given the 'require' is actually a custom_require function that is provided via the plugin vm.
      • s/given the/given that/
      • Spathon
        I solved it for now by require it in the plugin and pass it in to the module
      • donspaulding joined the channel
      • baudehlo
        _smf_: yeah but if you require() something from a plugin, it's not in the same sandbox.
      • it uses the system require()
      • _smf_
        Ok - I didn't realise that as I haven't done that in a module before. I guess a relative path is then required?
      • baudehlo
        yeah
      • it's the same as if you did a require() for something in node_modules - it couldn't do require('./outbound') either.
      • donspaulding joined the channel
      • donspaulding joined the channel
      • _smf_
        baudehlo: I always presumed the loading stuff in a plugin (and hence inside the vm) meant that require => custom_require.
      • baudehlo
        It is. But it ultimately calls core require() rather than loading the code in a sandbox.
      • _smf_
        Ok - but I thought that './' in the front of the filename always caused custom_require to attempt to load HARAKA_DIR + '/' + plugin instead.
      • Spathon
        could it not be useful to have a custom require function for haraka specific files to call from plugins/modules? require_haraka('outbound') than it's also easier to see where the file is from
      • donspaulding joined the channel
      • EyePulp joined the channel
      • donspaulding joined the channel
      • donspaulding joined the channel
      • baudehlo has quit
      • godsflaw joined the channel
      • teknix_ joined the channel
      • ultimatt joined the channel
      • dopesong joined the channel
      • Spathon joined the channel
      • Spathon has quit
      • lnb has quit
      • Spathon joined the channel
      • Spathon has quit
      • donspaulding joined the channel
      • donspaulding joined the channel
      • lnb joined the channel
      • donspaulding joined the channel
      • baudehlo joined the channel
      • Spathon joined the channel
      • maximalism joined the channel
      • maximalism has quit
      • teknix_ has quit
      • Spathon has quit
      • donspaulding joined the channel
      • EyePulp has quit
      • donspaulding joined the channel