Provide a code example

2021-01-24 Thread Ivan
Can you send a C code example of obtaining sysctl vm.loadavg via sysctl(2) function? -- Regards, Ivan

Re: relay email from users to per-user smtp servers

2021-01-24 Thread Martijn van Duren
I have no clue on what you're trying to do, so here's my best guess. Your users have something like a shell account and want to submit mail via the sendmail command. Your users want you to forward the mail to their "standard" mailserver before it is relayed further. Afaik there is no option to

Re: FDE disk setup instructions are misleading when installing from USB

2021-01-24 Thread Mihai Popescu
> I am therefore extremely grateful to Cullum Smith and the other "OpenBSD on a > laptop" howtos for making it feasible to get this far. Go get grateful on that blog's address and stop spamming here, please. Your point is totally wrong. Totally!

Re: Provide a code example

2021-01-24 Thread Otto Moerbeek
On Sun, Jan 24, 2021 at 09:12:16AM +0100, Ivan wrote: > Can you send a C code example of obtaining sysctl vm.loadavg via sysctl(2) > function? > -- > Regards, > Ivan > Youn have the source: grepping for VM_LOADAVG turns up usr.bin/top/machine.c: static int sysload_mib[] = {CTL_VM,

Re: relay email from users to per-user smtp servers

2021-01-24 Thread Rudolf Sykora
Dear Chris, thank you for your ideas. Chris Bennett writes: > It sounds to me that need to configure your email clients to do the > switcheroo about from addresses, etc. > I use neomutt, which might not be suitable since it's a text only. > But I login to my shell. Then I start neomutt and

Re: Understanding memory statistics

2021-01-24 Thread Anindya Mukherjee
Hi, Thank you very much for taking the time to answer these. I think I now have a better understanding and also got rid of a couple of misconceptions. I'm switching gears slightly to work on porting a couple of my favourite packages; once done I'll resume my research. Regards, Anindya From:

Re: FDE disk setup instructions are misleading when installing from USB

2021-01-24 Thread tetrahedra
On Sat, Jan 23, 2021 at 04:25:39PM -0800, Bryan Wright wrote: Perhaps someone will make some changes to the installer or documentation. But, I can tell you, a diff, or at least a proposed specific solution, will always go a lot further than pointing out a potential problem, simply because

Re: relay email from users to per-user smtp servers

2021-01-24 Thread Chris Bennett
On Sun, Jan 24, 2021 at 04:52:13PM +0100, Rudolf Sykora wrote: > > > In my case, my computer gathers mail from various mail services using > mbsync. I want to be able to reply the mail, but have the reply use the > mail server that is most suited for the reply. E.g., if I get an email > from

Re: relay email from users to per-user smtp servers

2021-01-24 Thread Rudolf Sykora
Martijn van Duren writes: > I have no clue on what you're trying to do, so here's my best guess. > Your users have something like a shell account and want to submit mail > via the sendmail command. Your users want you to forward the mail to > their "standard" mailserver before it is relayed

pkg_info(1) manpage issue

2021-01-24 Thread Andrew Easton
Hello everyone, it appears that there may be a way to misinterpret the man page for pkg_info(1) in the state of commit 0b249e2164be2385bc6a5e82814435649b2b06e0 Date: Sun Jan 24 10:21:43 2021 + on the github openbsd src mirror. The problem description is under the headline "Issue". There

Re: relay email from users to per-user smtp servers

2021-01-24 Thread Edgar Pettijohn
You may want to look at table(5) specifically the credentials section. Not sure how ugly it would get with multiple relay rules, but I think it should be possible. However, I think it would just be easier to teach your mua to do it for you. Edgar

boot_config(8) man page issue; and possibly openbsd.org/report.html

2021-01-24 Thread Andrew Easton
Hello everyone, it appears that there may be a way to misinterpret the man page for boot_config(8) in the state of commit 0b249e2164be2385bc6a5e82814435649b2b06e0 Date: Sun Jan 24 10:21:43 2021 + on the github openbsd src mirror. The problem description is under the headline "Issue".

Re: pkg_info(1) manpage issue

2021-01-24 Thread Edgar Pettijohn
On Sun, Jan 24, 2021 at 09:35:46PM +0100, Andrew Easton wrote: > Hello everyone, > > it appears that there may be a way to misinterpret > the man page for pkg_info(1) in the state of > commit 0b249e2164be2385bc6a5e82814435649b2b06e0 > Date: Sun Jan 24 10:21:43 2021 + > on the github