Re: Postfix based mailing list and yahoo's errors
On 2019-07-10 02:35, Greg Troxel wrote: Mayuresh writes: I have an smtp_header_check which adds Reply-To as the lists address (quite contrary to yahoo's suggestion). And contrary to IETF standards. Repent! I know that there is always a debate about it, but I can't remember seeing anything from IETF about it. Can you point me to that standard? Johnny -- Johnny Billquist || "I'm on a bus || on a psychedelic trip email: b...@softjar.se || Reading murder books pdp is alive! || tryin' to stay hip" - B. Idol
Re: Postfix based mailing list and yahoo's errors
On Tue, Jul 09, 2019 at 08:35:10PM -0400, Greg Troxel wrote: > https://www.unicom.com/pw/reply-to-harmful.html > http://marc.merlins.org/netrants/reply-to-still-harmful.html Thanks. I understand and appreciate the write ups. Firstly, I'll try not adding Reply-To and see if that accommodates yahoo. If not, I'll have to change the From to list address and Reply-To to sender's as yahoo suggested. Without arguing it to be correct, an expectation that "Reply should go to list automatically" exists. Most users won't bother to understand above points. Mayuresh
Re: Atheros AR9485
Do you have any idea how easy is port it from Free or Dragonfly? Mensagem Original Ativo 9 de jul de 2019 16:14, Leonardo Taccari escreveu: > Hello bmelo, > > bmelo writes: >> Hi, is there any driver for AR9485 wifi? Or any current development on it? >> Thanks. > > No, ATM neither athn(4) nor ath(4) supports them (AFAIK only FreeBSD > ath(4) supports that).
Re: Accessing a RAID disk attached externally via USB
On Tue, Jul 09, 2019 at 08:39:11PM -0400, Greg Troxel wrote: |mlel...@serpens.de (Michael van Elst) writes: |> fr...@phoenix.owl.de (Frank Wille) writes: |>>It appears as sd0 with a RAID partition in sd0a. How can I access an |>>FFS partition inside the RAID without changing anything on that RAID |>>disk? | |I am assuming that this is raidframe and the original system is NetBSD. | |If you have raid autoconfig enabled, I'd expect the raid set to just |appear, similar to how I would expect the original setup worked. a note of caution on this however - I have had experience with a external device and both my internal drive(s) using raidframe autoconfigure ... during boot one or other will be remapped to different raidN ID ... I'd gotten lucky in that my internal disks ended up on raid0 where they were meant to be and the external was remapped to raid7 (iirc) unfortunately, this change stays with the raidframe device, so when you insert that external disk back into it's original host the kernel on there can't boot because the root fs pivot fails ... some judicious booting from an install CD got me out of that, but it was a definite head-scratching moment to start with ... |> You could create a RAID set that includes that disk and access the |> raidframe device. |> |> You could also calculate the offset and size of the partition inside |> the RAID volume and manually add a wedge with these parameters. | |The raid header is 64 blocks, so a wedge that is like sd0a but starts |64 sectors later and ends in the same place should function like |raid0d. Then of course you may have a disklabel or gpt inside the raid. this seems the safest way ... of course if you want to absolutely make sure you don't modify your original disk, use a hardware duplicator first and use the copy (but be very very certain you haven't accidentally put them in the wrong way around ... btdt) Hope that helps, Malcolm -- Malcolm Herbert m...@mjch.net
Re: Accessing a RAID disk attached externally via USB
mlel...@serpens.de (Michael van Elst) writes: > fr...@phoenix.owl.de (Frank Wille) writes: > >>It appears as sd0 with a RAID partition in sd0a. How can I access an FFS >>partition inside the RAID without changing anything on that RAID disk? I am assuming that this is raidframe and the original system is NetBSD. If you have raid autoconfig enabled, I'd expect the raid set to just appear, similar to how I would expect the original setup worked. > You could create a RAID set that includes that disk and access the raidframe > device. > > You could also calculate the offset and size of the partition inside the RAID > volume and manually add a wedge with these parameters. The raid header is 64 blocks, so a wedge that is like sd0a but starts 64 sectors later and ends in the same place should function like raid0d. Then of course you may have a disklabel or gpt inside the raid.
Re: Postfix based mailing list and yahoo's errors
Mayuresh writes: > I am running a mailing list using postfix aliases. > > I find that it works fine with gmail users, but yahoo is rejecting mails > (note: not marking spam, simply rejecting) with the reject message citing > the following help URL: > > https://help.yahoo.com/kb/postmaster/SLN7253.html?guccounter=1 > > I am intrigued by their suggestion that goes like this: > > For mailing lists, also known as "listservs," you should change your > sending behavior by adding the mailing lists’ address to the "From:" > line, rather than the sender’s address. Also, enter the actual > user/sender address into the "Reply-To:" line. You should be aware that opinions on this differ widely. Yahoo seems to be performing cryptographic checks that mail from their domain is not altered in any way when accepting that mail back for delivery to yahoo. Mailinglists typically modify messages by adding a subject line tag or a footer. These two practices are not compatible. > On the contrary I have seen some mailing lists putting Reply-To address as > that of the list leaving From address untouched. That's an entirely different issue. That practice is contrary to standards. https://www.unicom.com/pw/reply-to-harmful.html http://marc.merlins.org/netrants/reply-to-still-harmful.html > I notice netbsd mailing lists are neither altering From field nor adding > Reply-To. How does it work with yahoo? (I am assuming some yahoo users > would be there on the list.) I don't know if it does or doesn't work. I would say that people from yahoo having trouble should consider a mail provider that allows them to subscribe to mailinglists :-) > I have an smtp_header_check which adds Reply-To as the lists address > (quite contrary to yahoo's suggestion). And contrary to IETF standards. Repent!
Re: csapp, really good?
On 2019-07-09 13:25, Andrew Luke Nesbit wrote: On 09/07/2019 09:09, Dan LaBell wrote: And, Practical C Programming, Steven Oualline (which I will part with in moment, and never really needed, but I will still recommend it) because it contains every scold you would know by heart, if you learned programming, in the unix lab. I see this book often and have skimmed through it once or twice. I never saw anything particularly compelling about it. I will have a closer look next time. Understanding the dark corners of C is essential to understanding the language properly. More importantly, it's important to know how to protect oneself against widely propagated misinfomation. An example of this kind of _misinformation_ is that arrays and pointers are the same. That partly stems from the unfortunate double meaning of a pointer, and also partly because of a little sloppy use of natural languages. When we say "pointer", do we mean a pointer variable, or the content that a pointer variable might store. The r-value of a pointer variable is the same as the r-value of an array. However, the l-value of a pointer variable is a pointer to the variable itself, while an array do not have an l-value. So an array and a pointer variable are certainly not the same thing. But a pointer, in the meaning "an address", is always an address, don't matter what it points to, or where you got that address from. Johnny -- Johnny Billquist || "I'm on a bus || on a psychedelic trip email: b...@softjar.se || Reading murder books pdp is alive! || tryin' to stay hip" - B. Idol
Re: Accessing a RAID disk attached externally via USB
fr...@phoenix.owl.de (Frank Wille) writes: >It appears as sd0 with a RAID partition in sd0a. How can I access an FFS >partition inside the RAID without changing anything on that RAID disk? You could create a RAID set that includes that disk and access the raidframe device. You could also calculate the offset and size of the partition inside the RAID volume and manually add a wedge with these parameters. -- -- Michael van Elst Internet: mlel...@serpens.de "A potential Snark may lurk in every tree."
Re: Atheros AR9485
Hello bmelo, bmelo writes: > Hi, is there any driver for AR9485 wifi? Or any current development on it? > Thanks. No, ATM neither athn(4) nor ath(4) supports them (AFAIK only FreeBSD ath(4) supports that).
Atheros AR9485
Hi, is there any driver for AR9485 wifi? Or any current development on it? Thanks.
Accessing a RAID disk attached externally via USB
Hi, I'm trying to save some data from a RAID system. I removed one disk from the RAID1 and attached it via a SATA USB adapter on my workstation, where I have the required analyzation tools. It appears as sd0 with a RAID partition in sd0a. How can I access an FFS partition inside the RAID without changing anything on that RAID disk? -- Frank Wille
Postfix based mailing list and yahoo's errors
I am running a mailing list using postfix aliases. I find that it works fine with gmail users, but yahoo is rejecting mails (note: not marking spam, simply rejecting) with the reject message citing the following help URL: https://help.yahoo.com/kb/postmaster/SLN7253.html?guccounter=1 I am intrigued by their suggestion that goes like this: For mailing lists, also known as "listservs," you should change your sending behavior by adding the mailing lists’ address to the "From:" line, rather than the sender’s address. Also, enter the actual user/sender address into the "Reply-To:" line. On the contrary I have seen some mailing lists putting Reply-To address as that of the list leaving From address untouched. I notice netbsd mailing lists are neither altering From field nor adding Reply-To. How does it work with yahoo? (I am assuming some yahoo users would be there on the list.) About my setup (but probably that doesn't matter to above question): I have an smtp_header_check which adds Reply-To as the lists address (quite contrary to yahoo's suggestion). I have spf record: v=spf1 mx ?all Haven't tried setting DMARC/DKIM as yet. Would avoid unless that's the only way left. Mayuresh
Re: Recover deleted FFS files
Recover from logical backup, if possible. I was just imagining how management might prefer a candidate who favors a RAID solution, simply because recovery or partial recovery of backup, is known to be impossible, so that conversation doesn't have to happen, every time, something is deleted, or added. Easy recovery from mistaken deletion, is actually bad, for a filesystem that is shared with many humans. In the future, use a tool to delete, instead, maybe, one that makes use of snapshots. Here's link to a tool, that simply, asks me, the questions, I know, I need to ask myself, to avoid stupid mistakes. https://pastebin.com/mZkZkx6k On Jul 7, 2019, at 7:33 AM, Frank Wille wrote: Hi, I found surpisingly few about the topic of undeleting files. Let's assume I have a FFSv2 WAPBL filesystem and made the big mistake to delete a whole directory with important data (simple "rm -rf", no -P). What options do I have for recovery? -- Frank Wille Inadvertent example of use: :untitled folder>:pwd /Users/daniel/untitled folder 0:untitled folder>:l 0:untitled folder>:cd .. 0:daniel>:remove untitled\ folder/ D 755 102b untitled folder/ Delete 1 file? y remove: untitled folder/ : Directory not empty Performed 0 deletion. 1:daniel>:cd untitled\ folder/ 0:untitled folder>:ll 0:untitled folder>:ls -l 0:untitled folder>:ls -a . .. .DS_Store 0:untitled folder>:rm .DS_Store 0:untitled folder>:cd .. 0:daniel>:remove untitled\ folder D 755 68b untitled folder Delete 1 file? yes Performed 1 deletion. 0:daniel>:
Re: where are graph algorithms used under an operating system project?
Testing the final product. Especially, if you're considering, it scientifically, then operating system is only half the architecture. Since, you say project. then you can mean something that includes, what would be an application on on something like netbsd. Because netbsd and other unix like -- I'm going to interrupt myself, to say that Painting algorithms are part of Graphs, as far as the science goes -- Anyway, presently, the only way to absolutely test for pre-fail, in a fixed disk, that I can use, is a program, that I'm constantly tweaking, that began, as my stab, at progress, since at that time it was hard to grab, if you can believe that. Anyway, something that painted the directory tree, while looking for slow spots, would be better, than an offline, or post backup: #./mbps < /dev/rwd0e > /dev/zero 2> log & sleep 2.5 : tail -f log The trick is to have it print out something like TOO SLOW!, and the end of line, when it's slower, than a limit, like 10 MB/s. If it's less 1, it's failing now. BTW to zero is necessary, null would just testing the seek function. So, because netbsd has the raw device, I can do this, without having use the Waterfall Model. On Jun 18, 2019, at 3:28 AM, Frédéric Fauberteau wrote: Le 2019-05-17 09:41, Mayuresh Kathe a écrit : due to a lack of background in formal computer science, i was under the impression that graph algorithms are only useful in networking related applications/areas. just noticed that even scheduling requires some level of graph algorithm knowledge. am i right in my reading/ observation? if not which areas of an operating system require a good grasp of graph algorithms? thank you. FMHO, an operating system has to be efficient and maintainable. And I am not sure it is a reasonable idea to implement graph algorithms (in a general way) in OS. But special cases of graphs as lists or trees are commonly used (e.g red-black trees had been used to implement a scheduler on Linux). When you talk about graph algorithms, it sounds to my ears as Dijkstra or Ford-Fulkerson, and I am not sure these algorithms are implemented in OS. But sure that lists and trees are used for schedulers, filesystems and probably a lo
Re: csapp, really good?
I believe, UNIX, later, POSX, was, scientifically, designed to have a few flaws, so that intermediate C programming would always be desirable. Once, you've mastered *File*OPS* , you can easily, add a *massrename* , remove-eye-oh, or remove , to your command line path. Here's a link to a tar of a folder for stuff, that I, really, started in college, in the 90's. ( But, actually, might be from a recover, come to think of it ;-) https://rapidgator.net/file/7e11bcde4d3ff8d08b221220b0fa4c49/link- unlink.tar.html On Jul 9, 2019, at 4:09 AM, Dan LaBell wrote: I think you should choose to buy from the Secondary Market. Two books. UNIX for Programmers, and Users, a Complete Guide. (NOT THE 2nd edition, the 1st ) Graham Glass (Really, I will never part with it, even though, it retailed for 40 dollars.) And, Practical C Programming, Steven Oualline (which I will part with, in a moment, and never really needed, but I will still recommend it) because it contains every scold you would know by heart, if you learned programming, in the unix lab.<2books.jpg> On Jun 8, 2019, at 3:57 AM, Mayuresh Kathe wrote: i stumbled upon "computer systems: a programmer's perspective" (url: csapp.cs.cmu.edu) and it looks like a really interesting book for a newbie to systems programming under unix. is it really good to warrant a purchase (expensive), or would the book by "maurice bach" be considered good enough, though the style of "c" used in the book seems a bit strange. thanks.
Re: csapp, really good?
On 09/07/2019 09:09, Dan LaBell wrote: UNIX for Programmers, and Users, a Complete Guide. (NOT THE 2nd edition, the 1st ) Graham Glass Why do you like the 1st edition more than the 2nd? I understand many reasons why an earlier edition is preferable. I have several examples of titles too, where I prefer an earlier edition. For example, when a beautiful chapter on an obscure, underrated, or overlooked topic is removed to make room for information on new developments. (And I appreciate this. Publishing is full of tradeoffs like this.) Note that there seems to be a 3rd edition of Glass available. And, Practical C Programming, Steven Oualline (which I will part with in moment, and never really needed, but I will still recommend it) because it contains every scold you would know by heart, if you learned programming, in the unix lab. I see this book often and have skimmed through it once or twice. I never saw anything particularly compelling about it. I will have a closer look next time. Understanding the dark corners of C is essential to understanding the language properly. More importantly, it's important to know how to protect oneself against widely propagated misinfomation. An example of this kind of _misinformation_ is that arrays and pointers are the same. There aren't many of these dark corners but most of them have a profound influence. I highly recommend getting a copy of "Expert C Programming: Deep C Secrets" by Peter van der Linden and reading it with K's 2nd edition close by, which it makes meaningful references to. As for the original book you asked about, CS:APP3e, I think it looks fantastic. It's been on my list of books to read for about a year. From what I've seen it's completely different to the Unix book by Bach. Andrew -- OpenPGP key: EB28 0338 28B7 19DA DAB0 B193 D21D 996E 883B E5B9
Re: csapp, really good?
I think you should choose to buy from the Secondary Market. Two books. UNIX for Programmers, and Users, a Complete Guide. (NOT THE 2nd edition, the 1st ) Graham Glass (Really, I will never part with it, even though, it retailed for 40 dollars.) And, Practical C Programming, Steven Oualline (which I will part with in moment, and never really needed, but I will still recommend it) because it contains every scold you would know by heart, if you learned programming, in the unix lab. On Jun 8, 2019, at 3:57 AM, Mayuresh Kathe wrote: i stumbled upon "computer systems: a programmer's perspective" (url: csapp.cs.cmu.edu) and it looks like a really interesting book for a newbie to systems programming under unix. is it really good to warrant a purchase (expensive), or would the book by "maurice bach" be considered good enough, though the style of "c" used in the book seems a bit strange. thanks.