Operating System - HP-UX
1835392 Members
3725 Online
110078 Solutions
New Discussion

sendmail relay with cluster packages

 
Juha Eklund_1
Advisor

sendmail relay with cluster packages

Howdy Ladies and gentlemen,
I have strange problem when trying to send email outside from machine using different "from-ip" . If I am using the machine/localhost everything works, but when I try to send email on behalf on cluster package ( connecting to the sendmail through package ip-address running on the same node ) it says it cant relay the mail. Attached is small log of my try and sendmails output.

I have tried to put package-ip / package name to /etc/mail/relay-domains but with no luck.

Machine is running hp-ux B.11.23, sendmail is 8.11.1, default sendmail.cf used ( only changed the Dj to official domain) . The machine itself can send/receive mails without any errors ..

-- Juha --
4 REPLIES 4
Kent Ostby
Honored Contributor

Re: sendmail relay with cluster packages

Juha --

We addressed this problem by allowing the machines to send the email by using the official domain but changed the "From" addresses using .elmrc (for our elm users) and an alias for our mailx users who are mounted on the package :

mailx='mailx -r hpcu@domain.hp.com'

This was on a per user basis.

Here is a thread with other ideas for changing the from that I started which may help you as well:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=685447

"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
Juha Eklund_1
Advisor

Re: sendmail relay with cluster packages

Thanx for quick response, but the solution is not what I want ... Biggest issue is to configure the sendmail so that it *can* send the emails away ... If I am right the issue is that sendmail is not allowing to pass the mails through because it theinks that the sender is somebeofy else, possible trying to spam .. Even when I put the packages name and address in /etc/mail/access and run the makemap-command the sendmail refuses to relay the mails ..

-- Juha --
Kent Ostby
Honored Contributor

Re: sendmail relay with cluster packages

Juha --

Can you attach your sendmail.cf file ?

"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
Juha Eklund_1
Advisor

Re: sendmail relay with cluster packages

.. sure, sorry that it was not included as from starting point ..

-- Juha --

PS: I modified the FQDN in Dj to be a dummy one ..