Harry Putnam <[email protected]> writes:
> I don't really want to start tinkering until I can get a vm with oi
> guest setup for testing config then figured I'd transfer a working
> config to my server.
I've got that running now and want to try to contribute something to
this discussion by describing what I see attempting to build a
sendmil.cf.
At the end I will attach sendmail.mc and acccess (munged)
What I'm seeing appears to be a bit of a show stopper to me.
However Gary Mills seems to have it working so most likely pilot error
here.
Edit senmail.mc Adding a smarthost and few other things to the
default sendmail.mc
cd /etc/mail/cf/cf
root # cp mysendmail_1.mc sendmail.mc
cp: overwrite ‘sendmail.mc’? y
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
Now comes the bad part. I've added a smarthost to sendmail.mc
(See full txt attached. Inlining the one line here)
define(`SMART_host', `mail.messagingengine.com')dnl
Theoretically the *.cf file is now generated.
See what happens with grep:
root # grep messagingengine sendmail.mc
define(`SMART_host', `mail.messagingengine.com')dnl
HOST:oih /etc/mail/cf/cf
root # grep messagingengine sendmail.cf
(nada)
Somehow the smarthost has not made it into the sendmail.cf file?
What gives?
Of course when I try to sendmail... the config knows nothing about my
smarthost.
Or am I really missing lots of important stuff here?
Before going any further, I need to get the above situation resolved.
------- ------- ---=--- ------- -------
sendmail.mc
divert(-1)
divert(0)dnl
VERSIONID(`sendmail.mc (Sun)')
OSTYPE(`solaris8')dnl
DOMAIN(`solaris-generic')dnl
dnl FEATURE(`access_db',`hash -T<TMPF> /etc/mail/access.db')dnl
FEATURE(`access_db')dnl
define(`RELAY_MAILER_ARGS', `TCP $h 587')dnl
define(`SMART_host', `mail.messagingengine.com')dnl
define(`confFALLBACK_SMARTHOST', `mailhost$?m.$m$.')dnl
define(`PROCMAIL_MAILER_PATH', `/usr/bin/procmail')dnl
define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN
PLAIN')dnl
dnl FEATURE(`authinfo',`hash /etc/mail/auth/authinfo')dnl
dnl FEATURE(`authinfo', `hash /etc/mail/auth/smtp-auth')dnl
define(`confAUTH_OPTIONS', `A p y')dnl
MAILER(`local')dnl
MAILER(`smtp')dnl
MAILER(`procmail')dnl
LOCAL_NET_CONFIG
R$* < @ $* .$m. > $* $#esmtp $@ $2.$m $: $1 < @ $2.$m. > $3
------- ------- ---=--- ------- -------
access (UID and PASSWD are munged)
Authinfo:mail.messagingengine.com "U:[email protected]" "P:MYPASSW" "M: LOGIN
PLAIN"
_______________________________________________
openindiana-discuss mailing list
[email protected]
http://openindiana.org/mailman/listinfo/openindiana-discuss