1751695 Members
5095 Online
108781 Solutions
New Discussion юеВ

Re: Regarding "elm"

 
kani_1
Occasional Contributor

Regarding "elm"

Hi

I have used "elm" in my script where the unix verison is HP-UX 11.11,

Now we are moved to HP_UX 11.23, when I tried to run my script it says

I am using elm as below in my script

elm -sx "Drop Ship $filename for Verizon Acc# $filename1" "${email_recipients[@]:?}" < $file

Notice:
This version of ELM requires the use of a .elm directory to store your
elmrc and alias files. I'd like to create the directory .elm for you
and set it up, but I can't in "batch mode".
Please run ELM in "normal mode" first.

can anyone help me on this use
5 REPLIES 5
OldSchool
Honored Contributor

Re: Regarding "elm"

"Notice:
This version of ELM requires the use of a .elm directory to store your
elmrc and alias files. I'd like to create the directory .elm for you
and set it up, but I can't in "batch mode".
Please run ELM in "normal mode" first."


do did you try running "elm" at the command line like it told you? If not, do so (as the user that needs to run the script.
OldSchool
Honored Contributor

Re: Regarding "elm"

oh yeah, if the script is running as a cron job, you may also be having issues with the minimal environment that is present.
Pete Randall
Outstanding Contributor

Re: Regarding "elm"

Or simply stop using elm:

mail -s "Drop Ship $filename for Verizon Acc# $filename1" "${email_recipients[@]:?}" < $file

I believe that would work just as well.


Pete

Pete
kani_1
Occasional Contributor

Re: Regarding "elm"

Hi

As you said I run elm from the commandline, but it was failing to send the email
it directly pointing to /var/mail/ABC

I see this message.
reason: 554 Mail from evision@itanium.apc.com rejected for policy reasons

any solution for this
Steven Schweda
Honored Contributor

Re: Regarding "elm"

> reason: 554 Mail from evision@itanium.apc.com rejected for policy reasons
>
> any solution for this

Talk to the people who control the computer
at apc.com? Is that you or someone else?