01:09:18 troubleshooting question - I am setting up dovecot in a jail. Upon starting the jail, dovecot generates error messages to /var/log/maillog (socket address in use for imap, auth,...), but if I kill the dovecot master process and use "service dovecot start" it works fine. Is there something special about jail startup that might be the issue? 04:48:26 what error 04:58:22 I am guessing that PhilVuchetich has dovecot running both in a jail and in the host sharing the network. 07:09:37 Sometimes waiting before having the service turn on, is all that is needed to side-step this kind of issue. It could be starting too quickly. 08:26:12 dch: how's the golf? meanwhile i found totally unknown sedcode to trim off empty lines from begin end end of file but nothing for mid line pattern replacement with file... this looks like job for a templating engine and maybe base needs text processor like this either part of something or new tool, who knows 10:13:51 i managed to find/adapt 10:13:54 sed "s/%content%/`sed 's/[\&/]/\\\&/g;s/$/\\\n/' < content-file | tr -d '\n'`/g" < data 10:14:20 but what the actual fuck is this 11:18:03 Hello all, im at an Airbnb and trying to connect to the wifi from freebsd works (it authenticates) but no dhcp address is picked up, ifconfig reports no carrier, and then about a minute later it disconnects, dmesg shows a single error before the interface resets, I get iwn0: null_update_chw: need callback 11:18:09 any ideas? 11:20:11 another horrible wifi bug? 11:21:59 maybe... 11:22:05 Never had wifi issues before :) 11:22:10 did it work before? 11:22:24 Yup, it works on all other networks I have tried and all other airbnbs 11:22:40 never had an issue 11:22:50 maybe the ap got busted there? 11:22:57 works on android 11:23:08 using my phone right now via the same wifi network 11:23:39 i wonder what makes this ap special 11:23:52 freq, mode? 11:24:04 oo I should change the regdomain 11:24:09 that might be a problrm 11:24:13 its currently set to GB 11:24:23 im in Romania xD 11:24:31 that shouldn't affect much 11:24:43 isn't it same reg 11:28:36 i wonder if it's new bug 11:29:10 or where the issue is 11:29:41 there is sizable wifi rework being done right now 11:32:56 what fbsd version? 12:16:57 wow quick commit, thanks freebsd 12:39:01 ketas: there's certainly perl tools in base to do this, but not perl-with-json support 12:40:15 long term I will see if I can add json support to flua via libucl which is already in base 12:40:47 https://docs.freebsd.org/en/books/handbook/mail/ Using DMA to Route Outgoing Mail through Gmail THIS IS NOT WORKING VvV 12:42:03 perl in base? 12:42:05 ketas: https://reviews.freebsd.org/F107268658$52 is what I ended up with. the quoting is sheer madness 12:42:12 ketas: yes perl is in base system 12:42:34 i need some assistance in running DMA on my freebsd server 12:42:55 dch: of fbsd 4? 12:42:57 :p 12:45:09 json in json is a hell 12:45:30 ketas: actually what am I thinking we do not have perl in base 12:46:05 ketas: yes somebody made a poor design choice in virtualbox decades ago and it is still present in oracle's cloud setup today 12:46:22 mane: whats not working? I have battled a bit with dma the last couple of weeks 12:46:25 not all providers work 12:46:53 So Google just won’t work 12:47:00 What provider will? 12:47:11 perhaps b64 in json would be acceptable 12:48:36 mane: share your config? also compare it against https://www.dragonflybsd.org/docs/howtos/HowTo_dma_gmail/ 12:48:50 I don't have a google acct anymore so can't check it 12:48:53 now i get where your replace code actually went 12:49:05 ketas: yep into the bowels of satan 12:49:14 the jq version was quite readable really 12:49:42 hopefully you don't need 3 levels of json 12:50:00 mane: also when you say "it doesn't work" you can look in /var/spool/dma/ and see exactly what its complaining about 12:50:28 IIRC there's a pair of files for each message , one of them is a transcript of the failure 12:50:45 uth failure 12:50:49 auth failure 12:50:50 and finally its possible to run dma in the fogreground directly and you see what its unhappy with 12:53:26 mane: did you make an app password? per https://myaccount.google.com/apppasswords 12:53:36 the standard password will not be accepted via smtp 12:53:44 if that works, we should amend the handbook with that info 12:54:20 I got it from https://www.dragonflybsd.org/docs/howtos/HowTo_dma_gmail/ 12:54:31 dch: :O i didn't know about it! 12:54:59 mane: let me know if it works, we can amend the docs 12:56:53 dch: (>' .')> IT WORKS! 12:56:59 dch: could sed be changed to have it replace pattern within line with contents of a line? 12:57:07 file 12:57:13 probably 12:57:27 it may already do this and we just don't know how :D 12:57:55 i looked and i find no feature like this 13:00:11 so how would i configure MTA for multiple users? 13:02:17 sed is not only line based thing, otherwise s/a/b/g would fail too 13:06:34 mane: I don't believe you can with dma 13:07:07 its sole purpose is to fwd local mail to a smart host (aka real mailserver) 13:07:19 it might support "sending" mail to local users tho, I never used it 13:08:40 ketas: https://unix.stackexchange.com/questions/20322/replace-string-with-contents-of-a-file-using-sed ? 13:10:57 i had better stackexchange page on this 13:11:10 but no real solution 13:11:19 nothing in man too 13:11:40 powerful stream editor, can't do this? 13:11:51 aah this explains some of my initial issues https://www.pement.org/sed/sedfaq5.html#s5.9 14:29:33 Howdy everyone. Kinda new to FreeBSD. Wondering if it's okay to mix pkg and ports willy-nilly? For example I'm running the pkg version of Emacs but I want to remove it and use the port so I can have xwidgets support. Is that alright or do I need to do some surgery? 14:58:26 mountainman1312: welcome. generally its possible but advised against. what tends to happen is stuff gets subtly out of date over time. 15:00:12 0 15:01:12 feel free to run with this for a while, until you get a bit more comfortable. I highly recommend getting familiar with poudriere, and eventually building your own ports as local packages. 15:01:41 this depends a bit on whether your system is big enough to build ports itself, or not. 15:03:22 typically in this situation, you'd build your local emacs, then use pkg lock to prevent it being upgraded 15:03:48 then, underlying issue is that you run `pkg upgrade ...` and get the dependencies upgraded, but your locally-built port will either lose its custom nature (if unlocked, the upgrade replaces it with the pkg provided on) or wont run properly as the dependencies change 15:04:12 mane: https://github.com/freebsd/freebsd-doc/pull/457 15:15:22 dma and ssmtp can't do relaying and local /var/spool delivery, but OpenSMTPD from OpenBSD can 15:16:14 it's explained fairly well here: https://wiki.archlinux.org/title/OpenSMTPD#Local_mail 15:30:43 polarian: are you still there 15:36:03 polarian: because i got number of debug command you could run 15:52:21 ketas: im here but not with my laptop 15:52:45 oh 15:54:03 did you throw it out of the window because it didn't connect? 16:13:46 <[tj]> polarian: if you join #freebsd-wifi on Efnet Adrian@ would like to debug this 16:47:29 dch: thanks for that 19:00:29 [tj]: alright sure 19:00:37 its really hard to type on mobile though 19:04:44 ketas: 14.1-RELEASE (I still need to debug 14.2 as update failed when it released) 20:21:35 ouch, quarterly pkg upgrade broke my prosody.... 20:21:57 becuase luadbi switched database from sqlite3 to mysql 20:27:14 km: another point for running poudriere huh 20:27:31 (I also run prosody but mine uses PostgreSQL as back-end) 20:32:05 I guess I'll have to use ports 20:32:32 this was a dramatic change, tbh 20:32:51 who just swaps database drivers like this? 20:38:46 km: apparently it is supposed to default to MySQL 20:39:29 in Oct 2023: databases/luadbi: Update OPTIONS_DEFAULT As MySQL57 is reaching EOL and this port does not support MySQL80 so change the OPTIONS_DEFAULT to SQLITE3 and unbreak. 20:40:33 yes, but still swapping defaults back and forth is very dramatic 20:41:17 true 20:41:38 hmm apparently migrating prosody from sqlite3 to postgresql is somewhat trivial 20:43:29 sqlite3 is a very nice default driver 21:17:09 Remilia: luckily, getting sqlite3 driver without using ports is easy enought 21:17:34 also, luckily, sqlite3 tends to just work :) 22:29:08 km: you could open a ticket and discuss it with the freebsd devs, sqlite is a standalone dependency which doesnt require another daemon running, so indeed a better default... 22:35:36 anyone using zen4? 22:36:22 sqlite is almost always better default unless the machine is a intended to be a server. Then it's less of an issue. But on a desktop laptop I don't want to run mysql / postgres / etc. 23:07:38 You can also easily optimize sqlite https://kerkour.com/sqlite-for-servers