ServeRaid Manager for Linux sends hostname instead of mail address in "from" field

  • Thread starter Thread starter Gerfried Steiner
  • Start date Start date
G

Gerfried Steiner

Hi,

I hope there is anybody out there to help me fix this strange problem.

I use IBM ServeRaid Manager for Linux, Version 6.11.07 (2224) on an
IBM eSeriex x345. OS is RedHat 7.3.

When I try to test email notification, RaidMan puts the hostname of
the machine instead of the configured "reply to address" in the emails
"from" field. Of course our company's SMTP server does not accept
this. I did not find any other way to tell this stupid program how to
use a mail adress for the "from" field.

Any ideas?

Regards,
Gerfried from Austria

/usr/RaidMan/SMTPerr.log:

-------------------------------------------------------------------------------
Mar 12, 2004 3:11:50 PM
ERROR: Sending HELO commmand, email address hostname-of-the-system
SRC(220-We do not authorize the use of this system to transport
unsolicited, )
-------------------------------------------------------------------------------
Mar 12, 2004 3:11:50 PM
com.ibm.sysmgt.raidmgr.util.SmtpException: HELOCommandError
at
com.ibm.sysmgt.raidmgr.util.SmtpSession.send(SmtpSession.java:96)
at
com.ibm.sysmgt.raidmgr.common.EmailRecipient.sendEvent(EmailRecipient.java:205)
at
com.ibm.sysmgt.raidmgr.agent.SMTPManagerRMI.sendEventMessage(SMTPManagerRMI.java:302)
at
com.ibm.sysmgt.raidmgr.agent.SMTPManagerRMI_Skel.dispatch(SMTPManagerRMI_Skel.java:185)
at
sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:342)
at
sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:207)
at sun.rmi.transport.Transport$1.run(Transport.java:148)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
at java.lang.Thread.run(Thread.java:536)
 
Previously Gerfried Steiner said:
I hope there is anybody out there to help me fix this strange problem.
I use IBM ServeRaid Manager for Linux, Version 6.11.07 (2224) on an
IBM eSeriex x345. OS is RedHat 7.3.
When I try to test email notification, RaidMan puts the hostname of
the machine instead of the configured "reply to address" in the emails
"from" field. Of course our company's SMTP server does not accept
this. I did not find any other way to tell this stupid program how to
use a mail adress for the "from" field.
Any ideas?

I don't know this tool. But putting in the hostname as sender
is the default if no sender is configured in a lot of mail software
under UNIX. So I guess your workaround did not actually work...

One thing you could do is to let the thing not send its own
emails, but tell it to deliver to a real MTA on the local host.
In this MTA you could do a rewriting of the 'from:'-field.

Another thing possibility is if you can have it call a script instead
of send an Email, to send the email with the script. Either use a real
MTA or, e.g., the perl/python-modules available for this.

Finally the third option is to get special treatment on the SMTP-server.

Regards,
Arno
 
Back
Top