Operating System - HP-UX
1838634 Members
2156 Online
110128 Solutions
New Discussion

Re: mail local user to local user

 
Stephen Keogh_2
New Member

mail local user to local user

Using HP-UX 10.20 and mailx.
I can successfully send a mail from my local user ( sybase ) to a remote user
e.g mailx -s "Report" stephen.keogh@nl.abnamro.com

But when I send a mail from my local user ( sybase ) to a local user ( sybase
) I do not receive the message
e.g. mailx -s "Report" sybase
The contents of /var/mail remain empty

Any suggestions please.
2 REPLIES 2
Paul Hite_2
Frequent Advisor

Re: mail local user to local user

It sounds like the sybase user is forwarding his mail to another host. Look at
~sybase/.forward and /etc/mail/aliases to see where the mail goes.

Also when sendmail delivers some mail, some trace lines go to syslogd. If your
/etc/syslog.conf is confugured normally, these are saved in
/var/adm/syslog/mail.log. You can examine this logfile to get an idea where
the mail went.

Finally you can "telnet localhost 25" and talk your your running sendmail.
Type "expn sybase" to see what it will do with mail to sybase. Then type
"quit".
Stephen Keogh_2
New Member

Re: mail local user to local user

Thank you for the helpful reply ... the problem has been solved
On my local host in /etc/mail/sendmail.cf
# Name of domains Mail Relay
DR10.56.200.48

but, IP address of this machine had been changed, so I changed the line to read
DRttfmgr.unix.nl.abnamro.com

and all is well