vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I recently had to send a directory list to a friend via email. I used the command... ls -l | mail email@address.com ....and off it went. However, in the mail he received, my email address was shown as user@hostname.dnsdomainname[1] How do I fix this so it shows my proper email address? [1] - replace hostname and dnsdomainname with what you'd get if you typed the commands of the same name. |
| |||
| On Wednesday 17 December 2003 12:43 Mr Balloon, mrballoon@aol.com, wrote: > I recently had to send a directory list to a friend via email. > > I used the command... > > ls -l | mail email@address.com > > ...and off it went. > > However, in the mail he received, my email address was shown as > > user@hostname.dnsdomainname[1] > > How do I fix this so it shows my proper email address? > > > [1] - replace hostname and dnsdomainname with what you'd get if you > [typed > the commands of the same name. Your mailserver is using the machine name for it's own name. If your using postfix change myorigin = domain.tld and reload postfix. I don't know what the sendmail equivalent is -- del 8-) |
| |||
| del wrote: > > Your mailserver is using the machine name for it's own name. > If your using postfix change > myorigin = domain.tld > and reload postfix. > I don't know what the sendmail equivalent is Hi Del, Thanks for the reply, I am indeed using sendmail, I'll have a look around in the config file and see if there's anything similar to what you describe. |
| |||
| On Wed, 17 Dec 2003 13:45:33 -0000, Mr Balloon <mrballoon@aol.com> wrote: > Thanks for the reply, I am indeed using sendmail, I'll have a look around in > the config file and see if there's anything similar to what you describe. MASQUERADEAS (or something similar) rings a bell, but I've not used Sendmail much. -- Simon <simon@no-dns-yet.org.uk> **** GPG: F4A23C69 "We demand rigidly defined areas of doubt and uncertainty." - Douglas Adams |
| |||
| Simon wrote: > On Wed, 17 Dec 2003 13:45:33 -0000, Mr Balloon <mrballoon@aol.com> wrote: >> Thanks for the reply, I am indeed using sendmail, I'll have a look around >> in the config file and see if there's anything similar to what you >> describe. > > MASQUERADEAS (or something similar) rings a bell, but I've not used > Sendmail much. FEATURE(`masquerade_envelope')dnl MASQUERADE_AS(`domain.com')dnl |
| |||
| In article <3fe04fa4$0$9391$cc9e4d1f@news-text.dial.pipex.com>, Mr Balloon wrote: > How do I fix this so it shows my proper email address? "man mail" (assuming nail, Slackware 9.x) has 2 possible solutions: the "from" variable or the -r option. -- /dev/rob0 - preferred_email=i$((28*28+28))@softhome.net or put "not-spam" or "/dev/rob0" in Subject header to reply |
| ||||
| On 2003-12-17, Mr Balloon <mrballoon@aol.com> wrote: > Thanks for the reply, I am indeed using sendmail, I'll have a look around in > the config file and see if there's anything similar to what you describe. Read the Sendmail-Address-Rewrite mini-HOWTO in the /usr/doc/Linux-HOWTOs directory. |