Carlos E. R. wrote:
On Saturday, 2009-07-18 at 20:33 +0200, Per Jessen wrote:
Carlos E. R. wrote:
* receive mail to my server (in the form jdd@kim2.dodin.org) from anywhere (may be opening a port in the firewall, but which one?)
Imposible.
cer@nimrodel:~> host -t MX kim2.dodin.org kim2.dodin.org has no MX record
You need an MX record first...
When a domain name has no MX listed, the A record will be tried next. If that doesn't exist, and the name is a subdomain, the main domain will be tried.
Are you sure? I think I remember sendmail failing because of that, with a message like host not found.
A domain does definitely not _need_ an MX record - i.e. when your mailserver tries to send an email to 'alfons.aaberg@jesssen.ch', it will first look for MX records for 'jessen.ch', and if it doesn't find any, it will try to deliver to the A record address returned. I'm pretty certain that trying to send to a subdomain will, when unsuccessful, default to the next upper subdomain until the main domain is reached. It doesn't necessarily mean the mailserver for 'jessen.ch' will accept mails for e.g. 'someone@a.b.c.d.e.f.g.h.jessen.ch'. /Per -- Per Jessen, Zürich (15.1°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org