1833294 Members
3050 Online
110051 Solutions
New Discussion

Sendmail & icod_notify

 
Joseph Morrison_2
Occasional Advisor

Sendmail & icod_notify

Hi

I need to configure an HPUX 11 server to allow the icod_notify command (B5.00) to send an asset report to hp.com.According to the Exchange admin, only mail from valid mailboxes will be forwarded by the mail server.
sendmail -fjoe@mycompany.com xxx@hp.com works OK.

How can I configure the same for the icod_notify command?
If it can be taught, I can learn it.
3 REPLIES 3
Colin Topliss
Esteemed Contributor

Re: Sendmail & icod_notify

If I've understood your question correctly:

icod_modify -c
can be used to set the contact details used by icod_notify.

To ensure that the mail appears from a 'valid' mailbox (hence preventing your exchange server from dumping the mail instead of sending it), you need to look at your sendmail configuration (probably domain masquerading is what you're after).
Joseph Morrison_2
Occasional Advisor

Re: Sendmail & icod_notify

Thanks for the reply

The contact details have been set up.I have tried setting up sendmail.cf as follows:
DMmycompany.com

It seems I need to masquerade as a specific existing mailbox on the Exchange server, as in the
sendmail -fxxx example above.

How can I do this?
If it can be taught, I can learn it.
Colin Topliss
Esteemed Contributor

Re: Sendmail & icod_notify

That should be OK. You did stop/start sendmail when you made the change, right?

Create a test mail:
echo "hello" >> test.mail

then try doing:

sendmail -tv joe@mycompany.com
See what the output says.

It may be that you can't resolve the domain you're trying to send to (so you'll need to add an alias in your host file).

Col