<div dir="ltr">On Wed, Jul 23, 2008 at 8:53 AM, Rafal Roginela <<a href="mailto:Rafal.Roginela@americashloans.net">Rafal.Roginela@americashloans.net</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

















<div link="blue" vlink="purple" lang="EN-US">

<div>

<p><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial;">Hi All,</span></font></p>

<p><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>

<p><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial;">I'm sorry if I sound dumb but I just want to change
the "from address" or the "reply to" on the mails going
out from my hobbit server. I've searched through the mailing list and
docs and can't seem to see it (I'm sure it is simple). Please help.</span></font></p></div></div></blockquote><div><br>That's probably going to take a change in /etc/passwd, if you just want to change the userid.<br>
<br>I just took a look at email I received from our Hobbit - MS Outlook shows the "from address" as:<br><br>     Hobbit Monitor [<a href="mailto:hobbit@server.domain.com">hobbit@server.domain.com</a>]<br><br>The hobbit userid in /etc/passwd looks like this:<br>
<br>     hobbit:x:508:508:Hobbit Monitor:/home/hobbit:/bin/bash<br><br>I know for a fact that's where the outgoing email picks up "Hobbit Monitor", because that's nowhere else in the system, and if I change that string new outgoing email picks it up.  If I change the /etc/passwd entry to read:<br>
<br>     norman:x:508:508:Norman the Foreman:/home/hobbit:/bin/bash<br><br>I would expect hobbit email to come from<br><br>   "Norman the Foreman [<a href="mailto:norman@server.domain.com">norman@server.domain.com</a>]"<br>
<br>Alternatively you might be able to set up a script to talk directly to the SMTP server and convince it to use a spoofed address.  That used to work, but email servers are smarter now...<br><br>Ralph Mitchell<br><br></div>
</div></div>