Hadley Rich wrote:
On Mon, 2009-10-19 at 10:08 +1300, Peter Glassenbury (CSSE) wrote:
Have had this before....
quick fix on old systems was to have your FDQN first in the
list in your /etc/hosts file.
but not usually in the localhost line though...
So I think Steve's fix to the setup of opera is probably
the most likely.

Usually I have lines in my host file of
132.181.1.10 mailhost.my.domain mailhost anyotheralias
127.0.0.1 localhost

If you have none of the actual IP address line, then by
default it looks like it sends the loopback address of
localhost.

Speculation...Would that mean you ONLY have a loopback
address in your hosts file because you get random IP addresses
when you boot (DHCP)so can't have it permanently in hosts file
and the DHCP is not putting the entry in???

Ubuntu these days has a hosts file like so;

127.0.0.1       localhost
127.0.1.1       sodium.nice.net.nz sodium

OP: Yes a lot of mail servers will reject mail with a non-FQDN HELO or
even a domain that doesn't exist. It's a spam reducing technique.


In this Ubuntu case, how it used to work, you had to
list the FDQN first. I would be interested to know if
reversing the lines to FDQN first made a difference in Chris's case.
(but in the case listed Chris didn't have your second line.
he only had a hostname.. it may be enough)

Usually we configure sendmail or whatever mail system in use
to not bother with /etc/hosts and have its name configured
internally.

The fix that steve pointed out was editing ~/.opera/mail/accounts.ini
but I wouldn't have thought a user could overide the hostname
when sending mail... but it sounds like it is a fix.

Pete

--
-------------------------------------------------------------------
Peter Glassenbury                       Computer Science department
[email protected]              University of Canterbury
+64 3 3642987 ext 7762                  New Zealand

Reply via email to