3
votes
1answer
583 views

Why does sendmail work differently in different shells?

The following code works when I directly run it in bash shell: SUBJECT="SUBJECT-"`date`; MAIL_FROM="abc@site.com"; MAIL_TO="abc@site.com"; MAIL_CC="abc@site.com"; MAIL_FILE="/path/of/html/body.html"; ...
2
votes
0answers
331 views

Sendmail configuration with user mapping on Solaris

I have the following: host1.intra.net which has sendmail and users: user1, user2 & user3. It is running SunOS 5.10. host2.intra.net which has SMTP server. No authentication, no encryption. Email ...