Operating System - HP-UX
1753487 Members
4444 Online
108794 Solutions
New Discussion юеВ

Sendmail delivers to wrong person

 
Jung-Hoon Kang
New Member

Sendmail delivers to wrong person

Has anybody seen this strange behaviour of sendmail?
This is what happens.

1. Send a mail to userA.
2. Sendmail sends it to userB or/and userC but not to userA. mail.log says same story.
3. The message userB and userC get says "To=userA" in header.

This situation happened several times so far.
Any idea?
Thanks in advance.
5 REPLIES 5
Tracey
Trusted Contributor

Re: Sendmail delivers to wrong person

Does userA have a .forward file in their home directory that forwards to userB or userC?
Jung-Hoon Kang
New Member

Re: Sendmail delivers to wrong person

No aliasing at all.
All users are normal unix accounts.
Jung-Hoon Kang
New Member

Re: Sendmail delivers to wrong person

No forwarding.
This situation happens once in a while.
Tracey
Trusted Contributor

Re: Sendmail delivers to wrong person

Maybe your alias database needs rebuiling from the current file?
Douglas Cromby_1
Valued Contributor

Re: Sendmail delivers to wrong person

You could try recreating the aliases table in case you are somehow using an old one. You can do this as follows:

/sbin/init.d/sendmail stop
newaliases
/sbin/init.d/sendmail start

If this does not solve it, try running sendmail in verbose mode to on the command line to check how he messages is being sent eg.

sendmail -v userA
test
.

Are you using DNS or a hosts file to route the message? Are they both in order depending on which you are using?