Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Sendmail [UNRESOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Narusegawa
Apprentice
Apprentice


Joined: 29 Jun 2004
Posts: 210
Location: Bimringham, UK

PostPosted: Thu May 25, 2006 10:37 am    Post subject: Sendmail [UNRESOLVED] Reply with quote

When running a script which runs sendmail I get the following:

Code:

sendmail: 553 5.1.8 <root@server1>... Domain of sender address root@server1does not exist


/etc/conf.d/hostname
Code:

# /etc/conf.d/hostname

# Set to the hostname of this machine
HOSTNAME="server1"


/etc/conf.d/domainname
Code:

# /etc/conf.d/domainname

# When setting up resolv.conf, what should take precedence?
#  0 = let dhcp/whatever override DNSDOMAIN
#  1 = override dhcp/whatever with DNSDOMAIN

OVERRIDE=1

# To have a proper FQDN, you need to setup /etc/hosts and /etc/resolv.conf
# (domain entry in /etc/resolv.conf and FQDN in /etc/hosts).
#
# DNSDOMAIN merely sets the domain entry in /etc/resolv.conf, see
# the resolv.conf(5) manpage for more info.

DNSDOMAIN="mydomain.co.uk"

# For information on setting up NIS, please see:
#   http://www.linux-nis.org/nis-howto/HOWTO/

NISDOMAIN=""



and /etc/hosts
Code:

127.0.0.1       server1.mydomain.co.uk server1 localhost.localdomain localhost



Anyone got any idea how I can fix this?
_________________
WARNING: It is a violation of federal law to use me in a way inconsistent with my labelling. I am dangerous to humans and domestic animals. Please avoid contact with your eyes and clothing. I should be stored out of the reach of children.


Last edited by Narusegawa on Thu Jul 13, 2006 10:30 am; edited 1 time in total
Back to top
View user's profile Send private message
col
l33t
l33t


Joined: 08 May 2002
Posts: 820
Location: Melbourne - Australia

PostPosted: Thu May 25, 2006 11:20 am    Post subject: Reply with quote

you should setup a local DNS server to resolve local domain names.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum