LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-01-2010, 03:37 PM   #1
sathish167
LQ Newbie
 
Registered: Sep 2010
Posts: 5

Rep: Reputation: 0
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
 
Old 09-01-2010, 06:05 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,331
Blog Entries: 55

Rep: Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531
Quote:
Originally Posted by sathish167 View Post
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.
 
Old 09-02-2010, 05:02 AM   #3
sathish167
LQ Newbie
 
Registered: Sep 2010
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by unSpawn View Post
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sending mail from console - DNS issues noir911 Linux - Server 3 09-04-2008 01:48 AM
sending mail without user input aatwell Linux - General 2 08-07-2008 02:27 PM
Mail not sending to local user? Julix Linux - General 2 09-07-2007 05:42 PM
how do i prevent a user from sending mail onyangoliech Linux - Software 4 12-15-2006 12:24 PM
Sending Greeting mail to new user ranjit001 Linux - Networking 1 01-03-2001 12:58 AM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration