I have configured a sendmail server and its working in a normal way. Now I have created a nologin user (name it test) and I am trying to send and receive mail for this user. When I send mails from test user, the mail are delivered to the client as if they are been sent by the root user. So when I try replying to the mail the reply is sent to the root user, which I guess is not working in the way it should. I am just a amateur in sendmail so not sure if this is the way the server normally works.
Pls advise if I have to change some configuration in the sendmail.mc file or this is something that cant be changed.
thanks in advance for replying