Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Dec 03 22:04

    andris9 on hapi

    added routing for listing authl… (compare)

  • Dec 03 16:01

    andris9 on hapi

    added basic tests for domainali… added hapi routes for POST/DELE… (compare)

  • Dec 03 14:32
    andris9 commented #361
  • Dec 03 14:02
    IndeedNotJames commented #361
  • Dec 01 21:31

    andris9 on hapi

    Added Hapi routes for /domainal… (compare)

  • Dec 01 20:53

    andris9 on hapi

    Moved change stream endpoint to… (compare)

  • Nov 30 13:41

    andris9 on hapi

    added tests for certs/dkim endp… (compare)

  • Nov 30 13:07

    andris9 on hapi

    Added API endpoints for DKIM (compare)

  • Nov 28 13:55
    R4Ajeti opened #366
  • Nov 24 00:27
    snyk-bot opened #365
  • Nov 24 00:27

    andris9 on snyk-fix-a46d8c41e55a881121e0a6492550f04f

    fix: package.json to reduce vul… (compare)

  • Nov 24 00:27

    andris9 on snyk-fix-a46d8c41e55a881121e0a6492550f04f

    (compare)

  • Nov 23 13:00

    andris9 on hapi

    Started migrating from Restify … (compare)

  • Nov 21 15:30
    louis-lau commented #364
  • Nov 21 02:31
    louis-lau commented #364
  • Nov 21 02:20
    lexparsimonet closed #364
  • Nov 21 02:20
    lexparsimonet commented #364
  • Nov 21 02:12
    louis-lau commented #364
  • Nov 21 02:10
    lexparsimonet opened #364
  • Nov 19 22:43
    brinnington opened #363
Louis
@louis:laureys.me
[m]
Sure. Or edit it in the config mounted to the docker container.
2 replies
Louis
@louis:laureys.me
[m]
Yes. You can set it in api.toml
I recommend reading through all config options.
Sonu Sharma
@echosonusharma
@louis:laureys.me thanks for the help, got it. just change accessToken to some value and [accessControl] enabled=false to true and while making api calls pass the accessToken in header.
Sonu Sharma
@echosonusharma
Right ?
Louis
@louis:laureys.me
[m]
I'm not sure you even need to enable accessControl. Why don't you try it? :)
That way you'll know instantly without having to ask haha
Sonu Sharma
@echosonusharma
big brain time 😁
Sonu Sharma
@echosonusharma
btw one question guys, should i care about role based authentication as wildduck just talks to my backend via apis, it isn't exposed to the front-end, so is it fine i just set up a single master accessToken in the api.toml file and leave it like that for all the api communication to my backend.
Louis
@louis:laureys.me
[m]
Yep, that sounds about right
Sonu Sharma
@echosonusharma
thanks for the help, louis.
Sonu Sharma
@echosonusharma
error: '"user" must only contain hexadecimal characters. "user" length must be 24 characters long', code: 'InputValidationError', details: { user: '"user" must only contain hexadecimal characters' } i get this while sending mails from wildduck, what does it mean ? where should i make changes, is it related to username or something, couldn't find anything in the docs.
Louis
@louis:laureys.me
[m]
On /users/{user}/submit ?
Sonu Sharma
@echosonusharma
yea on that route, sorry for bothering.... turns out i was messing up {user} in code, now it works fine. 😌
Louis
@louis:laureys.me
[m]
😁👍️
Mohammed M R Zourob
@dash7ou
Hi @louis:laureys.me , Can u help me how can I add TLS to SMTP when the email sends so this email does not go to spam folder pls.
2 replies
Louis
@louis:laureys.me
[m]
@dash7ou the TLS settings you're talking about have no influence over email being marked as spam whatsoever ;)
Mohammed M R Zourob
@dash7ou
@louis:laureys.me its give me 6.7/10 score
Louis
@louis:laureys.me
[m]
It should tell you what to improve
Mohammed M R Zourob
@dash7ou
@louis:laureys.me Yup thanks.
dkbr-lab
@dkbr-lab
I am trying to search all mail via the API to find messages with attachments. I am iterating over 250 as per the API limit, but it's painfully slow. Is there a way to increase the API limit? It seems WD is doing the same mongo query each time, no matter if the limit is 5 or 250 - there are only 5000 messages in total but it's still taking forever and ever. I imagine that if I can increase the API response limit for searching, things will go a lot faster?
Louis
@louis:laureys.me
[m]
Only by editing the code, but should be easy enough. Just remove the .max(250) here:
https://github.com/nodemailer/wildduck/blob/master/lib/api/messages.js#L270
dkbr-lab
@dkbr-lab
Awesome! Thank you Louis!
Louis
@louis:laureys.me
[m]
😁👍️
Mohammed M R Zourob
@dash7ou
@louis:laureys.me I have a problem connecting to SMTP with the domain name but when I use instance IP directly it's working fine to connect and send emails, Do u know what the problem is exactly is or how can I debug it because nothing shows up in logs.
btw I am using Cloudflare and disable DNS but still not working.
Louis
@louis:laureys.me
[m]
Did you disable the proxy? (orange cloud icon)
Mohammed M R Zourob
@dash7ou
@louis:laureys.me Ya I have disabled the proxy dns only
Louis
@louis:laureys.me
[m]
Ah. Try curl -v smtps://example.com
Replace example.com with your smtp host
Mohammed M R Zourob
@dash7ou
  • Trying x.x.x.x:465...
  • TCP_NODELAY set
  • connect to x.x.x.x port 465 failed: Connection refused
  • Failed to connect to x.email port 465: Connection refused
  • Closing connection 0
    curl: (7) Failed to connect to x.email port 465: Connection refused
    @louis:laureys.me
Louis
@louis:laureys.me
[m]
Seems port 465 isn't open on that ip
Mohammed M R Zourob
@dash7ou
No its opened see this ss: and when I try smtp connection to ip address directly its working fine.
@louis:laureys.me
Louis
@louis:laureys.me
[m]
Curl doesn't lie I'm afraid ;)
Are the ip you're connecting to and the one resolved by curl the same ip?
Mohammed M R Zourob
@dash7ou
Ya same Ip bro @louis:laureys.me
Louis
@louis:laureys.me
[m]
And you're connecting to 465 on that ip?
You can use the curl command with an ip as well
Mohammed M R Zourob
@dash7ou
Nope to 587 because this is port in docker, but this one 465 from reverse proxy by treafik
Louis
@louis:laureys.me
[m]
There's no point in testing two different things haha
Like I said, something is blocking access to port 465
Mohammed M R Zourob
@dash7ou
@louis:laureys.me let me explain to u the direct port in instance ip is 587 and working fine, but when I try to connect to smtp on domain name use traefik its not working because container work on 587 port but treafik config to connect to this container is 465
Louis
@louis:laureys.me
[m]
That's not why
Traefik listens on port 465, and forwards the traffic to the container on port 587
Mohammed M R Zourob
@dash7ou
Yup I know that
Louis
@louis:laureys.me
[m]
Either Traefik isn't running
Or something is blocking access to port 465
Mohammed M R Zourob
@dash7ou
no when I try to open wildduck webmail its working
port 443 working fine