Messaging
cancel
Showing results for 
Search instead for 
Did you mean: 

Saved message in /dead.letter

Joseph Chew
Occasional Visitor

Saved message in /dead.letter

Dear Support,

I keep encounter user unknown when send message to the local user(xxx@fujitecsg.com). There is no problem sending message to external user.

Please enlighten me. Thank you.

Below is the error message captured.
sapdr1:[/etc/mail]# echo "test"|/usr/sbin/sendmail -v shahrial@fujitecsg.com
shahrial@fujitecsg.com... User unknown
/dead.letter... Saved message in /dead.letter


Cheers,
Joseph Chew
Mobile:+65 91282045
7 REPLIES
Robert-Jan Goossens
Honored Contributor

Re: Saved message in /dead.letter

Hello Joseph,

Could you check your DS variable in the /etc/mail/sendmail.cf file ?

# grep DS /etc/mail/sendmail.cf
DSwebmail.$m

# nslookup webmail

Robert-Jan
Joseph Chew
Occasional Visitor

Re: Saved message in /dead.letter

Dear Expert,

Thank for your prompt response.

Please advise me on what to proceed from there. Thank.

Below is the command executed.
sapdr1:[/]# grep DS /etc/mail/sendmail.cf
# Relay all non-local mail to the "Smart" relay host (DS) via smtp: #
# to a smart relay via SMTP just set macro S (DS) to the name of the #
# Relay all non-local mail to the "Smart" relay host (DS) via UUCP: #
# make two chnages to this file. First, set macro S (DS) to the name #
#DS
DSsmtp.starhub.net.sg
# noreceipts Don't return success DSN's
sapdr1:[/]# nslookup smtp.starhub.net.sg
Using /etc/hosts on: sapdr1

looking up FILES
Name: smtp.starhub.net.sg
Address: 203.116.1.189

sapdr1:[/]#


Cheers,

Joseph Chew
Muthukumar_5
Honored Contributor

Re: Saved message in /dead.letter

I think the user shahrial is not available in the domain of fujuitecsg.

You can check it in your machine as,

echo test | sendmail -v xyxz@localhost

hth.
Easy to suggest when don't know about the problem!
Naveej.K.A
Honored Contributor

Re: Saved message in /dead.letter

Hi,

grep shahrial /etc/mail/aliases

does it exist??

is your DM macro set?? to fujitecsg.com??

Regards,
--Naveej
practice makes a man perfect!!!
Joseph Chew
Occasional Visitor

Re: Saved message in /dead.letter

Dear Expert,

Result of the command executed.
# grep shahrial /etc/mail/aliases
>> The user shahrial is not in the aliases.

is your DM macro set?? to fujitecsg.com??
>> The DM is pointing to "DMfujitecsg.com"


Cheers,

Joseph Chew

Bejoy C Alias
Respected Contributor

Re: Saved message in /dead.letter

Do 'sendmail -bv shahrial@fujitecsg.com' and
'sendmail -bv shahrial' , this will check whether the mail is deliverable and how, pls give the outputs..
Also 'sendmail -bt' , u will get a prompt for address testing , there u type
'/parse shahrial@fujitecsg.com' , it should show that the user is local . Press ^d to come out from the prompt.
Be Always Joy ......
RAC_1
Honored Contributor

Re: Saved message in /dead.letter

/usr/sbin/expand_alias shahrial

Does it resolve?? Put the alias for user in /etc/mail/aliases file. Do a newaliases.

Test now.

Anil
There is no substitute to HARDWORK