Narusegawa Apprentice
Joined: 29 Jun 2004 Posts: 210 Location: Bimringham, UK
|
Posted: Thu May 25, 2006 10:37 am Post subject: Sendmail [UNRESOLVED] |
|
|
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 |
|