Re: NetBSD Security Advisory 2014-006

2014-06-17 Thread David Lord
On 16 Jun 2014 at 17:26, Roy Bixler wrote:

 On Mon, Jun 16, 2014 at 11:49:46AM -, David Lord wrote:

 
  I use the default incremental builds which are quite fast
  after the first pass. Only downside for me is that each of
  my /home/sysbuild/nbsd-ver_arch/ directories needs  20G
  disk space. It's probably possible to run multiple 
  ver/arch from a single directory but my build pc with 
  2G ram ground to a halt with all swap+memory used up.
 
 I'm just getting into this myself, both for reasons of a device driver
 problem I was having (see recent timeout on siside0 thread for
 details) and for the SSL security update.  I use the old-fashioned
 method of building from source with CVS as described in the Guide.  It
 took about the amount of space I would expect until I decided to try
 the live-image option, which adds around 10 Gig. to the space
 requirement.  In contrast, building the iso-image didn't take nearly
 as much of a hit.  I haven't used the sysbuild package, but perhaps
 this is what you're seeing?
 

Hi

Probably but disk space hasn't been any problem for me
over past few years.


Twice weekly builds:
20G  nbsd-6_1386/   tools, 6x kernels, release, iso-image,
install-image, live-image

Weekly builds:
18G  nbsd-6_amd64/  tools, release, iso-image, install-image,
live-image

23G  nbsd-cur_i386/ tools, release, iso-image, install-image,
live-image

18G  nbsd-cur_amd64/tools, 1x kernel, release, iso-image,
install-image, live-image


My internet routers, servers and lan pcs were all nbsd-6/i386
but a couple of lan pcs were amd64 with  3G ram and these
are now running nbsd-cur/amd64.


David




Re: openbsd - netbsd : same yet feels different ...

2014-06-17 Thread gary
= hello,
=
= it's been 3 days since i took advice from aaron b and migrated
= to netbsd from openbsd.
=
= i won't go overboard and say that i'm an instant fan-boy, but
= frankly, the system feels the same, yet quite different.
=
= for one, the responsiveness while using the operating system is
= much better than under openbsd (or even freebsd).
= secondly, the community (mailing list) isn't grumpy. :)
=
= i migrated primarily because of the upcoming support for lua
= throughout the operating system, hope it materializes.
=
= what else could someone who's not so much into system setup and
= administration, nor into systems programming do with netbsd?
= ah yes, i am not much of a 'gui' user, so will be working at the
= console, primarily, but would be nice to know if there's anyone
= here using or carrying over 'cwm' from openbsd, it's kinda nice.

   It looks like it is available in pkgsrc under wm/cwm. See
https://www.pkgsrc.org/ to get started with pkgsrc.

   Good luck, and welcome.

Gary Duzan




= in closing, thanks for gracious support i have received ever
= since i started pestering the list with questions of a naive type.
=
= warm regards,
=
= ~mayuresh
=
=




Re: openbsd - netbsd : same yet feels different ...

2014-06-17 Thread atomicules

Hi Mayuresh,

On 17-Jun-2014 13:43:05, Mayuresh Kathe wrote:

secondly, the community (mailing list) isn't grumpy. :)


Yay for non-grumpiness! 


i migrated primarily because of the upcoming support for lua
throughout the operating system, hope it materializes.


From searching the mailing list and blogs, etc I think opinion is 
quite divided, but personally I like Lua so I think it's a good idea. 


what else could someone who's not so much into system setup and
administration, nor into systems programming do with netbsd?


Just use it day to day. I don't see that NetBSD has to be reserved to 
a system/server role. I mean, I do use it to host my website and as my 
email server, but I also use the exact same server as my remote 
desktop (Tmux) to write this email, write code, write blog posts, 
browse the web, use Twitter, etc.



ah yes, i am not much of a 'gui' user, so will be working at the
console, primarily, but would be nice to know if there's anyone
here using or carrying over 'cwm' from openbsd, it's kinda nice.


No, but I do use dwm. That makes NetBSD fine as a desktop OS for me. 
That way I can use a NetBSD machine to access my main NetBSD machine 
for double the goodness.


Re: openbsd - netbsd : same yet feels different ...

2014-06-17 Thread atomicules

On 17-Jun-2014 16:45:10, Ottavio Caruso wrote:

On 17 June 2014 16:38, atomicules b...@atomicules.co.uk wrote:

Just use it day to day. I don't see that NetBSD has to be reserved to a
system/server role


Sure, but this is unfortunately not in Netbsd's hands. Most modern
graphical applications depend on/are built on udev/systemd. Let's see
what happens with pulseaudio for example. We (all *bsd + slackware and
a few other distros) might end up one day with no sound platform.


Ah, yes, perhaps I should have qualified that currently I have no need 
for audio or anything too modern. I've regressed my computing over the 
years from flashy and modern (E.g. Apple's Mail client) to plain and 
old (Mutt). Perhaps that's why NetBSD suits me?


Re: openbsd - netbsd : same yet feels different ...

2014-06-17 Thread Mayuresh
Welcome to user list of one of the finest OSes around!

Firstly, I don't find too many namesakes in a niche list like this. So
actually when I saw your signature, for a moment thought someone hacked my
account!

 i won't go overboard and say that i'm an instant fan-boy, but
 frankly, the system feels the same, yet quite different.

I felt more or less the same when I switched from Linux 3 years back. My
reason to switch was constant hassles with upgrades and administration I
was facing with the Linux flavor I was using. [I still use Linux on some
machines and do not particularly dislike it, though NetBSD became my
preferred OS since then.]

I tried FreeBSD and NetBSD when I was at the crossroads. NetBSD won in
ease of installation and configuration. Despite having no background my
installation was up and running in a matter of hour, including the
download time, including wifi and all. I also like pkgsrc. I like it much
more than ports. I also participated a bit by submitting patches to pkgsrc
and contributing some ports in pkgsrc/wip.

 in closing, thanks for gracious support i have received ever
 since i started pestering the list with questions of a naive type.

Share the same feelings about the list. Soon you'll see yourself being in
the expert's role helping newer users..

Mayuresh.


Re: openbsd - netbsd : same yet feels different ...

2014-06-17 Thread Ottavio Caruso
On 17 June 2014 16:38, atomicules b...@atomicules.co.uk wrote:
 Just use it day to day. I don't see that NetBSD has to be reserved to a
 system/server role

Sure, but this is unfortunately not in Netbsd's hands. Most modern
graphical applications depend on/are built on udev/systemd. Let's see
what happens with pulseaudio for example. We (all *bsd + slackware and
a few other distros) might end up one day with no sound platform.

Maybe I'm just being too pessimistic, as usual...

-- 
Ottavio


any netbsd hosting providers?

2014-06-17 Thread Mayuresh Kathe
hello,

are there any web hosting providers specializing in netbsd?
would like to evalute some for my client who's expressed
interest in moving away from linux (centos).

thanks,

~mayuresh




Re: openbsd - netbsd : same yet feels different ...

2014-06-17 Thread Ottavio Caruso
On 17 June 2014 16:58, atomicules b...@atomicules.co.uk wrote:
 Ah, yes, perhaps I should have qualified that currently I have no need for
 audio or anything too modern. I've regressed my computing over the years
 from flashy and modern (E.g. Apple's Mail client) to plain and old (Mutt).
 Perhaps that's why NetBSD suits me?

Now you're being an Apple fanboi...

-- 
Ottavio


Re: any netbsd hosting providers?

2014-06-17 Thread Francisco Valladolid H.
On Tue, Jun 17, 2014 at 12:26 PM, Mayuresh Kathe mayur...@kathe.in wrote:
 hello francisco,

 i am seeking a dedicate server infrastructure provider.
 the plan is to not go for one monster server which does everything.
 but, rather to componentize by splitting functions across 5 servers.


1.- http://corenetworks.net/dedicated/  here you can setup your own
O.S, when you signup specify other O.S only.

regards.



 thanks,

 ~mayuresh

 On Tue, Jun 17, 2014 at 12:17:17PM -0500, Francisco Valladolid H. wrote:
 Hi Mayuresh

 Currently, I'm using Amazon Web Services running NetBSD 6.1.3
 sucessfully. Amazon costs are high compared with digitalocean.com per
 example.

 Panix.com is another choice also.

 You are seeking a VPS or dedicated server ?

 BEst Regards.

 On Tue, Jun 17, 2014 at 11:39 AM, Mayuresh Kathe mayur...@kathe.in wrote:
  hello,
 
  are there any web hosting providers specializing in netbsd?
  would like to evalute some for my client who's expressed
  interest in moving away from linux (centos).
 
  thanks,
 
  ~mayuresh
 
 



 --
 Francisco Valladolid H.
  -- http://blog.bsdguy.net - Jesus Christ follower.



-- 
Francisco Valladolid H.
 -- http://blog.bsdguy.net - Jesus Christ follower.


Re: email management under netbsd : any simple strategies?

2014-06-17 Thread gary
= hello,
=
= i have been using mutt under various linux based systems as
= well as under freebsd.
=
= looks like the mutt under netbsd (via pkgin) doesn't support
= smtp (yet).
=
= may i know what kind of strategy mutt aficionados use to get
= mutt working well under netbsd?
=
= if there isn't a simple way, may i know what would be a good
= approach to email (imap + smtp) at the netbsd console?
=
= thanks,
=
= ~mayuresh

   The down side to using binary packages is that they only support a
single set of configuration options. If you build mutt from source you
can specify the mutt-smtp build option.

http://www.netbsd.org/docs/pkgsrc/configuring.html#selecting-build-options

   Personally, I use nmh from the shell and squirrelmail (on top of
imap-uw) from the browser.

Gary Duzan





Re: openbsd - netbsd : same yet feels different ...

2014-06-17 Thread g.lister

Hi Mayuresh,

 i won't go overboard and say that i'm an instant fan-boy, but
 frankly, the system feels the same, yet quite different.

I am relatively new myself so nice to hear other people are also 
considering and using NetBSD.


 for one, the responsiveness while using the operating system is
 much better than under openbsd (or even freebsd).

I am working on a project of mine and was running automated unit tests 
on NetBSD, OpenBSD and FreeBSD by rsync-ing some C code to each over 
sftp/compiling/running and the tests (i386 PIII or IVs). I was debating 
which one to pick of the 3 as dev platform, currently on Ubuntu, and was 
leaning towards OpenBSD mostly... so I noticed that the sync and test 
run I started on NetBSD after the one on OpenBSD finished before OpenBSD 
was somewhere half through the operation and at that time I was set ... 
time is precious and I would rather spend less time waiting for a 
computer. Plus NetBSD feels really well engineered, things are almost to 
natural to do (compared to say SLES and Yast), there are man pages etc., 
things are in the same location pre-configured and ready to go, pkgin is 
like apt-get, pkgsrc is awesome as it lets you build easily from source 
all kinds of stuff, and last but not least the list is really really 
good quick and to the point responses, thank you!


 i migrated primarily because of the upcoming support for lua
 throughout the operating system, hope it materializes.

Those changes should be now in CURRENT you can use it in a kernel module 
which means you have to write one of course. I met Marc Balmer at a Lua 
conference and he was very kind to do a demonstrate it for me. I am no 
expert at kernel modules etc.. so take this with a grain of salt but 
basically that is what I could understand i.e. a Lua state machine is 
loaded and you can use it to run Lua code in kernel space and therefore 
do kernel related work in Lua. Marc is working on line disciplines I 
think and he saw it beneficial as prototyping stuff, which with a 
scripting language is of course easy to understand. Of course the big 
thing is exposing kernel stuff in Lua, which I think I saw a proposal 
for a project on. This would make kernel development more accessible. 
Personally I like to have options and I am always split between easy and 
things that are hard should remain so as there is a reason for them to 
be that way, but I definitely was interested by this addition as well. I 
look forward to learning more about RUMP to and figuring out how to play 
with it.


Good luck!
George

On 06/17/2014 03:43 PM, Mayuresh Kathe wrote:

hello,

it's been 3 days since i took advice from aaron b and migrated
to netbsd from openbsd.

i won't go overboard and say that i'm an instant fan-boy, but
frankly, the system feels the same, yet quite different.

for one, the responsiveness while using the operating system is
much better than under openbsd (or even freebsd).
secondly, the community (mailing list) isn't grumpy. :)

i migrated primarily because of the upcoming support for lua
throughout the operating system, hope it materializes.

what else could someone who's not so much into system setup and
administration, nor into systems programming do with netbsd?
ah yes, i am not much of a 'gui' user, so will be working at the
console, primarily, but would be nice to know if there's anyone
here using or carrying over 'cwm' from openbsd, it's kinda nice.

in closing, thanks for gracious support i have received ever
since i started pestering the list with questions of a naive type.

warm regards,

~mayuresh





Re: email management under netbsd : any simple strategies?

2014-06-17 Thread Roy Bixler
On Tue, Jun 17, 2014 at 09:59:15PM +0200, Manuel Bouyer wrote:
 On Tue, Jun 17, 2014 at 06:18:35PM +, Mayuresh Kathe wrote:
  hello,
  
  i have been using mutt under various linux based systems as
  well as under freebsd.
  
  looks like the mutt under netbsd (via pkgin) doesn't support
  smtp (yet).
  
  may i know what kind of strategy mutt aficionados use to get
  mutt working well under netbsd?
 
 I just setup postfix to relay everything to the mail server.
 then mutt can use /usr/sbin/sendmail

relayhost is the name of the main.cf parameter, I believe.

Alternatively, I also played around with something like msmtp or
ssmtp (available as packages) and mutt can be configured to call
those instead.

-- 
Roy Bixler rcbix...@nyx.net
The fundamental principle of science, the definition almost, is this: the
sole test of the validity of any idea is experiment.
-- Richard P. Feynman


Re: email management under netbsd : any simple strategies?

2014-06-17 Thread Leonardo Taccari
Hello Mayuresh,

On Tue, Jun 17, 2014 at 06:18:35PM +, Mayuresh Kathe wrote:
 hello,
 
 i have been using mutt under various linux based systems as
 well as under freebsd.
 
 looks like the mutt under netbsd (via pkgin) doesn't support
 smtp (yet).
 
 may i know what kind of strategy mutt aficionados use to get
 mutt working well under netbsd?
 
 if there isn't a simple way, may i know what would be a good
 approach to email (imap + smtp) at the netbsd console?
I personally use mail/msmtp for SMTP, mail/fdm for IMAP and
mail/mutt-devel as MUA.

As Manuel and Gary suggested you can use postfix(1) in base or build
mail/mutt-devel with mutt-smtp option.

I suggest you to use postfix(1) or configure something like mail/msmtp.
If you do the latter remember to adjust /etc/mailer.conf (for more
information please give a look to mailer.conf(5)), e.g. (for msmtp):

 [...]
 #sendmail  /usr/libexec/postfix/sendmail
 mailq  /usr/libexec/postfix/sendmail
 newaliases /usr/libexec/postfix/sendmail
 
 sendmail /usr/pkg/bin/msmtp
 [...]

...mainly because in this way you can also send emails not only with
mutt (for example with send-pr(1)).


HTH,
Ciao,
L.


Re: openbsd - netbsd : same yet feels different ...

2014-06-17 Thread Ottavio Caruso
On 17 June 2014 20:59, g.lister g.lis...@nodeunit.com wrote:
 Hi Mayuresh,
snip

Can I be grumpy for a second?

What happened to bottom posting? Has it gone out of fashion?

-- 
Ottavio


Re: NPF: newbie experiencing some strange behavior

2014-06-17 Thread J. Lewis Muir
On 6/17/14, 4:02 PM, g.lister wrote:
 The next rule there is

 +++
 pass out final all
 +++

 I think it should be evaluated as it is after the blocking of TCP
 transactions so UDP should be going out, but following your comment I
 played around with allowing everything and/or adding a rule for UDP
 and I could get some date from a look up only when I let everything
 in and out. I think I am forgetting something about DNS and how query
 responses are delivered...

Hi, George.

Is the pass out final all rule stateful by default?  If not, then your
UDP query may be going out, but NPF would be blocking the response since
I don't see a rule to pass it in.

A client DNS query usually uses a UDP connection to a DNS server on port
53, but it can sometimes use a TCP connection on port 53.  It will send
a query to the server and expect a response.  It looks like your NPF
rules might be blocking that response.

 Thanks Lewis for getting me going on that path.

Sure.  Hope you get it working!

Best,

Lewis


Re: openbsd - netbsd : same yet feels different ...

2014-06-17 Thread Gerard Lally
At date and time Tue, 17 Jun 2014 13:43:05 +, Mayuresh Kathe wrote:

 hello,
 
 it's been 3 days since i took advice from aaron b and migrated
 to netbsd from openbsd.
 
 i won't go overboard and say that i'm an instant fan-boy, but
 frankly, the system feels the same, yet quite different.
 
 for one, the responsiveness while using the operating system is
 much better than under openbsd (or even freebsd).
 secondly, the community (mailing list) isn't grumpy. :)
 
 i migrated primarily because of the upcoming support for lua
 throughout the operating system, hope it materializes.
 
 what else could someone who's not so much into system setup and
 administration, nor into systems programming do with netbsd?
 ah yes, i am not much of a 'gui' user, so will be working at the
 console, primarily, but would be nice to know if there's anyone
 here using or carrying over 'cwm' from openbsd, it's kinda nice.

I too moved from OpenBSD to NetBSD. (For 20+ years before that I was an
illiterate product of the Irish education system, knowing and caring for
nothing other than Microsoft Windows.) I liked and still like OpenBSD:
their pf packet filter with queueing integrated; their work on OpenSSH;
and their commitment to security. But a couple of things nagged me. One
was the recommendation not to install from source. The other was the
outright refusal to countenance OpenBSD as a host for virtual machines.
When I discovered NetBSD it was like a breath of fresh air. The whole
system has a feel to it that is just right. And NetBSD has Xen! pkgsrc
has just-in-time su! NetBSD has veriexec! LVM and npf have arrived!
NetBSD 7 will have ipfilter 5, which can block based on domain names!

Honestly, to my mind NetBSD feels like a beautifully engineered system,
much more than any other system I have tried. I am not a programmer or
a professional sysadmin. I understand every system has its flaws, and I
certainly have encountered them along the way in NetBSD. Things I'd
love to see in NetBSD: Dragonfly BSD's Hammer; a more complete wiki,
which supersedes all the conflicting and out-of-date documentation out
there.

I would also like to see a *step-by-step* guide to pkgsrc on NetBSD. The
pkgsrc guide falls short of giving this. For example, it makes the
assumption we know where mk.conf is, and where it should go, and what
adjustments we need to make to the file before we start using pkgsrc.
It took me a long time to understand the difference between just-in-time
su and compiling an unprivileged build: this will seem ridiculously
obvious to those in the know but to absolute beginners it is thoroughly
confusing and there is no clear explanation in the guide. Indeed I am
still not 100% clear about it. It's also difficult to get mk.conf
working so that GNU and Perl and Sourceforge software is pulled from a
local mirror. No matter what I try to get it pulled from HEAnet in
Dublin most of it still seems to come from Vienna!

These criticisms aside, NetBSD remains for me the gold standard in
operating system design and behaviour. The NetBSD developers and users
here are patient and friendly. They don't tolerate anything less than
excellence, and they are patient. Too patient sometimes! I am dying to
see 7 branched! But at least their conservatism means we will never see
any of the brain-dead rubbish that has infested Linux make its way into
NetBSD.

-- 
Gerard Lally



Re: email management under netbsd : any simple strategies?

2014-06-17 Thread jgw
Manuel Bouyer wrote:
 Mayuresh Kathe wrote:
  [I] have been using mutt under various linux based systems as
  well as under freebsd.
  
  [L]ooks like the mutt under netbsd (via pkgin) doesn't support
  smtp (yet).
  ...
 I just setup postfix to relay everything to the mail server.
 then mutt can use /usr/sbin/sendmail

Tangentially related...

I recently became aware of libsaslc(3) on NetBSD which can be used with
the native Postfix MTA to add SASL client support (authentication + SSL)
when setting up smarthost relaying, a common end-user need.  There didn't
seem to be much documentation on how to set things up so I wrote the
following (example is specific to SDF.org but should work similarly for
most smarthosts):

Postfix MTA using libsaslc(3) on NetBSD 6.x:
http://sdf.org/?tutorials/smtpauth#postfix-netbsd6

Might be nice to add to the NetBSD Guide email/postfix section.

jgw

-

VFEmail.net - http://www.vfemail.net
ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the 
NSA's hands!
$24.95 ONETIME Lifetime accounts with Privacy Features!  
15GB disk! No bandwidth quotas!
Commercial and Bulk Mail Options!  


naviserver on NetBSD: is Linux emulation possible?

2014-06-17 Thread Gerard Lally
Hi,

naviserver is a fork of AOLserver, which is a high-performing web server
based on Tcl.

http://en.wikipedia.org/wiki/NaviServer

I am interested in naviserver because I am learning Tcl, and I would
like to see how far I can go developing web applications in Tcl without
using the standard Apache-MySQL-PHP stack.

However, I have been unable to install naviserver from source on NetBSD
6 or current. I do not have the errors at hand but as far as I remember
they related to pthreads. There is no pkgsrc entry available.

Could naviserver perhaps run under Linux emulation in NetBSD? I have
never tried Linux emulation. I can build naviserver on Slackware. I
don't think there would be too many libraries to carry over. I'd like
to know if it's possible and relatively straightforward before I invest
too much time in it.

-- 
Gerard Lally



Re: naviserver on NetBSD: is Linux emulation possible?

2014-06-17 Thread Greg Troxel

Gerard Lally lists+netbsd.us...@netmail.ie writes:

 However, I have been unable to install naviserver from source on NetBSD
 6 or current. I do not have the errors at hand but as far as I remember
 they related to pthreads. There is no pkgsrc entry available.

 Could naviserver perhaps run under Linux emulation in NetBSD? I have
 never tried Linux emulation. I can build naviserver on Slackware. I
 don't think there would be too many libraries to carry over. I'd like
 to know if it's possible and relatively straightforward before I invest
 too much time in it.

It might, but genarally complicated things under Linux emulation can
lead to having to spiff up the linux emulation, and it may be easier to
get it to build natively.

You might try to create a pkgsrc entry in pkgsrc-wip.  Then others could
help wtih debugging from whereever you get stuck.  It could just be code
that is Linuxy in including headers from the system it was written on
rather than strictly following POSIX.  Or it could be using things at
the edge of what NetBSD supports for threads but actually within POSIX.
I would expect that you'll need to refer to the opengroup.org specs;
threads are quite hard to get right.



pgpJf_sq930UV.pgp
Description: PGP signature


Re: openbsd - netbsd : same yet feels different ...

2014-06-17 Thread Thomas Mueller
 hello,

 it's been 3 days since i took advice from aaron b and migrated
 to netbsd from openbsd.

 i won't go overboard and say that i'm an instant fan-boy, but
 frankly, the system feels the same, yet quite different.

 for one, the responsiveness while using the operating system is
 much better than under openbsd (or even freebsd).
 secondly, the community (mailing list) isn't grumpy. :)

 i migrated primarily because of the upcoming support for lua
 throughout the operating system, hope it materializes.

 what else could someone who's not so much into system setup and
 administration, nor into systems programming do with netbsd?
 ah yes, i am not much of a 'gui' user, so will be working at the
 console, primarily, but would be nice to know if there's anyone
 here using or carrying over 'cwm' from openbsd, it's kinda nice.

 in closing, thanks for gracious support i have received ever
 since i started pestering the list with questions of a naive type.

 warm regards,

 ~mayuresh

I've never been on an OpenBSD emailing list, though I've heard about their 
grumpiness.

Arch Linux emailing lists were grumpy, but I never actually got that far 
because of overaggressive moderators.

I couldn't even ask a reasonable question, how to rebuild the system from 
source as is done with FreeBSD and NetBSD.

So I became an infant mortality on the Arch Linux mailing lists.  That was 
around May 8, 2013.

Big thing that sticks out like a sore thumb with OpenBSD is lack of support for 
GPT (also USB 3.0, though that lack is present in NetBSD too).

Now, with GPT, I don't have to deal with BSD disklabels any more on new 
installations.

I can't access my hard drives from OpenBSD.

My recent experience with OpenBSD is from the live USB
liveusb-openbsd.sourceforge.net

On MSI Z77 MPOWER motherboard, Linux and NetBSD connect with the Ethernet, 
while FreeBSD, OpenBSD and DragonFly recognize the Ethernet but bug out.  That 
is a big attraction for me with NetBSD.

Tom



Re: email management under netbsd : any simple strategies?

2014-06-17 Thread Ryo ONODERA
From: Mayuresh Kathe mayur...@kathe.in, Date: Tue, 17 Jun 2014 18:18:35 +

 hello,
 
 i have been using mutt under various linux based systems as
 well as under freebsd.
 
 looks like the mutt under netbsd (via pkgin) doesn't support
 smtp (yet).
 
 may i know what kind of strategy mutt aficionados use to get
 mutt working well under netbsd?
 
 if there isn't a simple way, may i know what would be a good
 approach to email (imap + smtp) at the netbsd console?

If you can accept emacs -nw on your console,
Wanderlust (pkgsrc/mail/wl or pkgsrc/mail/wl-snapshot) that has full support
for IMAP4 and SMTP may be solution especially when you will read/write
multi-byte e-mails.

--
Ryo ONODERA // ryo...@yk.rim.or.jp
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3


Re: email management under netbsd : any simple strategies?

2014-06-17 Thread Mayuresh Kathe
On Tue, Jun 17, 2014 at 11:32:32PM +0200, Leonardo Taccari wrote:
 Hello Mayuresh,
 
 On Tue, Jun 17, 2014 at 06:18:35PM +, Mayuresh Kathe wrote:
  hello,
  
  i have been using mutt under various linux based systems as
  well as under freebsd.
  
  looks like the mutt under netbsd (via pkgin) doesn't support
  smtp (yet).
  
  may i know what kind of strategy mutt aficionados use to get
  mutt working well under netbsd?
  
  if there isn't a simple way, may i know what would be a good
  approach to email (imap + smtp) at the netbsd console?
 I personally use mail/msmtp for SMTP, mail/fdm for IMAP and
 mail/mutt-devel as MUA.
 
 As Manuel and Gary suggested you can use postfix(1) in base or build
 mail/mutt-devel with mutt-smtp option.
 
 I suggest you to use postfix(1) or configure something like mail/msmtp.
 If you do the latter remember to adjust /etc/mailer.conf (for more
 information please give a look to mailer.conf(5)), e.g. (for msmtp):
 
  [...]
  #sendmail/usr/libexec/postfix/sendmail
  mailq/usr/libexec/postfix/sendmail
  newaliases   /usr/libexec/postfix/sendmail
  
  sendmail /usr/pkg/bin/msmtp
  [...]
 
 ...mainly because in this way you can also send emails not only with
 mutt (for example with send-pr(1)).

okay, did it, i have now installed mutt and msmtp via pkgin and been
able to successfully configure them. :)

sending this mail via a local setup instead of logging onto a remote
system (just for emails).

thanks for the advice and tips.

~mayuresh



Re: email management under netbsd : any simple strategies?

2014-06-17 Thread Mayuresh Kathe
On Wed, Jun 18, 2014 at 10:14:54AM +0900, Ryo ONODERA wrote:
 From: Mayuresh Kathe mayur...@kathe.in, Date: Tue, 17 Jun 2014 18:18:35 
 +
 
  hello,
  
  i have been using mutt under various linux based systems as
  well as under freebsd.
  
  looks like the mutt under netbsd (via pkgin) doesn't support
  smtp (yet).
  
  may i know what kind of strategy mutt aficionados use to get
  mutt working well under netbsd?
  
  if there isn't a simple way, may i know what would be a good
  approach to email (imap + smtp) at the netbsd console?
 
 If you can accept emacs -nw on your console,
 Wanderlust (pkgsrc/mail/wl or pkgsrc/mail/wl-snapshot) that has full support
 for IMAP4 and SMTP may be solution especially when you will read/write
 multi-byte e-mails.

thanks for the note onodera-san, but i really lean more towards vi.

i have heard that mailx under netbsd is a lot more advanced than the vanilla
mailx found on most of the other unix-like systems!
is there any well formatted document (like the one by schoens) for the same?

~mayuresh



will netbsd be sticking with gcc?

2014-06-17 Thread Mayuresh Kathe
hello,

i just read a note somewhere on the web about netbsd folks trying
out an alternative compiler set (pcc).

did that not work out?

i have heard good things about pcc, mostly, except for perhaps the
fact that it doesn't yet support all the netbsd platforms which
gcc does.

so does that mean gcc would be the default compiler set for the
foreseeable future?

best,

~mayuresh



Re: email management under netbsd : any simple strategies?

2014-06-17 Thread Christos Zoulas
In article 53a0c022.UFXWGXXvZ/b6ptoh%...@sdf.org,  j...@sdf.org wrote:
Manuel Bouyer wrote:
 Mayuresh Kathe wrote:
  [I] have been using mutt under various linux based systems as
  well as under freebsd.
  
  [L]ooks like the mutt under netbsd (via pkgin) doesn't support
  smtp (yet).
  ...
 I just setup postfix to relay everything to the mail server.
 then mutt can use /usr/sbin/sendmail

Tangentially related...

I recently became aware of libsaslc(3) on NetBSD which can be used with
the native Postfix MTA to add SASL client support (authentication + SSL)
when setting up smarthost relaying, a common end-user need.  There didn't
seem to be much documentation on how to set things up so I wrote the
following (example is specific to SDF.org but should work similarly for
most smarthosts):

Postfix MTA using libsaslc(3) on NetBSD 6.x:
http://sdf.org/?tutorials/smtpauth#postfix-netbsd6

Might be nice to add to the NetBSD Guide email/postfix section.

Thanks for doing that. I meant to write something similar but never got
around to it.

christos