[OpenIndiana-discuss] Bash bug issue

2014-10-13 Thread Alexander Pyhalov

Hello.
Jon Tibble has just pushed updated bash package with recent security 
fixes to OI /dev a9. Just update your bash to 
shell/bash@4.0.28,5.11-0.151.1.9:20140117T202904Z .

--
Best regards,
Alexander Pyhalov,
system administrator of Southern Federal University IT department

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Bash bug issue

2014-10-13 Thread Alexander Pyhalov

On 10/13/2014 17:19, Alexander Pyhalov wrote:

Hello.
Jon Tibble has just pushed updated bash package with recent security
fixes to OI /dev a9. Just update your bash to
shell/bash@4.0.28,5.11-0.151.1.9:20140117T202904Z .


Sorry, you want more fresh version - 
shell/bash@4.0.28,5.11-0.151.1.9:20141013T104806Z


--
Best regards,
Alexander Pyhalov,
system administrator of Southern Federal University IT department

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Sendmail on oi 151_a9

2014-10-13 Thread Harry Putnam
Gary Mills gary_mi...@fastmail.fm writes:

 On Sun, Oct 12, 2014 at 03:25:26PM -0400, Harry Putnam wrote:
 
 I've set up sendmail many times in linux env.  Usually with quite a
 lot of help from maillists etc.  But have some idea how to do that.
 
 The extremely brief sendmail.mc on stock install and update to 151_a9
 leaves me pondering how to add the things I need to get it working.

 The Oracle documents for sendmail on Solaris 11 should cover
 everything you need to configure sendmail on OI.  I can send you some
 sendmail.mc files that I use, but I'd recommend you try the Oracle
 site first.  Their documents are free to use.
 
I prowled a few oracle docs on sendmail before posting and found the
two I looked at to be considerably less than useful.

Navigating oracle solaris docs is not so easily done... at least not
in my experience.

However, with your prompting I dug around some more and found some
really helpful stuff like:
  http://docs.oracle.com/cd/E37670_01/E41138/html/ch15s06.html

which has some nice detailed information.

You mentioned docs for solaris 11.  How do I know when I'm looking at
solaris 11 and not something a bit older?


___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] About moving to hipster

2014-10-13 Thread Harry Putnam
ken mays via openindiana-discuss openindiana-discuss@openindiana.org
writes:
 See:

 http://dlc-origin.openindiana.org/isos/hipster/OI-hipster-gui-20141010.iso


[...]

Thanks to both Alexander Pyhalov and you for that URL

Alexanders, your awaited iso was already there when I looked
yesterday.  Thanks

Can any of you tell me how one navigates the pkgs.  In my install
there seems to be no pkg manager.  

I'm familiar with the pkg cmdline but digging out specific stuff
without the name is a bit primitive. And time consuming.

There are some specific tools one needs to be able to build pkgs from
source ... the developer/gnu  is one.  But there are others I don't
recall the names of.

For example, I'm having a problem building an external pkg called
xbindkeys.

  checking for gawk... gawk
  checking whether make sets $(MAKE)... yes
  checking whether to enable maintainer-specific portions of Makefiles... no
  checking for gcc... no
  checking for cc... no
  checking for cl.exe... no
  configure: error: in `/usr/local/src/xbindkeys-1.8.6_2':
  configure: error: no acceptable C compiler found in $PATH
  See `config.log' for more details


So I start mucking around for gcc and find quite a bit with 'pkg search'

What pkgs do I need to be able to do this?


___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] About moving to hipster

2014-10-13 Thread Predrag Zecevic

Am 13.10.2014 um 17:42 schrieb Harry Putnam:

ken mays via openindiana-discuss openindiana-discuss@openindiana.org
writes:

See:

http://dlc-origin.openindiana.org/isos/hipster/OI-hipster-gui-20141010.iso



[...]

Thanks to both Alexander Pyhalov and you for that URL

Alexanders, your awaited iso was already there when I looked
yesterday.  Thanks

Can any of you tell me how one navigates the pkgs.  In my install
there seems to be no pkg manager.

I'm familiar with the pkg cmdline but digging out specific stuff
without the name is a bit primitive. And time consuming.

There are some specific tools one needs to be able to build pkgs from
source ... the developer/gnu  is one.  But there are others I don't
recall the names of.

For example, I'm having a problem building an external pkg called
xbindkeys.

   checking for gawk... gawk
   checking whether make sets $(MAKE)... yes
   checking whether to enable maintainer-specific portions of Makefiles... no
   checking for gcc... no
   checking for cc... no
   checking for cl.exe... no
   configure: error: in `/usr/local/src/xbindkeys-1.8.6_2':
   configure: error: no acceptable C compiler found in $PATH
   See `config.log' for more details


So I start mucking around for gcc and find quite a bit with 'pkg search'

What pkgs do I need to be able to do this?



Hi,

you need gcc compiler and to set PATH:

# Some packages
developer/gcc-47
developer/gcc-48
system/library/gcc-4-runtime

$ pkg search -l /usr/bin/gcc
INDEX  ACTION VALUE   PACKAGE
path   link   usr/bin/gcc pkg:/developer/gcc-48@4.8.3-2014.1.1.0
path   link   usr/bin/gcc pkg:/developer/gcc-47@4.7.4-2014.1.1.0

$ echo $PATH
export PATH=/usr/gnu/bin:/usr/bin:/usr/sfw/bin:/usr/sbin

I think that there was a page on wiki.openindiana.org regarding use of 
gcc (compilers), but I cannot recall which exactly...


HTH. Best regards.
Predrag Zecevic



___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss



--
Predrag Zečević, Technical Support Analyst, 2e Systems GmbH

Telephone: +49 6196 9505 815, Facsimile: +49 6196 9505 894
Mobile:+49  174 3109 288, Skype: predrag.zecevic
E-mail:predrag.zece...@2e-systems.com

Headquarter:  2e Systems GmbH, Königsteiner Str. 87,
  65812 Bad Soden am Taunus, Germany
Company registration: Amtsgericht Königstein (Germany), HRB 7303
Managing director:Phil Douglas

http://www.2e-systems.com/ - Making your business fly!

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] [hipster] bug or pilot error

2014-10-13 Thread Harry Putnam
Fressh install of newest hipster OI-hipster-gui-20141010.iso

This is my first adventure with hipster so not really sure what kind
of thing to holler about in the way of bug type stuff.

Checking here to see if this issue should be a bug report.

I had occasion to install a pkg I don't recall which now but probable
guile. Or maybe gcc related.

It required 4 other packages to meet install requirements.

Watching the action from pkg cmdline.  I see that 4 other pkgs are
being installed, but never see any indication of what they are.

Even the sort of report that appears at the end of installing
something... All I see is that 5 pkgs were installed.

On trodding around in the `pkg manpage'... I never really saw a way to
get a list of pkgs in order of being installed.  Of the many ways to
use the `list' subcmd... I never saw a way to get such a list.

During an install operation Is there supposed to be some evidence of
what is getting installed.  Or at least what has just been installed.

I mean besides the pkg on the cmdline.

Am I seeing a bug?




___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] About moving to hipster

2014-10-13 Thread Harry Putnam
Predrag Zecevic predrag.zece...@2e-systems.com writes:

 Am 13.10.2014 um 17:42 schrieb Harry Putnam:
 ken mays via openindiana-discuss openindiana-discuss@openindiana.org
 writes:
 See:

 http://dlc-origin.openindiana.org/isos/hipster/OI-hipster-gui-20141010.iso


 [...]

 Thanks to both Alexander Pyhalov and you for that URL

 Alexanders, your awaited iso was already there when I looked
 yesterday.  Thanks

 Can any of you tell me how one navigates the pkgs.  In my install
 there seems to be no pkg manager.

 I'm familiar with the pkg cmdline but digging out specific stuff
 without the name is a bit primitive. And time consuming.

 There are some specific tools one needs to be able to build pkgs from
 source ... the developer/gnu  is one.  But there are others I don't
 recall the names of.

 For example, I'm having a problem building an external pkg called
 xbindkeys.

checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/usr/local/src/xbindkeys-1.8.6_2':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details


 So I start mucking around for gcc and find quite a bit with 'pkg search'

 What pkgs do I need to be able to do this?


That giving me a heck of a start... thanks


___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Bash bug issue

2014-10-13 Thread Ron Dawson
Thanks for this!



On Mon, Oct 13, 2014 at 1:19 PM, Alexander Pyhalov a...@rsu.ru wrote:

 Hello.
 Jon Tibble has just pushed updated bash package with recent security fixes
 to OI /dev a9. Just update your bash to 
 shell/bash@4.0.28,5.11-0.151.1.9:20140117T202904Z
 .
 --
 Best regards,
 Alexander Pyhalov,
 system administrator of Southern Federal University IT department

 ___
 openindiana-discuss mailing list
 openindiana-discuss@openindiana.org
 http://openindiana.org/mailman/listinfo/openindiana-discuss

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] [hipster] bug or pilot error

2014-10-13 Thread Alexander Pyhalov


Harry Putnam писал 13.10.2014 20:13:

Fressh install of newest hipster OI-hipster-gui-20141010.iso

This is my first adventure with hipster so not really sure what kind
of thing to holler about in the way of bug type stuff.

Checking here to see if this issue should be a bug report.

I had occasion to install a pkg I don't recall which now but probable
guile. Or maybe gcc related.

It required 4 other packages to meet install requirements.

Watching the action from pkg cmdline.  I see that 4 other pkgs are
being installed, but never see any indication of what they are.


Do I understand correctly that you want pkg to be more verbose?

pkg install -nv something will tell you what it's going to do.
pkg install -v something will tell you what it's going to do and 
actually do it.


---
System Administrator of Southern Federal University Computer Center



___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Sendmail on oi 151_a9

2014-10-13 Thread Alan Coopersmith

On 10/13/14 08:30 AM, Harry Putnam wrote:

You mentioned docs for solaris 11.  How do I know when I'm looking at
solaris 11 and not something a bit older?


Solaris 11 docs have a new style with Oracle Solaris 11 Information Library
(or whatever release version) clearly visible in the top bar, such as on:
http://docs.oracle.com/cd/E23824_01/html/E24456/glrcj.html

The starting point for the latest docs, for Solaris 11.2, is:
http://docs.oracle.com/cd/E36784_01/index.html

If you instead get a document with the older style that doesn't list the
version, such as:
http://docs.oracle.com/cd/E19253-01/817-1985/saroadmap-1/index.html
then you're in older docs, from an pre-Solaris 11 release (possibly one
of the Solaris Express or OpenSolaris interim releases though).

If you strip the URL down to the E/ level, you should see the top level
docs page for that release - i.e. http://docs.oracle.com/cd/E19253-01/ or
http://docs.oracle.com/cd/E23824_01/ to help see what release it was for.

--
-Alan Coopersmith-  alan.coopersm...@oracle.com
 Oracle Solaris Engineering - http://blogs.oracle.com/alanc

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] About moving to hipster

2014-10-13 Thread Alexander Pyhalov

Harry Putnam писал 13.10.2014 20:23:

Predrag Zecevic predrag.zece...@2e-systems.com writes:
So I start mucking around for gcc and find quite a bit with 'pkg 
search'


What pkgs do I need to be able to do this?



Try installing metapackages/build-essential. It is a meta-package 
referencing different build tools.

---
System Administrator of Southern Federal University Computer Center


___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Sendmail on oi 151_a9

2014-10-13 Thread Harry Putnam
Alan Coopersmith alan.coopersm...@oracle.com writes:

 On 10/13/14 08:30 AM, Harry Putnam wrote:
 You mentioned docs for solaris 11.  How do I know when I'm looking at
 solaris 11 and not something a bit older?

 Solaris 11 docs have a new style with Oracle Solaris 11 Information Library
 (or whatever release version) clearly visible in the top bar, such as on:
 http://docs.oracle.com/cd/E23824_01/html/E24456/glrcj.html


[...]

Thanks for useful input... that helps immensely.


___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Sendmail on oi 151_a9

2014-10-13 Thread Harry Putnam
Gary Mills gary_mi...@fastmail.fm writes:

 On Sun, Oct 12, 2014 at 03:25:26PM -0400, Harry Putnam wrote:
 
 I've set up sendmail many times in linux env.  Usually with quite a
 lot of help from maillists etc.  But have some idea how to do that.
 
 The extremely brief sendmail.mc on stock install and update to 151_a9
 leaves me pondering how to add the things I need to get it working.

 The Oracle documents for sendmail on Solaris 11 should cover
 everything you need to configure sendmail on OI.  I can send you some
 sendmail.mc files that I use, but I'd recommend you try the Oracle
 site first.  Their documents are free to use.

I'm sorry to report that after spending a good while now in those
documents under Ch 1 About Mail Services and right on down the line
under that heading.  Including Chapter 3 mail Services (Reference)

I have yet to find much that is helpful in creating a sendmail.mc.  I
have not found a single example of a sendmail.mc in those docs.

There are piles of information about how to test, what to do once you
have a working sendmail.mc... but precious little about actually
creating one.  

Apparently it was felt the reader should already know the nuts and
bolts of creating sendmail.cf


___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] [hipster] bug or pilot error

2014-10-13 Thread Harry Putnam
Alexander Pyhalov a...@rsu.ru writes:


[...]

 Do I understand correctly that you want pkg to be more verbose?

 pkg install -nv something will tell you what it's going to do.
 pkg install -v something will tell you what it's going to do and
 actually do it.

Egad, of course, of course the `-v' switch sorry for wasting bandwidth.


___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Sendmail on oi 151_a9

2014-10-13 Thread Bob Friesenhahn

On Mon, 13 Oct 2014, Harry Putnam wrote:


I have yet to find much that is helpful in creating a sendmail.mc.  I
have not found a single example of a sendmail.mc in those docs.

There are piles of information about how to test, what to do once you
have a working sendmail.mc... but precious little about actually
creating one.

Apparently it was felt the reader should already know the nuts and
bolts of creating sendmail.cf


Oracle documentation is almost the last place you would want to go to 
learn about configuring sendmail.


The best information available may be found on your system in the file 
/etc/mail/cf/README, which is provided by the sendmail package.


It is advised to have a good 'm4' program available since the .mc file 
gets converted to a .cf file using m4.


For example:

  cd /etc/mail
  vi myconfig.mc
  m4 /usr/lib/mail/m4/cf.m4 myconfig.mc  sendmail.cf

You should save your original .mc file in a safe place (e.g. on 
several systems) so that it does not get lost.  Putting it under 
version control is a good idea.


Bob
--
Bob Friesenhahn
bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,http://www.GraphicsMagick.org/

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Sendmail on oi 151_a9

2014-10-13 Thread Gary Mills
On Mon, Oct 13, 2014 at 12:48:53PM -0500, Bob Friesenhahn wrote:
 
 The best information available may be found on your system in the
 file /etc/mail/cf/README, which is provided by the sendmail package.

The other place to look is the documents site:

http://www.sendmail.com/sm/open_source/docs/

The release notes and the operation guide are useful.

 It is advised to have a good 'm4' program available since the .mc
 file gets converted to a .cf file using m4.
 
 For example:
 
   cd /etc/mail
   vi myconfig.mc
   m4 /usr/lib/mail/m4/cf.m4 myconfig.mc  sendmail.cf

There's a Makefile that does that for you.

 You should save your original .mc file in a safe place (e.g. on
 several systems) so that it does not get lost.  Putting it under
 version control is a good idea.

-- 
-Gary Mills--refurb--Winnipeg, Manitoba, Canada-

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Sendmail on oi 151_a9

2014-10-13 Thread The Outsider

I am curious what you want to change to sendmail?

It still would suggest the use of webmin, since it will let you set and 
change 85% of the sendmail setting in 5 minutes.



On 13 oktober 2014 20:08:00 Gary Mills gary_mi...@fastmail.fm wrote:


On Mon, Oct 13, 2014 at 12:48:53PM -0500, Bob Friesenhahn wrote:

 The best information available may be found on your system in the
 file /etc/mail/cf/README, which is provided by the sendmail package.

The other place to look is the documents site:

http://www.sendmail.com/sm/open_source/docs/

The release notes and the operation guide are useful.

 It is advised to have a good 'm4' program available since the .mc
 file gets converted to a .cf file using m4.

 For example:

   cd /etc/mail
   vi myconfig.mc
   m4 /usr/lib/mail/m4/cf.m4 myconfig.mc  sendmail.cf

There's a Makefile that does that for you.

 You should save your original .mc file in a safe place (e.g. on
 several systems) so that it does not get lost.  Putting it under
 version control is a good idea.

--
-Gary Mills--refurb--Winnipeg, Manitoba, Canada-

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss




___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Sendmail on oi 151_a9

2014-10-13 Thread Harry Putnam
The Outsider openindi...@out-side.nl writes:

 I am curious what you want to change to sendmail?

add smarthost and authentication.  Something I've done many times on
various linux OS.  But finding that there too I'm now having trouble.
There may have been a few changes in sendmail itself since my last
thorough going foray into sendmail  I switched to exim4 on my
debian boxes... but will admit I had a big struggle with that too. 

Its become apparent long ago that the pilot(me) is what is wanting here.

I found an this documenmt (which I posted a few replies back)
  http://docs.oracle.com/cd/E37670_01/E41138/html/ch15s06.html

That seems to spell things out rather clearly.  But still no workee.
(More on that later)

 It still would suggest the use of webmin, since it will let you set
 and change 85% of the sendmail setting in 5 minutes.

I've always done sendmail by hand (with the aid of m4 of course)  The
trick here is finding what things to add to the very brief existing
sendmail.mc and of course getting the right syntax.

I've got a start going which I will post at the end.

The error that is killing me right now comes up when m4ing sendmail.mc
to sendmail.cf

The error itself:

  root # make sendmail.cf
  test ! -f sendmail.cf || /usr/bin/mv sendmail.cf sendmail.cf.prev
  /usr/ccs/bin/m4 ../m4/cf.m4 sendmail.mc  sendmail.cf

  /usr/ccs/bin/m4:sendmail.mc:31 cannot open file: No such file or directory
  include(../feature/authinfo.m4)
  make: *** [sendmail.cf] Error 1

Hard to tell what file it is having trouble finding... If I'm reading
this right, I can find out at line 31 of my sendmail.mc  which says:

  FEATURE(`authinfo',`hash /etc/mail/auth/authinfo')dnl

I created the directory and the authinfo file and as you see they are
in place:


root # ls -l /etc/mail/auth
  total 82
  -rw--- 1 root root66 Oct 13 11:55 authinfo
  -rw--- 1 root root 81920 Oct 13 16:15 authinfo.db

Or maybe it is referring to ` /usr/ccs/bin/m4 '  Which is in fact
absent:

   root # ls -l /usr/css/bin/m4
  ls: cannot access /usr/css/bin/m4: No such file or directory

Or maybe its referring to `include(../feature/authinfo.m4)'

I don't know what the heck it means.

A line numbered version of sendmail.mc

 1  divert(-1)
 2  #
 3  # Copyright (c) 1983 Eric P. Allman
 4  # Copyright (c) 1988, 1993
 5  #   The Regents of the University of California.  All rights reserved.
 6  #
 7  # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 8  # Use is subject to license terms.
 9  #
10  #  This is a configuration file for SunOS 5.8 (a.k.a. Solaris 8) and later
11  #  subsidiary machines.  It has support for local and SMTP mail.  The
12  #  confFALLBACK_SMARTHOST macro is enabled, which means that messages will
13  #  be sent to that host (which is set to mailhost.$m [$m is the local 
domain])
14  #  if MX records are unavailable.  A short-cut rule is also defined, which
15  #  says if the recipient host is in the local domain, send to it directly
16  #  instead of the smart host.
17  #
18  #  If you want to customize this further, copy it to a name appropriate
19  #  for your environment and do the modifications there.
20  #
21
22  divert(0)dnl
23  VERSIONID(`sendmail.mc (Sun)')
24  OSTYPE(`solaris8')dnl
25  DOMAIN(`solaris-generic')dnl
26  define(`SMART_host', `[mail.messagingengine.com]')dnl
27  dnl define(`confFALLBACK_SMARTHOST', `mailhost$?m.$m$.')dnl
28  define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')dnl
29  define(`RELAY_MAILER_ARGS', `TCP $h 587')dnl
30  define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN 
PLAIN')dnl
31  FEATURE(`authinfo',`hash /etc/mail/auth/authinfo')dnl
32  FEATURE(local_procmail)dnl
33  define(`confAUTH_OPTIONS', `A p y')dnl
34
35  MAILER(`local')dnl
36  MAILER(`smtp')dnl
37  MAILER(`procmail')dnl
38
39  LOCAL_NET_CONFIG
40  R$*  @ $* .$m.  $*$#esmtp $@ $2.$m $: $1  @ $2.$m.  $3


___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Sendmail on oi 151_a9

2014-10-13 Thread Harry Putnam
Bob Friesenhahn bfrie...@simple.dallas.tx.us writes:

 On Mon, 13 Oct 2014, Harry Putnam wrote:

 I have yet to find much that is helpful in creating a sendmail.mc.  I
 have not found a single example of a sendmail.mc in those docs.

 There are piles of information about how to test, what to do once you
 have a working sendmail.mc... but precious little about actually
 creating one.

 Apparently it was felt the reader should already know the nuts and
 bolts of creating sendmail.cf

 Oracle documentation is almost the last place you would want to go to
 learn about configuring sendmail.

Thank you, yes, I agree.

 The best information available may be found on your system in the file
 /etc/mail/cf/README, which is provided by the sendmail package.

I've used that file many times to look up what one or another stanza
in a sample *.mc was supposed to do.  So, I agree.  Its good to know
about. However, in 4311 lines there is not one concrete example of a
sendmail.mc that user can take apart rearrange and etc.

It turns out on oi, oi-hipster the setup is all rigged up in
/etc/mail/cf/cf with makefiles that pull out the m4 tools for you. 

You just say `make sendmail.cf' after editing sendmail.mc


___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Sendmail on oi 151_a9

2014-10-13 Thread Tim Mooney

In regard to: Re: [OpenIndiana-discuss] Sendmail on oi 151_a9, Harry Putnam...:


The error itself:

 root # make sendmail.cf
 test ! -f sendmail.cf || /usr/bin/mv sendmail.cf sendmail.cf.prev
 /usr/ccs/bin/m4 ../m4/cf.m4 sendmail.mc  sendmail.cf

 /usr/ccs/bin/m4:sendmail.mc:31 cannot open file: No such file or directory
 include(../feature/authinfo.m4)
 make: *** [sendmail.cf] Error 1

Hard to tell what file it is having trouble finding... If I'm reading
this right, I can find out at line 31 of my sendmail.mc  which says:

 FEATURE(`authinfo',`hash /etc/mail/auth/authinfo')dnl


The easy thing to do would be to remove that line (or comment it out,
remember for m4 it's dnl) and then try the rebuild.  If it works,
then it's that line.


I created the directory and the authinfo file and as you see they are
in place:


   root # ls -l /etc/mail/auth
 total 82
 -rw--- 1 root root66 Oct 13 11:55 authinfo
 -rw--- 1 root root 81920 Oct 13 16:15 authinfo.db


It could also be a permissions problem.  For debugging only, you could
try opening permissions on those files and that directory.  If that
fixes the issue, then you know that it's permission-related, and you
can focus on that.


Or maybe it is referring to ` /usr/ccs/bin/m4 '  Which is in fact
absent:

  root # ls -l /usr/css/bin/m4
 ls: cannot access /usr/css/bin/m4: No such file or directory



It's not css, it's ccs.  Try with the correct path and see if it's
present.

Tim
--
Tim Mooney tim.moo...@ndsu.edu
Enterprise Computing  Infrastructure  701-231-1076 (Voice)
Room 242-J6, Quentin Burdick Building  701-231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Sendmail on oi 151_a9

2014-10-13 Thread Harry Putnam
Tim Mooney tim.moo...@ndsu.edu writes:

First, thanks for the patient look at things, aside from making my
look bad for not thinking of what in hindsight now look totally obvious
things to do.  It was very helpful

 The easy thing to do would be to remove that line (or comment it out,
 remember for m4 it's dnl) and then try the rebuild.  If it works,
 then it's that line.

Bingo... yup its that line.

 I created the directory and the authinfo file and as you see they are
 in place:


root # ls -l /etc/mail/auth
  total 82
  -rw--- 1 root root66 Oct 13 11:55 authinfo
  -rw--- 1 root root 81920 Oct 13 16:15 authinfo.db

 It could also be a permissions problem.  For debugging only, you could
 try opening permissions on those files and that directory.  If that
 fixes the issue, then you know that it's permission-related, and you
 can focus on that.

That one is ruled out now I guess since I set the directory 777 and
file 666 but still had the same error.

 Or maybe it is referring to ` /usr/ccs/bin/m4 '  Which is in fact
 absent:

   root # ls -l /usr/css/bin/m4
  ls: cannot access /usr/css/bin/m4: No such file or directory

Once again... right on the money.

One more thing I'm checking next is the actual format of the line.
I remember having errors once the source being not having backticks
where they are needed in the stanza lines.  This one looks right in
that regard but I'll find one on someone elses *.mc and compare if I
don't see it in that readme.


___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Sendmail on oi 151_a9

2014-10-13 Thread Tim Mooney

In regard to: Re: [OpenIndiana-discuss] Sendmail on oi 151_a9, Harry Putnam...:


Tim Mooney tim.moo...@ndsu.edu writes:

First, thanks for the patient look at things, aside from making my
look bad for not thinking of what in hindsight now look totally obvious
things to do.  It was very helpful


Oh, believe me, I have plenty of well why didn't I think of insert
totally obvious debugging step here moments, so I can relate.


The easy thing to do would be to remove that line (or comment it out,
remember for m4 it's dnl) and then try the rebuild.  If it works,
then it's that line.


Bingo... yup its that line.


Ok, looking at my OI151a9 box, I don't have the file

/etc/mail/cf/feature/authinfo.m4

That means that the authinfo FEATURE isn't part of the sendmail-related
packages I have installed.  Perhaps there's some extra package for
sendmail that would include it.  I'm still weak with IPS, but the
Oracle IPS one-liners doc lead me to try

pkg search authinfo.m4

pkg search /etc/mail/cf

both of which seem to imply that there aren't any add-on packages that
might provide additional features that aren't included in the base
package.

I no longer have the email where you first described your config, but
did you grab this authinfo.m4 from somewhere else on the net and drop
it into place on your OI box?  If you did, can you include the contents
of that file in a response, so we can see what the macros are actually
doing?

If you didn't, then you should first verify that you do have that file.
Without it, trying to use FEATURE with that basename isn't going to work.


It could also be a permissions problem.  For debugging only, you could
try opening permissions on those files and that directory.  If that
fixes the issue, then you know that it's permission-related, and you
can focus on that.


That one is ruled out now I guess since I set the directory 777 and
file 666 but still had the same error.


Good.  I doubted that was it, but I know that how (and who) sendmail
runs has changed over the years, so something that's only readable
via the root user may not work in all cases.  Case in point, the
aliases.db has group read permission for smmsp group, since that's
what the submission agent (?) runs as.

Tim
--
Tim Mooney tim.moo...@ndsu.edu
Enterprise Computing  Infrastructure  701-231-1076 (Voice)
Room 242-J6, Quentin Burdick Building  701-231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Sendmail on oi 151_a9

2014-10-13 Thread Gary Mills
On Mon, Oct 13, 2014 at 06:48:48PM -0400, Harry Putnam wrote:
 Tim Mooney tim.moo...@ndsu.edu writes:
 
  The easy thing to do would be to remove that line (or comment it out,
  remember for m4 it's dnl) and then try the rebuild.  If it works,
  then it's that line.
 
 Bingo... yup its that line.
 
  I created the directory and the authinfo file and as you see they are
  in place:
 root # ls -l /etc/mail/auth
   total 82
   -rw--- 1 root root66 Oct 13 11:55 authinfo
   -rw--- 1 root root 81920 Oct 13 16:15 authinfo.db

You don't actually need the authinfo feature to use authinfo.  You
can put the same data in the access database instead.  The README
file describes how to do that.  These are my access files:

-rw-r-   1 root root 172 Jul  3  2011 /etc/mail/access
-rw-r-   1 root root   32768 Jul  3  2011 /etc/mail/access.db

The contents are like this:

AuthInfo:[mail.messagingengine.com] U:user@domain P:password M:PLAIN
AuthInfo:mail.messagingengine.com U:user@domain P:password M:PLAIN

I'll attach the .mc file I'm using.  You'll need to modify it in
order to use it.

-- 
-Gary Mills--refurb--Winnipeg, Manitoba, Canada-
divert(-1)
#
# Copyright (c) 1983 Eric P. Allman
# Copyright (c) 1988, 1993
#   The Regents of the University of California.  All rights reserved.
#
# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#
#  This is a configuration file for SunOS 5.8 (a.k.a. Solaris 8) and later
#  subsidiary machines.  It has support for local and SMTP mail.  The
#  confFALLBACK_SMARTHOST macro is enabled, which means that messages will
#  be sent to that host (which is set to mailhost.$m [$m is the local domain])
#  if MX records are unavailable.  A short-cut rule is also defined, which
#  says if the recipient host is in the local domain, send to it directly
#  instead of the smart host.
#
#  If you want to customize this further, copy it to a name appropriate
#  for your environment and do the modifications there.
#

divert(0)dnl
VERSIONID(`sendmail.mc (Sun)')
OSTYPE(`solaris8')dnl
DOMAIN(`solaris-generic')dnl
dnl FEATURE(`authinfo')dnl
FEATURE(`access_db')dnl
define(`SMART_HOST', `[mail.messagingengine.com]')dnl
define(`RELAY_MAILER_ARGS', `TCP $h 587')dnl
MAILER(`local')dnl
MAILER(`smtp')dnl

LOCAL_NET_CONFIG
R$*  @ $* .$m.  $*$#esmtp $@ $2.$m $: $1  @ $2.$m.  $3
___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Sendmail on oi 151_a9

2014-10-13 Thread Harry Putnam
Tim Mooney tim.moo...@ndsu.edu writes:

 I no longer have the email where you first described your config, but
 did you grab this authinfo.m4 from somewhere else on the net and drop
 it into place on your OI box?  If you did, can you include the contents
 of that file in a response, so we can see what the macros are actually
 doing?

 If you didn't, then you should first verify that you do have that file.
 Without it, trying to use FEATURE with that basename isn't going to work.

No, I did nothing like that.

I think you've just exposed the mystery. I think that line about the
file is telling me just what you suggest here.

 `/usr/ccs/bin/m4:sendmail.mc:13 cannot open file: No such file or directory
 include(../feature/authinfo.m4)'

That part of the error message is apparently saying the `no such file'
is authinfo.m4... kind of a peculiar formulation actually but I bet
that's the meaning of it.

I got the formulation here:

  http://docs.oracle.com/cd/E37670_01/E41138/html/ch15s06.html
 
  `FEATURE('authinfo','hash /etc/mail/auth/smtp-auth.db')dnl;
you will see it just below center of that page.

where I originally followed those steps exactly.

That is, I put the information in /etc/mail/auth/smtp-auth
as specified on that page.

I hit that same failure we are now seeing on authinfo.

My first post on this showed that failure and that forumulation.

I then borrowed the current formulation from an old config from a
linux box hoping the naming difference was the problem.  That one had
it:

   FEATURE(`authinfo', `hash /etc/mail/authinfo')dnl 

So I switched from 

  FEATURE(`authinfo', `hash /etc/mail/auth/smtp-auth')dnl
.

Both fail with same failure and now doing `find /etc/mail -name '*.m4''
I find of the 71 *.m4 files present none of them appear to be related
to authentication.

I guess it was thought none would be needed...

Thanks for solving the mystery.




___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Bash bug issue

2014-10-13 Thread Carl Brewer

On 14/10/2014 12:19 AM, Alexander Pyhalov wrote:

Hello.
Jon Tibble has just pushed updated bash package with recent security
fixes to OI /dev a9. Just update your bash to
shell/bash@4.0.28,5.11-0.151.1.9:20140117T202904Z .


Any chance that the same could be done for a8?  I can't get to a9 - it 
always fails to upgrade for me.




___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Sendmail on oi 151_a9

2014-10-13 Thread Predrag Zecevic

Am 13.10.2014 um 23:03 schrieb Harry Putnam:

Bob Friesenhahn bfrie...@simple.dallas.tx.us writes:


On Mon, 13 Oct 2014, Harry Putnam wrote:


I have yet to find much that is helpful in creating a sendmail.mc.  I
have not found a single example of a sendmail.mc in those docs.

There are piles of information about how to test, what to do once you
have a working sendmail.mc... but precious little about actually
creating one.

Apparently it was felt the reader should already know the nuts and
bolts of creating sendmail.cf


Oracle documentation is almost the last place you would want to go to
learn about configuring sendmail.


Thank you, yes, I agree.


The best information available may be found on your system in the file
/etc/mail/cf/README, which is provided by the sendmail package.


I've used that file many times to look up what one or another stanza
in a sample *.mc was supposed to do.  So, I agree.  Its good to know
about. However, in 4311 lines there is not one concrete example of a
sendmail.mc that user can take apart rearrange and etc.

It turns out on oi, oi-hipster the setup is all rigged up in
/etc/mail/cf/cf with makefiles that pull out the m4 tools for you.

You just say `make sendmail.cf' after editing sendmail.mc


___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss




Hi,

did you considered postfix (as sendmail replacement)?
It is much easier to configure and is present in OI and almost up to 
date: http://pkg.openindiana.org/sfe/en/catalog.shtml.


If you still want to use sendmail, please ignore me.
Regards.
--
Predrag Zečević, Technical Support Analyst, 2e Systems GmbH

Telephone: +49 6196 9505 815, Facsimile: +49 6196 9505 894
Mobile:+49  174 3109 288, Skype: predrag.zecevic
E-mail:predrag.zece...@2e-systems.com

Headquarter:  2e Systems GmbH, Königsteiner Str. 87,
  65812 Bad Soden am Taunus, Germany
Company registration: Amtsgericht Königstein (Germany), HRB 7303
Managing director:Phil Douglas

http://www.2e-systems.com/ - Making your business fly!

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss