Operating System - Tru64 Unix
1828204 Members
2262 Online
109975 Solutions
New Discussion

Does sendmail mailertable exist for Tru64 UNIX 4.0F

 
SOLVED
Go to solution
Geert Van Pamel
Regular Advisor

Does sendmail mailertable exist for Tru64 UNIX 4.0F

I want to implement a mail router on Tru64 UNIX 4.0F.

Therefore I need the sendmail mailertable functionality.

For Red Hat this is well documented, but for Tru64 I can not find it.
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: Does sendmail mailertable exist for Tru64 UNIX 4.0F

Shalom Geert,

Almost every major unix uses sendmail, which is an open source product.

Though HP partially re-wrote it on HP-UX there really was nothing to it other than the names and locations of some config files.

mailertable functinality should work just as it does at http://www.sendmail.org

I never touched Tru64 and may be totally off base. If it uses Sendmail you are in business.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Ivan Ferreira
Honored Contributor
Solution

Re: Does sendmail mailertable exist for Tru64 UNIX 4.0F

You can install also the sendmail.org supplied package.

Mailertable is not enabled by default in Tru64 and there is no default location of the file.

Try doing what I described on this post:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=979478
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Geert Van Pamel
Regular Advisor

Re: Does sendmail mailertable exist for Tru64 UNIX 4.0F

uname -a
OSF1 hbsitlin.bc V4.0 1229 alpha

Before my change, the m4 file contained only define & dnl commands

vi hbsitlin.m4
...
FEATURE(`mailertable',`hash -o /var/adm/sendmail/mailertable.db')dnl

make -f Makefile.cf.hbsitlin
m4 -D_ConfigFile=hbsitlin.m4 sendmail.m4 > hbsitlin.cf

diff hbsitlin.cf sendmail.cf
26c26
< FEATURE(`mailertable',`hash -o /var/adm/sendmail/mailertable.db')#(begin m4 junk)

makemap hash mailertable.db < mailertable
makemap: Type hash not supported in this version

I see 3 problems:

* The mailertable feature seems not to be available in Tru64 4.0F
* The makemap does not support the hash option
* My hardware does not support Tru64 V5

Any alternatives?
Ivan Ferreira
Honored Contributor

Re: Does sendmail mailertable exist for Tru64 UNIX 4.0F

Your hardware does not supports V5?

You could try to install the sedmail.org provided package. What exactly do you want to do? Do you really need mailertable?
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Geert Van Pamel
Regular Advisor

Re: Does sendmail mailertable exist for Tru64 UNIX 4.0F

Actually, it is an AlphaStation 500 from 1998 but it feels like a "NonStop" :-)

I believe that I have found what I need, based on your hints... actually I do not need the full mailertable functionality.

What I actually need is the following:

- send all local mail directly to the hosts via ESMTP
- send mail for the company domain to the internal mail router
- send mail for internet via the external mail router

(mailertable extract from a Red Hat server)
belgacom.be relay:[exchange.bc]
.bc esmtp:%1.bc
.bgc.net esmtp:%1.bgc.net
.bgc-grp.net esmtp:%1.bgc-grp.net

And I have been able to implement this simple mailertable logic with the following m4 input file:

define(_MyDomain, {bc})dnl
define(_ParentDomain, {belgacom.be})dnl
define(_MyDomains, {bc bgc.net bgc-grp.net})dnl
define(_ExportedName, {belgacom.be})dnl
# internet gateway
define(_TransINET, {smtp})dnl
define(_GateINET, {hbsitlab.bc})dnl
# intranet gateway
define(_TransParent, {smtpr})dnl
define(_GateParent, {exchange.bc})dnl