Harry Putnam via illumos-zfs
2014-05-20 13:00:22 UTC
head -1 /etc/release
OpenIndiana Development oi_151.1.9 X86 (powered by illumos)
Attempting to setup sendmail to use a certain auth scheme that my
SmartHost requires.
When I try to build the sendmail.cf from the test sendmail.mc which
contains this lines:
FEATURE(`authinfo', `hash /etc/mail/authinfo')dnl
I run into a problem.. It seems on the oi setup for sendmail the m4
processor expects to find a script or macro under /etc/mail/cf/feature
That answers the need of any FEATURE requested in sendmail.mc
These is no /etc/mail/cf/feature/authinfo.m4
So I see this:
make oi.cf
test ! -f oi.cf || /usr/bin/mv oi.cf oi.cf.prev
/usr/ccs/bin/m4 ../m4/cf.m4 oi.mc > oi.cf
/usr/ccs/bin/m4:oi.mc:29 cannot open file: No such file or directory
include(../feature/authinfo.m4)
make: *** [oi.cf] Error 1
So, what do I need to do to get the authinfo information processed in
sendmail.cf?
As it is the oi.cf produced is just commented lines.
In case it is helpful I've included the test oi.mc (sendmail.mc) at
the end. Some of the lines in it have been imported from a working
linux system... so not sure how to integrate things to work with oi
sendmail arrangement.
------- ------- ---=--- ------- -------
divert(0)dnl
VERSIONID(`sendmail.mc (Sun)')
OSTYPE(`solaris8')dnl
DOMAIN(`solaris-generic')dnl
define(`RELAY_MAILER_ARGS', `TCP $h 587')dnl
define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')dnl
divert(-1)
divert(0)dnl
VERSIONID(`sendmail.mc (Sun)')
OSTYPE(`solaris8')dnl
DOMAIN(`solaris-generic')dnl
dnl define(`confFALLBACK_SMARTHOST', `mailhost$?m.$m$.')dnl
define(`RELAY_MAILER_ARGS', `TCP $h 587')dnl
define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')dnl
FEATURE(`authinfo', `hash /etc/mail/authinfo')dnl
define(`confAUTH_MECHANISMS',`LOGIN PLAIN')dnl
define(`SMART_HOST',`[mail.messagingengine.com]')dnl
MAILER(`local')dnl
MAILER(`procmail')dnl
MAILER(`smtp')dnl
OpenIndiana Development oi_151.1.9 X86 (powered by illumos)
Attempting to setup sendmail to use a certain auth scheme that my
SmartHost requires.
When I try to build the sendmail.cf from the test sendmail.mc which
contains this lines:
FEATURE(`authinfo', `hash /etc/mail/authinfo')dnl
I run into a problem.. It seems on the oi setup for sendmail the m4
processor expects to find a script or macro under /etc/mail/cf/feature
That answers the need of any FEATURE requested in sendmail.mc
These is no /etc/mail/cf/feature/authinfo.m4
So I see this:
make oi.cf
test ! -f oi.cf || /usr/bin/mv oi.cf oi.cf.prev
/usr/ccs/bin/m4 ../m4/cf.m4 oi.mc > oi.cf
/usr/ccs/bin/m4:oi.mc:29 cannot open file: No such file or directory
include(../feature/authinfo.m4)
make: *** [oi.cf] Error 1
So, what do I need to do to get the authinfo information processed in
sendmail.cf?
As it is the oi.cf produced is just commented lines.
In case it is helpful I've included the test oi.mc (sendmail.mc) at
the end. Some of the lines in it have been imported from a working
linux system... so not sure how to integrate things to work with oi
sendmail arrangement.
------- ------- ---=--- ------- -------
divert(0)dnl
VERSIONID(`sendmail.mc (Sun)')
OSTYPE(`solaris8')dnl
DOMAIN(`solaris-generic')dnl
define(`RELAY_MAILER_ARGS', `TCP $h 587')dnl
define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')dnl
divert(-1)
divert(0)dnl
VERSIONID(`sendmail.mc (Sun)')
OSTYPE(`solaris8')dnl
DOMAIN(`solaris-generic')dnl
dnl define(`confFALLBACK_SMARTHOST', `mailhost$?m.$m$.')dnl
define(`RELAY_MAILER_ARGS', `TCP $h 587')dnl
define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')dnl
FEATURE(`authinfo', `hash /etc/mail/authinfo')dnl
define(`confAUTH_MECHANISMS',`LOGIN PLAIN')dnl
define(`SMART_HOST',`[mail.messagingengine.com]')dnl
MAILER(`local')dnl
MAILER(`procmail')dnl
MAILER(`smtp')dnl