[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Sending mail as a particular user



On Wed, Nov 27, 2002 at 03:37:20PM -0000, McRae, Darren A wrote:
> Hello,
> 
> Is the a way of mail being sent as a particular user no matter what the
> linux username is? So if I log in as root or daz or pete it sends mail
> signed as sales@mydomain.com.

i am not an expert but i can provide you pointers as i have tried and
tried an tried before i got my mail working properly.

first part of your solution is setting up your mail client. check out
.muttrc file. here is mine:

# User description ########################################################
set realname="Sandip P Deshmukh"
set from=deshmukh@escortsmumbai.com

you will have to do something similar in all .muttrc files of the
respective users. but this will only make sure that mutt hands over the
mail to exim with this information.

the later part is making sure that exim or sendmail doesnt tweak this
information or add or delete from it. in my view, the default exim
set-up does just that.

-- 
regards,

sandip p deshmukh
------***--------



Reply to: