Operating System - HP-UX
1822448 Members
2599 Online
109642 Solutions
New Discussion юеВ

Re: using elm for sending mail with attachment for yahoo Domain

 
SOLVED
Go to solution
prashanth B R
Advisor

using elm for sending mail with attachment for yahoo Domain

Hi,
I am sending Auto Mail using cron job's

step 1>ux2dos /home/sapshoper/pt1/ /home/sapshoper/pt1/zipfile/ # Save it uxtodos.sh

step 2>gzip /home/sapshoper/pt1/zipfile/ # Save it zipfile.sh

step 3>[include .gz application/zip base64] # save it as input-file

step 4> elm -s "test" prashanth@arvindbrands.com < input-file # save it as email.sh

step 5> Chmod 775 email.sh zipfile.sh uxtodos.sh input-file


now When i am sending to Yahoo , iam not getting the mail in yahoo .
i get mails for gmail and hotmail.

is yahoo treating as spam ?

i have set /.elm/elmheaders also where i have mentioned from:

with regards
prashanth
12 REPLIES 12
Peter Godron
Honored Contributor
Solution

Re: using elm for sending mail with attachment for yahoo Domain

Prashanth,
Summary:
You are using elm to send a compressed zip file to your arvinbrands.com email address.

Questions:
How do you retrieve this message into your gmail,hotmail and yahoo accounts?
What do you mean by "I get mails for gmail and hotmail"?

I would have expected to see something like:
elm -s "test" prashanth@hotmail.com < infile
elm -s "test" prashanth@yahoo.com < infile
.
.



prashanth B R
Advisor

Re: using elm for sending mail with attachment for yahoo Domain

Hi ,

If you see my 4th step where is use
step 4> elm -s "test" prashanth@arvindbrands.com < input-file # save it as email.sh

I execute the shell scripts.

note : i am able receive the mails on i.e 6 browser for gmail and hotmail
But not for yahoo ?
Is this treated as spam

with regards
prashanth
Arunvijai_4
Honored Contributor

Re: using elm for sending mail with attachment for yahoo Domain

Hi Prashanth,

Check your yahoo's junk mail folder for the message. It shouldn't go to junk mail..

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
prashanth B R
Advisor

Re: using elm for sending mail with attachment for yahoo Domain

Hi,

I have checked the Junks mail .

In Hotmail this was treated as junk . i changed the status.

Only Yahoo has the problem.

with regards
prashanth
Arunvijai_4
Honored Contributor

Re: using elm for sending mail with attachment for yahoo Domain

Hi Prashanth,

Check in your server that you got any mailer-daemon notices of failure. Also, Could you able to send/receive mails to yahoo without attachments ?

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
prashanth B R
Advisor

Re: using elm for sending mail with attachment for yahoo Domain

hi,

1. I observed one thing in smtp server (Relay server )
when i use
a) sendmail -f prashanth@arvindbrands.com prashbr@yahoo.com < /etc/hosts
i see From id as prashanth@arvindbrands.com
b) elm -s "test" prashbr@yahoo.com < input-file
Then i see from id as root@r3qas
I have set the .elm/elmheaders as ptfiles@arvindbrands.com

Is yahoo.com treating as spam mail root@r3qas

Note :with sendmail /mailx i am not able send .gz files (gzip files)


with regards
prashanth
Arunvijai_4
Honored Contributor

Re: using elm for sending mail with attachment for yahoo Domain

Hi Prashanth,

>>Is yahoo.com treating as spam mail root@r3qas

Yes, it could be a reason too. Since we dont know Yahoo's spam list, not sure of it.

>>Note :with sendmail /mailx i am not able send .gz files (gzip files)

mails are not being delivered ? or some other problem ? Check mail.log for more information.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Rita C Workman
Honored Contributor

Re: using elm for sending mail with attachment for yahoo Domain

Prashanth,
I think you've answered your own question.
Yes, even when you change the FROM information so it does not show root@somehost, this information is still buried in sendmail's header record. It seems that Yahoo is obviously aware of it and is rejecting the mail as spam.

If Yahoo returns your mail, then you could have set up so the returned mail comes to the legitimate mail address, provided it is on a different platform like MS or GroupWise or something....then you could resend it from there. A pain, but might work.

Just a thought,
Rita
prashanth B R
Advisor

Re: using elm for sending mail with attachment for yahoo Domain

Hi Rita,

But i am able send using sendmail (without attachment), but not through elm..

Then there should a way out.


with regards
prashanth
Rita C Workman
Honored Contributor

Re: using elm for sending mail with attachment for yahoo Domain

Prashanth,

Well...if you find it then please post the answer here !

What we found was that no matter how far we dug..there was still one area on the header record that we could not change the from info from "root@hostname"
....and so some mail got returned.

Rgrds,
Rita
prashanth B R
Advisor

Re: using elm for sending mail with attachment for yahoo Domain

Hi all,


Thanks for the Reply.

The Problem is Solved .

I did Masquerade option in sendmail.cf

where i gave
DMarvindbrands.com
#CEroot

Now i am able to send mail yahoo & Sify Domains with and without attachment

Any Help Regarding Sendmail

Contact me at prashbr@yahoo.com

with regards
prashanth
prashanth B R
Advisor

Re: using elm for sending mail with attachment for yahoo Domain

Thanks A lot