Operating System - HP-UX
1831484 Members
3401 Online
110025 Solutions
New Discussion

Setting mail Configuration

 
ganzsp
Frequent Advisor

Setting mail Configuration

Hai,

one of the remote user is not able to get/send mail from a local server.

I was recieving the mail from root as i have given my ID in /etc/mail/aliases file in Local aliases.now added the remote user's name as well.

In the sendmail.cf The remote host IP is specified and the local host is commented.

I have given /usr/sbin/newaliases in order to create a new aliases.db

but when i try to sendmail by using
#sendmail -v ID
message
.
it was going to /dead.letter.

Is any configuration settings has to be made or checked and any deamons has to run accordingly.Kindly,Help me in resolving this.

Thanks
Ganzsp
3 REPLIES 3
VK2COT
Honored Contributor

Re: Setting mail Configuration

Hello,

YOur request is short on detail.

Please provide the following:

a) Contents of the dead.letter.

b) Results of:

# sendmail -bv userID

# mailq

# mailstats

c) Relevant entries in
/var/adm/syslog/mail.log.

Cheers,

VK2COT
VK2COT - Dusan Baljevic
ganzsp
Frequent Advisor

Re: Setting mail Configuration

Hai Dusan,

Has furnished the required as below..,


# sendmail -bv genu@abc.com
genu@abc.com... deliverable: mailer relay, host xxx.x.xxx.xxx, user genu@abc.com

# mailq
/var/spool/mqueue is empty

# mailstats
mailstats: /etc/mail/sendmail.st: No such file or directory

#more /var/adm/syslog/mail.log
Mar 10 03:10:02 hostname sendmail[20486]: m2A7A2E20445: forward /ocuins/home/.forward: World writable directory
Mar 10 03:10:02 hostname sendmail[20486]: m2A7A2E20445: to=ocuins, ctladdr=root (0/3), delay=00:00:00, xdelay=00:00:00, mailer=
local, pri=120498, dsn=2.0.0, stat=Sent

Is any other configuration details need to be checked.Please let me know.

Thanks
Ganzsp

VK2COT
Honored Contributor

Re: Setting mail Configuration

Hello,

So far looks good.

a) To make your environment better do this:

# touch /etc/mail/sendmail.st

# chmod 700 /ocuins/home

b) Can you run command:

# sendmail -v userID

and see what happens on the screen.

c) Also, you forgot to send contents of
dead.letter :)

Do not worry, we will sort you problem
out once we get the right logs.

Cheers,

VK2COT
VK2COT - Dusan Baljevic