LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   issues with sending mail from a nologin user (https://www.linuxquestions.org/questions/linux-newbie-8/issues-with-sending-mail-from-a-nologin-user-829795/)

sathish167 09-01-2010 02:37 PM

issues with sending mail from a nologin user
 
Hi Guys

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 :)

unSpawn 09-01-2010 05:05 PM

Quote:

Originally Posted by sathish167 (Post 4085212)
When I send mails from test user, the mail are delivered to the client as if they are been sent by the root user.

Easier than doing a rewrite in sendmail.mc would be to "forge" a sender address. Forging won't rewrite the complete path (nor should it), check your email headers if it is acceptable. For forging options see 'man sendmail', the "-F" and "-f" switches.

sathish167 09-02-2010 04:02 AM

Quote:

Originally Posted by unSpawn (Post 4085370)
Easier than doing a rewrite in sendmail.mc would be to "forge" a sender address. Forging won't rewrite the complete path (nor should it), check your email headers if it is acceptable. For forging options see 'man sendmail', the "-F" and "-f" switches.

Thanks for your response. Lemme give a shot :)


All times are GMT -5. The time now is 06:44 PM.