If he is trying to send from his machine, the problem is that it does
not have an MX record.
Here is a dig for www.domino.com and then for the mx record.
You will see there is no mx record.
[EMAIL PROTECTED]:~> dig www.domino.com
; <<>> DiG 9.3.2 <<>> www.domino.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 37206
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 0
;; QUESTION SECTION:
;www.domino.com. IN A
;; ANSWER SECTION:
www.domino.com. 600 IN A 83.231.140.13
;; AUTHORITY SECTION:
domino.com. 151758 IN NS ns1.domino.com.
domino.com. 151758 IN NS ns.domino.com.
;; Query time: 175 msec
;; SERVER: 68.6.16.25#53(68.6.16.25)
;; WHEN: Sun Nov 26 16:18:51 2006
;; MSG SIZE rcvd: 83
[EMAIL PROTECTED]:~> dig www.domino.com mx
; <<>> DiG 9.3.2 <<>> www.domino.com mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 7081
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;www.domino.com. IN MX
;; AUTHORITY SECTION:
domino.com. 600 IN SOA ns.domino.com.
hostmaster.domino.com. 2106052508 3600 600 1800000 3600
;; Query time: 171 msec
;; SERVER: 68.6.16.25#53(68.6.16.25)
;; WHEN: Sun Nov 26 16:19:14 2006
;; MSG SIZE rcvd: 82
Mike
Carlos E. R. wrote:
>
> The Sunday 2006-11-26 at 21:38 +0100, Sandy Drobic wrote:
>
>> So the output of `hostname -f` is used as the FQDN by sendmail? Well, that
>> should be enough to get the original poster on the right track.
>
> No, I don't think so.
>
> He said in the Spanish list - I'm starting to "hate" having to go
> searching in my archive instead of him speaking up - that:
>
> |> si ejecuto hostname aparece "www"
> |> si ejecuto hostname -f aparece www.dominio.com
>
> Ie, he gets "www" for the command 'hostname' and "www.dominio.com" for
> 'hostname -f'. Also, I know he is using an adsl modem(?) router, giving
> his server an IP in the range 192.168.0.x. I have to assume he (the
> router) is using nat.
>
> He'd better clarify this himself.
>
>
>> How would you set up the hostname for Sendmail, when you are using a private
>> domain like "myserver.athome"?
>
> I believe that Yast would set that correctly; alternatively, you can edit
> /etc/sysconfig/sendmail and run SuSEconfig afterwards. I did that when
> sendmail was the default in SuSE and it worked fine without having to
> touch the real sendmail configuration. But I don't remember the details.
>
> With postfix, we can let Yast do an initial configuration, then forget
> Yast and do it ourselves: the config is humanly readable ;-)
>
> However, I'm not going to install sendmail to check. But looking inside
> the rpm, I see there is a '/sbin/conf.d/SuSEconfig.sendmail' file. Let's
> see what I can learn.
>
> Ah:
>
> # Know about FQHOSTNAME
> test -s $r/etc/HOSTNAME && read -t 1 FQHOSTNAME < $r/etc/HOSTNAME
>
>
> I think that setting is what it will be using.
>
> I see it reads some configuration files:
>
> /etc/rc.config
> /etc/sysconfig/mail
> /etc/sysconfig/sendmail
> /etc/sysconfig/amavis
>
> But I don't see where it gets the default '/etc/sysconfig/sendmail' from.
> Ah, from '/var/adm/fillup-templates/*'. There are two files there:
> 'sysconfig.mail-sendmail' and 'sysconfig.sendmail'.
>
> ...
>
> Searching to see where the variable 'FQHOSTNAME' is defined, I see a
> reference in '/etc/sysconfig/apache':
>
> # If empty ("") it defaults to [EMAIL PROTECTED] FQHOSTNAME is set in
> # /etc/sysconfig/network/config.
>
> But I don't see it there - perhaps I understood it wrong.
>
>
> Mmmm...
>
> I'm reading the 'sysconfig.sendmail' file, but I don't get it. Perhaps it
> is 'MASQUERADE_DOMAINS'.
>
>
> Dunno.
>
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]