[Ilugc] sending mail from an arbitrary mail id using a local smtp server
- From: linux@xxxxxxxxxxxxxxxx (Suresh Ramasubramanian)
- Date: Fri Jul 8 11:58:13 2005
At 11:26 AM 7/8/2005, Shiva KM wrote:
no. it is just a feature of the smtp protocol
Oh ok... Well, it sure is a convenient feature. I am using BSNL
Broadband currently, and I happen to have a vsnl.net address which I
want to use. The problem is that vsnl.net server handling SMTP doesn't
allow me to send mail unless I have actually 'dialled-in' !! Which
I do believe they have a mailserver for roaming users, that supports AUTH.
Or if you stick to your gmail account you can use gmail's smtp server
By setting these like this(in main.cf),
myhostname = vsnl.net
mydomain = vsnl.net
myorigin = $mydomain
I should be able to eliminate the lines in the headers which say that
the mail was recieved from localhost.localdomain??, i.e
Who cares about the received headers? Give your machine a proper
hostname (maybe in the example.com domain, or get yourself dynamic
dns using, say, tzo.com or dnsalias.com) - dont set up fake hostnames
like that though
Change the name of your box to something other than
localhost.localdomain anyway
srs
Other related posts: