1836772 Members
2266 Online
110109 Solutions
New Discussion

sendmail

 
vaibhav_1
Occasional Advisor

sendmail

If I can not able to sendmail to any address , the letter is written into /dead.letter file .

Is there any way to forward that mail to my e-mail address on outlook ?
vaibhav
5 REPLIES 5
Sridhar Bhaskarla
Honored Contributor

Re: sendmail

Vaibhav,

There could be several reasons behind mail system not working.

Look at /var/adm/syslog/mail.log (or the one you specified for mail.debug in /etc/syslog.conf) for more details.

Do a tail -f /var/adm/syslog/mail.log in a seperate window and then run your mail command again and see what error is logged in there and try posting it.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Kelli Ward
Trusted Contributor

Re: sendmail

Hi,

If your system is not properly running sendmail, you will not be able to send files to Outlook through email.
Question - Has the sendmail ever worked on this system?
If it hasn't this may be a matter of some necessary configurations. Also, check your sendmail versions. I had a situation once of a client not able to sendamil to our mailserver because they were both running different versions. (both on 11.x) I can't remember the version numbers for the life of me. (sorry)

Good luck,
Kel
The more I learn, the more I realize how much more I have to learn. Isn't it GREAT!
vaibhav_1
Occasional Advisor

Re: sendmail

I am sorry , I was not properly asked my question . Everybody misunderstood my question.

My sendmail is working OK . I have some programmes wich generates a report in the form e-mail to a mailing list. I am trying to find if by some unknow resion if e-mail delivery is
incomplete & dead letter is generated is it possible to forward that message to my out-look message . I know with .forward file I can forward my messages from any mail-box of unix user to my outlook mailbox. I am wondering if same thing can be done with Dead letter generated .
vaibhav
Timo Ruiter
Advisor

Re: sendmail

It looks to me that the best way to solve this is that no mail gets lost.
I let my programs that run on a host mail to an alias defined in /etc/aliases, not to individual mail addresses. Any user wishing to receive the output of that program can be made member of that group.
Well defined mail lists prevents most mail getting lost.
If you can't avoid that some mail is undeliverable you could run a cron job that scans for dead.letter files that have a size greater than zero and mail them to you...
Confucius say: he who runs through forrest in straight line will hit tree