> > When I know try to send a mail to 'userone' with 'mail -v userone' > > I get the following error (same error in /var/spool/clientmqueue): > > userone... Connecting to localhost.mydomain. via relay... > > userone... Deferred: Connection refused by localhost.mydomain. > > One more thing to add: This works fine, when I am connected to my ISP. > So this might be a problem with DNS configuration?
I just had a similar problem with a couple of my machines. Try changing the 'search' line in resolv.conf to a "local domain name." For instance, my /etc/resolv.conf file is like this: search localdomain.net nameserver ?.?.?.? (real dns servers) nameserver ?.?.?.? And my /etc/hosts file: 127.0.0.1 localhost localhost.localdomain.net 192.168.19.1 gateway gateway.localdomain.net .. sendmail_enable="NO" in /etc/rc.conf My big problem was my isp's DHCP server was assigning me a domain-name which would change my resolv.conf file. To solve that I had to add a supersede line in dhclient.conf. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
