Re: How to setup Realtek 8139 10/100BaseTX cardbus?

2019-01-10 Thread Fekete Zoltán

2019-01-10 22:54 időpontban Csányi Pál ezt írta:

Hi,

when I installed this NetBSD system on my old laptop, I used an USB
Etherneth adapter.

Now I have a Realtek 8139 10/100BaseTX cardbus attached to this laptop
and removed the USB Etherneth adapter.

I am using DHCP client to get an IP address to this system.
How can I setup this PCMCIA card for reaching the Internet?


Hi Pál!

Send me your output of dmesg after booting with the new PCMCAI card.
I've just sent a letter to you in Hungarian, too. Choose the 
communication channel whichever you like.


Regards,
FeZ


Re: Mailing list manager on NetBSD

2019-01-10 Thread Brett Lymn
On Thu, Jan 10, 2019 at 07:07:02PM -0600, ed...@pettijohn-web.com wrote:
> 
> Take a look at fdm. It can be used to fetch from imap/pop and deliver
> locally or take messages from stdin and deliver them. The config allows
> for piping through and executing external commands. Its syntax is
> similar to pf.
> 

Sorry, not for me, as you say, fdm wants to talk to pop/imap.  The
situation where I use procmail I am using it in my .forward so the
filtering happens when the mail is delivered.

I wonder how hard it would be to fix the issues found by the fuzzers.
To my mind, just because the code base is old doesn't mean it needs to be
thrown out.  Escpecially when nothing else covers the same
functionality.

-- 
Brett Lymn
"We are were wolves",
"You mean werewolves?",
"No we were wolves, now we are something else entirely",
"Oh"


Re: Mailing list manager on NetBSD

2019-01-10 Thread edgar
On Fri, Jan 11, 2019 at 10:29:04AM +1030, Brett Lymn wrote:
> On Wed, Jan 09, 2019 at 10:16:22PM -0600, ed...@pettijohn-web.com wrote:
> > 
> > The last maintainer of procmail says not to use it. Thats reason enough
> > for me not to.
> > 
> > https://marc.info/?l=openbsd-ports&m=141634350915839&w=2
> > 
> 
> Oh, wonderful.  A quick search shows that the most likely replacement is
> maildrop but that does not easily do some things that procmail will do
> (e.g. pipe mail to a script which I can see people would consider
> dangerous but damn convenient when processing automated messages)
> 
> -- 
> Brett Lymn
> "We are were wolves",
> "You mean werewolves?",
> "No we were wolves, now we are something else entirely",
> "Oh"

Take a look at fdm. It can be used to fetch from imap/pop and deliver
locally or take messages from stdin and deliver them. The config allows
for piping through and executing external commands. Its syntax is
similar to pf.

Edgar


Re: sending patches

2019-01-10 Thread Robert Elz
Date:Thu, 10 Jan 2019 16:32:57 -0600
From:ed...@pettijohn-web.com
Message-ID:  <20190110223257.ga...@deathstar.my.domain>

  | To which list do people generally send patches for adding features, etc.
  | I am aware of the send-pr(1), but that seems more bug related.

You can use send-pr for change requests as well as bug reports.
Just set the "Class" to "change-request" instead of sw-bug (or one
of the others that are possible.)

Otherwise, depending upon the patch, current-us...@netbsd.org is
likely to work (unless it is a port spccific patch, when the relevant
port-xxx would be better.)

Please don't send large patches that way, instead send a description
of the patch (what it adds/removes/...), and a link to somewhere the
patch can be fetched from.

kre



Re: Mailing list manager on NetBSD

2019-01-10 Thread Brett Lymn
On Wed, Jan 09, 2019 at 10:16:22PM -0600, ed...@pettijohn-web.com wrote:
> 
> The last maintainer of procmail says not to use it. Thats reason enough
> for me not to.
> 
> https://marc.info/?l=openbsd-ports&m=141634350915839&w=2
> 

Oh, wonderful.  A quick search shows that the most likely replacement is
maildrop but that does not easily do some things that procmail will do
(e.g. pipe mail to a script which I can see people would consider
dangerous but damn convenient when processing automated messages)

-- 
Brett Lymn
"We are were wolves",
"You mean werewolves?",
"No we were wolves, now we are something else entirely",
"Oh"


sending patches

2019-01-10 Thread edgar
Hello,

To which list do people generally send patches for adding features, etc.
I am aware of the send-pr(1), but that seems more bug related.

Thanks,

Edgar


How to setup Realtek 8139 10/100BaseTX cardbus?

2019-01-10 Thread Csányi Pál
Hi,

when I installed this NetBSD system on my old laptop, I used an USB
Etherneth adapter.

Now I have a Realtek 8139 10/100BaseTX cardbus attached to this laptop
and removed the USB Etherneth adapter.

I am using DHCP client to get an IP address to this system.
How can I setup this PCMCIA card for reaching the Internet?

-- 
Best, Pali


Re: Horde Webmailer

2019-01-10 Thread Niels Dettenbach
Am Donnerstag, 10. Januar 2019, 17:51:13 CET schrieben Sie:
> For example, it would be great to use the calendar and the CalDAV server. I
> only have to find out how to import data into Horde's CalDAV from an
> external source, as we already have an external database with calendar
> events for all employees, which is used by a VBA application.
hmm,

i know that you can import ICS (ical (vcal?)) directly into single calendars. 
select or create a calendar and click on edit (pen) -> "import" tab for more.

Horde (kronolith) offers ActiveSync ("Exchange sync") and SyncML as major sync 
standards for PIM data (including calendar) which could be used too if 
required / helps in your setup.

i wrote different (cached) interfaces / adapters for "exporting" as "live / 
cached connecting" Horde kronolith by xml-rpc / JSON) to use the event data 
records (accelerated) in a website. but Horde offers public calendars (by url) 
too if you only want to publish a "standard" calendar view in a website - 
i.e. as iframe or similiar.

Unfortunately on NetBSD (pkgsrc) is no cyrus imap 3 available - this even 
allows IMAP/HTTP which provides an nice newer backend for newer Groupware 
standards which Horde can use /in parallel) too. Hope cyrus 3 will come next 
in pkgsrc. my favorite setup for the Horde 5 environment is exim + cyrus imap 
3 (2) with cyrus sieve.

as we are going bit off topic here - you may contact me off list for further - 
not NetBSD related stuff or on the Horde mailing lists. ß)


hth,
best regards,


niels.

-- 
 ---
 Niels Dettenbach
 Syndicat IT & Internet
 http://www.syndicat.com
 PGP: https://syndicat.com/pub_key.asc
 ---
 








Re: Horde Webmailer

2019-01-10 Thread Frank Wille
Niels Dettenbach wrote:

> Horde is a very (!) powerful PIM /
> Groupware suite - installing it as an "webmailer" only may be a bit
> over for someone. 

We are absolutely interested in the other groupware features, but webmailer
was the core feature which should work.

For example, it would be great to use the calendar and the CalDAV server. I
only have to find out how to import data into Horde's CalDAV from an
external source, as we already have an external database with calendar
events for all employees, which is used by a VBA application.


> It seems you want to use your IMAP server for auth to Horde and for
> email - then you have to configure Horde to use IMAP / IMP for auth and
> in IMP to use the Horde credentials

Indeed. Thanks.


>> - I can read and send IMAP mail, but I cannot really delete it. I
>>   remains in the list with trashcan in front of it. Probably a
>>   feature?
> You have to expunge the deleted mails after deleting

I didn't see the expunge function before yesterday. It's a little bit
hidden. Ok, works.


Thanks for all!

-- 
Frank Wille



Re: Mailing list manager on NetBSD

2019-01-10 Thread Steffen Nurpmeso
Julian H. Stacey wrote in <201901101322.x0adlrgi006...@fire.js.berklix.net>:
 |Steffen Nurpmeso wrote:
 |> Mayuresh wrote in <20190109131516.GA25962@localhost>:
 |>|On Wed, Jan 09, 2019 at 12:03:46PM +0100, Julian H. Stacey wrote:
 ...
 |>|Thanks for a comprehensive reply. I am currently tending towards \
 |>|mlmmj due
 |>|to the claims of smaller footprint as I'll be using a VPS to host this.
 |> 
 |> It cannot do MIME out of the box, and it also had some problems
 ...
 |Back when BSD users were on my only mail list using 7 bit, it was easy.
 |
 |Then I added lists for sports & social locals. they mostly used
 |Microsoft, then their client software `enhanced' so they could
 |excrete font & size of the day, in colour, with national character
 |set extensions beyond Ascii, using MIME, then MS MUA providers left
 |MIME on by default & users didnt know to turn it off for lists, or
 |how to turn off, or to what advantages.

HTML there is, too.  But it is not that easy i would say, i have
seen people using emoji and such Unicode characters on lists of
established Unix people.  And even more people use native language
in the "xy wrote" quotation reference, which requires MIME for
even premium-first world languages.  (It depends however.)

 |Majordomo was not MIME aware, & MIME obscured the How To Unsubscribe
 |etc list footers majordomo appended (& of course users were too
 |dumb to look in list headers) so more admin time was wasted, so

Yes.  That was true for ml-something- mlmmj, too.

 |majordomo was abandoned.  Mailman supports MIME. If there's a
 |possibility a mail list server might have to later support non tech
 |users, avoid server software that don't support MIME.
 |
 |Cheers,
 |Julian
 |-- 
 |Julian Stacey, Computer Consultant Sys.Eng. BSD Linux Unix, Munich \
 |Aachen Kent

Mind you, down there im Weißwurscht Land, but here i would insist
that it is München.  Or at least Muenchen.  Because the Föhn bläst
so heiß.

--steffen
|
|Der Kragenbaer,The moon bear,
|der holt sich munter   he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)


Re: Mailing list manager on NetBSD

2019-01-10 Thread Steffen Nurpmeso
Niels Dettenbach wrote in <2942379.yeRLTPdYb4@gongo>:
 |Am Donnerstag, 10. Januar 2019, 04:21:38 CET schrieb Mayuresh:
 ...
 |> - I do need a web archiver with thread view etc. (and ability to write
 |just enable "list archive" by click in mailman admin gui.
 |
 |>   text pattern searches of my own on the mail texts), for which there
 |>   might be alternatives that do just that - archiving. (E.g. HyperKitty
 |>   which mailman uses, which can be used standalone also.)
 |You may use grep or similiar on the archive files, but these are just raw. 

That is surprisingly complicated if you want the correct order
however (due to the way date based names are used).  That is,
i could donate a simply AWK/Unix tools (thus line) based CGI
script which searches in the text archives of Mailman in case of
interest.  I call it brutesearch.sh.  It works pretty fine,
especially for Unix people who are used to linewise searching.
One thing i really dislike here is that you need to manually
adjust the HTML templates each and every time to include the
search form.  (Again there may be a mechanism which avoids that.)

 |There are many types of existing setups with some search / indexer \
 |software 
 |to advance mailmans archive with search functionality.
 |
 |or just (if it's a public archive):
 |https://wiki.list.org/DOC/How%20do%20I%20make%20the%20archives%20searchable

Well, i am just saving MBOX in addition to the normal Mailman
"pipermail" text dump for archiving purposes (for hopefully
a better future), and use this simple shell script i have
mentioned for searching.  It works pretty well.  Just ask if you
want it.  It has no dependencies but awk, printf, find, sort and
xargs.  It can surely be improved too, but well.

--steffen
|
|Der Kragenbaer,The moon bear,
|der holt sich munter   he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)


Re: Mailing list manager on NetBSD

2019-01-10 Thread Steffen Nurpmeso
Mayuresh wrote in <20190110020002.GB10716@localhost>:
 |On Wed, Jan 09, 2019 at 05:54:49PM +0100, Steffen Nurpmeso wrote:
 |> when i used it.  (There should be posts on their ML on that,
 |> a couple of years back.)  If your users use MIME you have to hook
 |> in scripts, and then it becomes more expensive...  Having said
 |> that, AlpineLinux seems to use it for their MLs, and it seems to
 |> work.  But there all people use 7-bit clean text mails only.
 |
 |Plain text restriction is suitable (in fact better from storage point of
 |view) for my purpose but can't "fix" everybody's mail client. Most people
 |won't do that. So, yes, if I have to process (such as throw away MIME and
 |retain only text) it will add up.

And/or do not use footer or such injections otherwise, it will
render the message invalid.  (Therefore i heave only injected header
fields, because i definitely did not want to add some MIME
wrapper.  "Retain only text" means there are only natively
american speaking people i will assume.)

 |BTW I am not too sure whether mlmmj's mailing list is active. 2018 is
 |conspicuously absent in the archives[1]. (At least archives are not being
 |produced, but how can it remain in that state.)

I see.  Ah, i was posting in February 2016.  Ah, yes, do not set
memorymailsize but to 0 if you want identical behaviour for
messages which fit it and those which do not.  Do set moderators
otherwise it crashes.  I seem to recall that my moderator did not
get some messages somehow, which was the final reason why i have
switched to mailman (later on).  These (but the last, which
definetely could have been postfix misconfiguration also, but i do
not think so) are all corner cases, however.

 |I enquired about this on their list and hardly drew any response - except
 |from 1 user who echoed similar concern. I have to assume their ML to be
 |deeply dormant if not dead.

Maybe your message simply was not "meaningful" enough.  Mr.
Schmitt seems to make fine differentiations (citing his last
response to the other thread in February 2016), maybe not only for
me, but also for you!  You could start your messages with "i am
_not_ a friend of .." to get yourself started.  ;)  It could help!

Other than that, on my VM i see GNU mailman processing messages to
list members in intervals of two seconds (two seconds/one
message), which is possibly also a misconfiguration however (as it
is hard to believe other lists could be driven with it like that).
A nice day i wish,

--steffen
|
|Der Kragenbaer,The moon bear,
|der holt sich munter   he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)


Re: Mailing list manager on NetBSD

2019-01-10 Thread Mayuresh
On Thu, Jan 10, 2019 at 02:21:53PM +0100, Julian H. Stacey wrote:
> If there's a possibility a mail list server might have to later support
> non tech users, avoid server software that don't support MIME.

In order of importance I think a mailing list does the following:

1. bounce / forward the mails to a list of registered addresses.

2. Maintain web archives: MIME may be possibly an issue here.

3. Administration - such as subscribe / unsubscribe etc. MIME may matter
here.

If:

For #1 I use postfix/procmail/equivalent (MTA/MDA) instead of an MLM.

For #2 use a MIME aware archiver (not sure which, HyperKitty to name one
that mailman 3 uses)

While #3 does not matter much to me (will maintain list manually for a
more or less static group)

Then:
Am I missing any MIME related issues?

Mayuresh


Re: Mailing list manager on NetBSD

2019-01-10 Thread Julian H. Stacey
Steffen Nurpmeso wrote:
> Mayuresh wrote in <20190109131516.GA25962@localhost>:
>  |On Wed, Jan 09, 2019 at 12:03:46PM +0100, Julian H. Stacey wrote:
>  |> But I gradually ran more public lists for non techs, including some
>  |> self admitted completely clueless & some other immeasurably lazy
>  |> users, many of whom cant think or refuse to think, love to argue,
>  |> & freak at command line etc, so the support load on unpaid volunteer
>  |> admin time became intolerable, & I was depserate for a list manager
>  |> with graphical clickey support to seperate myself from user support.
>  |> (Though mailman can be CLI driven too I recall)
>  |
>  |Thanks for a comprehensive reply. I am currently tending towards mlmmj due
>  |to the claims of smaller footprint as I'll be using a VPS to host this.
> 
> It cannot do MIME out of the box, and it also had some problems
> when i used it.  (There should be posts on their ML on that,
> a couple of years back.)  If your users use MIME you have to hook
> in scripts, and then it becomes more expensive...  Having said
> that, AlpineLinux seems to use it for their MLs, and it seems to
> work.  But there all people use 7-bit clean text mails only.

Back when BSD users were on my only mail list using 7 bit, it was easy.

Then I added lists for sports & social locals. they mostly used
Microsoft, then their client software `enhanced' so they could
excrete font & size of the day, in colour, with national character
set extensions beyond Ascii, using MIME, then MS MUA providers left
MIME on by default & users didnt know to turn it off for lists, or
how to turn off, or to what advantages.

Majordomo was not MIME aware, & MIME obscured the How To Unsubscribe
etc list footers majordomo appended (& of course users were too
dumb to look in list headers) so more admin time was wasted, so
majordomo was abandoned.  Mailman supports MIME. If there's a
possibility a mail list server might have to later support non tech
users, avoid server software that don't support MIME.

Cheers,
Julian
-- 
Julian Stacey, Computer Consultant Sys.Eng. BSD Linux Unix, Munich Aachen Kent
 Brexit referendum stole 700,000 votes from Brits in EU, 3.7 million globally+
 1.9 M too young to vote + 1.3 M died, mostly Leavers. Electoral fines & lies.
 Government of national unity to avoid Brexit chaos, revoke Art. 50 & new ref.
 if we re-issue with more time.  Email your MP http://berklix.org/brexit/#mp



Re: rmt(8)

2019-01-10 Thread Edgar Pettijohn

On Jan 10, 2019 4:13 AM, Chavdar Ivanov  wrote:
>
> Historically the remote tape path:
>
> % grep '/etc/rmt' /usr/src/sbin/dump/pathnames.h
> #define   _PATH_RMT   "/etc/rmt"
>

Cool. I kinda guessed it was historical.

Thanks,

Edgar
> On Thu, 10 Jan 2019 at 03:22,  wrote:
> >
> > Hello list,
> >
> > I'm just curious why there is a link to /usr/sbin/rmt in /etc?
> >
> > deathstar$ ls -l /etc | grep rmt
> > lrwxr-xr-x   1 root  wheel  13 Jul 17 09:59 rmt -> /usr/sbin/rmt
> >
> > edgar
>
>
>
> -- 
> 


Re: Mailing list manager on NetBSD

2019-01-10 Thread Niels Dettenbach
Am Donnerstag, 10. Januar 2019, 04:21:38 CET schrieb Mayuresh:
> - Do I really need a specialized mail manager software or can I just use
>   .forward (or procmail) to bounce the mails to registered members?
There are a lot of people who manage a "mailing list" by their mail client. 
But even if they use BCC for "hiding" the recipients, there are email system 
who do not "filter out" BCC addresses - so this is a security leak, as a lot 
of spammers and viruses today use the email content archive of hacked systems 
to find valid addresses.

list processors like mailman provider much more then just "mass mailing" - 
they handle and filter bounces, answers and memberships semi to full 
automatic.

and most mail servers just allow a limited amount of recipients or smtp 
commands in one email. so larger mail "explodings" has to be batched wisely.

But more important: they provide Email Headers which are required for email 
lists and typical list management / usage of clients.

> - I do not need automated subscribe / unsubscribe, this being for a closed
>   group of size not exceeding 300/350. Manual registration, with very
>   occasional changes is fine.
This hardly depends from what you look for. If you just want to send a 
"newsletter" once a month this may be OK for i.e. up to 50 recievers, but if 
you have more recievers the amount of work for maintaining the list is 
getting significantly higher then setting up a mailman list. 

The most of the lists we host for customers have less then 300 users. few of 
them of then only have 30. if a user exoperience the comfort, they usually do 
not use any "hand built lists" anymore for me then a few recipients.

in europe it is difficult to provide such a "hand list" by law, users should be 
allow to unsubscribe with "one click".

setting up mailman is not a big thing - even filling it up with a larger list 
of recipient addresses and names (just copy in addresses linewise (including 
names  evenpossible with "Name ") i.e. - from a calc/excel export or 
similiar).

usually even a closed list have to be managed by a admin - including unwanted 
postings or spam treatments. mailman offers web gui and console tools fir such 
things

we use exim as MTA/MDA SMTP service as it is perfectly to configure for 
mailman and very ressource efficient in handling mass mail in different ways.

- I need "member-only" restriction for posting to the list email id, which
  I think procmail can manage.

This is much easier to handle with mailman - after setup. It offers web access 
for the list members too, headers / footers, auto "cleaning" of Headers (i.e. 
MDS requests etc.) btw.. This may be done with a compley procmail and 
fiddeling by hand too, archiving., archive management and much more - but hey, 
mailman does this out of the box / default while it allows any thinkable list 
processing setup.

> - I do need a web archiver with thread view etc. (and ability to write
just enable "list archive" by click in mailman admin gui.

>   text pattern searches of my own on the mail texts), for which there
>   might be alternatives that do just that - archiving. (E.g. HyperKitty
>   which mailman uses, which can be used standalone also.)
You may use grep or similiar on the archive files, but these are just raw. 
There are many types of existing setups with some search / indexer software 
to advance mailmans archive with search functionality.

or just (if it's a public archive):
https://wiki.list.org/DOC/How%20do%20I%20make%20the%20archives%20searchable



good luck,


niels.
 ---
 Niels Dettenbach
 Syndicat IT & Internet
 http://www.syndicat.com
 PGP: https://syndicat.com/pub_key.asc
 ---
 








Re: rmt(8)

2019-01-10 Thread Chavdar Ivanov
Historically the remote tape path:

% grep '/etc/rmt' /usr/src/sbin/dump/pathnames.h
#define   _PATH_RMT   "/etc/rmt"

On Thu, 10 Jan 2019 at 03:22,  wrote:
>
> Hello list,
>
> I'm just curious why there is a link to /usr/sbin/rmt in /etc?
>
> deathstar$ ls -l /etc | grep rmt
> lrwxr-xr-x   1 root  wheel  13 Jul 17 09:59 rmt -> /usr/sbin/rmt
>
> edgar



-- 



RISC-V port?

2019-01-10 Thread Dinesh Thirumurthy
Hi Matt, Reinoud, NetBSD Users,

Wishing you all a great 2019.

I am looking for NetBSD support on RISC-V.
According to RISC-V Foundation's website,

https://riscv.org/software-status/

The information for NetBSD is:

 NetBSD

Maintainer(s): Matt Thomas (NetBSD), Reinoud Zandijk (NetBSD)
Version:
Status:
Upstreaming status:
Future work:
Upstream repository:
http://cvsweb.netbsd.org/bsdweb.cgi/src/?only_with_tag=MAIN
https://github.com/jsonn/src (Git Mirror)
Privileged Spec: 1.9
User Spec: 2.0
ABI:

--
Apart from Zachary's work at https://github.com/zmcgrew/riscv-tools-netbsd

Is there a port being worked on? What is the appropriate mailing list
to post this?

Thanks very much.

Regards,
Dinesh