Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Aug 19 16:39
    rqelibari opened #421
  • Aug 19 16:32
    rqelibari opened #420
  • Aug 19 13:39
    ukwuezeobinna commented #419
  • Aug 18 12:07
    andris9 commented #419
  • Aug 18 12:01
    louis-lau commented #419
  • Aug 18 12:00
    ukwuezeobinna commented #419
  • Aug 18 11:44
    ukwuezeobinna commented #419
  • Aug 18 10:11
    louis-lau closed #419
  • Aug 18 10:11
    louis-lau commented #419
  • Aug 18 10:09
    ukwuezeobinna opened #419
  • Aug 17 19:13

    andris9 on master

    Skip BIMI SVG errors if VMC val… (compare)

  • Aug 17 12:06
    louis-lau commented #418
  • Aug 17 10:27
    Bianconiglio opened #418
  • Aug 16 20:05
    louis-lau closed #50
  • Aug 16 20:05
    louis-lau commented #50
  • Aug 16 20:02
    mmv-dev opened #50
  • Aug 16 12:30

    andris9 on fix-cert-ca

    (compare)

  • Aug 16 12:30

    andris9 on master

    Fixed CA handling for SNI certi… Merge pull request #417 from no… (compare)

  • Aug 16 12:30
    andris9 closed #417
  • Aug 16 12:23
    andris9 opened #417
Louis
@louis:laureys.me
[m]
Oh, how so?
Richard Bateman
@taxilian
so not sure I have it set up correctly
Louis
@louis:laureys.me
[m]
To see logs you need to enter a search query in the top right
If you want to see all messages you can just search for a starting date of 2022
Richard Bateman
@taxilian
ahh, huh. yep, I can see it now
why did that not work when I last tried?
Louis
@louis:laureys.me
[m]
🤷
Richard Bateman
@taxilian
you're supposed to know everything! :-P
Louis
@louis:laureys.me
[m]
hahahaha
Richard Bateman
@taxilian
well, this is fantastic. does this keep logs for a set period, or all time, or...?
this should work for what I need; I just need an API I can call from another app to check if a message was delivered
Louis
@louis:laureys.me
[m]
A set period. Not entirely sure but from the top of my head it's 30 days
Richard Bateman
@taxilian
is that using a TTL index, or some other mechanism? or do you know?
Louis
@louis:laureys.me
[m]
Not sure! I know the log entries are stored in mongodb, so they probably have a date there
And then they're periodically purged
Richard Bateman
@taxilian
ahh, there is a "messages_autoexpire" index
so I'm gunna guess..... =]
Louis
@louis:laureys.me
[m]
That's just me completely guessing though
Yeah that seems logical haha
Richard Bateman
@taxilian
and looking at these there is an "e" field with a date which looks like it's about 30 days out
(the one I'm looking at was added yesterday and has a date of Mar 3)
so it'd be easy to change the index if you wanted to make them last longer
the app most likely doesn't recreate it if it exists, only adds it if it is missing
I may not know a lot about email or be great at most front-end frameworks, but if you need help with typescript, node.js, or mongodb let me know :-P
Louis
@louis:laureys.me
[m]
Heheh I'm really a jack of all trades,
Richard Bateman
@taxilian
I mostly am as well, but this is just not a trade I've needed before =] and the frontend libraries I can figure out, but it took me almost two hours to understand the wildduck-ui react project well enough to figure out the issue was caused by a stupid typo =] just lack of experience with that particular thing. I tend to focus on integration between systems, backends, databases, etc, but since I run some full stack projects I can work anywhere... it's just a question of where I'm most likely to be helpful
Louis
@louis:laureys.me
[m]

but it took me almost two hours to understand

tbh that's better than most haha

Richard Bateman
@taxilian
I'm weak there, not incompetent ;-)
Louis
@louis:laureys.me
[m]
Hahahaha, yes indeed
Andris Reinman
@andris9
About that acme config issue. Well, yeah, that was an accident. The current config system merges production config with the default so the assumption is that if a default is set, then it always exists. Turned out to be not 100% correct. The config system needs an overhaul anyway as it does not support environment variables. Everybody doing docker is complaining all the time that they can't pass container-specific config easily and if they use command-line arguments then secrets are visible in the process listing.
7 replies
Andris Reinman
@andris9
zmta-webadmin stores delivery logs for 30 days (can be configured here)
Andris Reinman
@andris9
Regarding tracking message delivery info. The identifier to look for is not message_id, but queue_id. Message-id is not known in each delivery step. Unfortunately, this means multi-step log digging (first search by message_id, which gives you queue_id to see the entire processing flow).
Screenshot 2022-02-03 at 10.20.12.png
the screenshot is from the following search: queue_id:17ebea748c9000fd13
this is the "happy path" result. first there is a SMTP session in the MSA server that queues the message. and then MTA succeeds to deliver the message on the first attempt. If there would be any issues, or here would me more recipients than 1, then there would be more log lines
Andris Reinman
@andris9
you can use that delivery info in Graylog for all kinds of charts. for example, here's an example of an hourly delivery stats:
Screenshot 2022-02-03 at 10.38.07.png
Richard Bateman
@taxilian
I most definitely need to find time to really learn how to use graylog -- I was not previously familiar with it
also thanks =]
I did finally find that I needed to use the queue id -- while I was in the process of looking to see if I could add message id to every event =]
Louis
@louis:laureys.me
[m]
Yeah that's hard, I'll have a think about it as well
For duckyapi I just put json into a env var
For a more complicated setting
One config I came across recently while implementing oauth for my employer is this:
https://www.ory.sh/hydra/docs/reference/configuration/
They have nested variables in a yaml file, but each can be set as an env var as well
Richard Bateman
@taxilian
ooh, and the queue id is returned by the 250 response. nice
Richard Bateman
@taxilian
a little aggregation pipeline saved as a view and I can pretty easily just query that directly from my app to get what I want =] excellent
Andris Reinman
@andris9

NB! Gitter has become quite unstable lately, so I'm testing Discord as an alternative. I already have a room for EmailEngine there and it has worked well. (I know there's also Matrix and whatnot but Discord is something I've already been using for other stuff and I have no issues with it).

Link to join: https://wildduck.email/discord

Andris Reinman
@andris9
(PS. I regularly remove comments below this line to keep the notice about the discord link as the first one)