fatal: valid hostname or network address required

3766 views
Skip to first unread message

Josh Metcalfe

unread,
Jul 2, 2003, 1:50:33 AM7/2/03
to
This is a multi-part message in MIME format.

------=_NextPart_000_0007_01C34034.C7792BF0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


I've almost got Postfix configured, but I'm running into this error:

localhost postfix/smtp[7224]: fatal: valid hostname or network address =
required in SMTP server description: localhost.example.com, example.com, =
mail.example.com

Any ideas?

Josh
------=_NextPart_000_0007_01C34034.C7792BF0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1170" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>I've almost got Postfix configured, but I'm running =
into this=20
error:</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>localhost postfix/smtp[7224]: fatal: valid hostname =
or network=20
address required in SMTP server description: localhost.example.com, =
example.com,=20
mail.example.com</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Any ideas?</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Josh</FONT></DIV></BODY></HTML>

------=_NextPart_000_0007_01C34034.C7792BF0--

Ralf Hildebrandt

unread,
Jul 2, 2003, 1:53:06 AM7/2/03
to
* Josh Metcalfe <sp...@clayjars.com>:

>
> I've almost got Postfix configured, but I'm running into this error:
>
> localhost postfix/smtp[7224]: fatal: valid hostname or network
> address required in SMTP server description: localhost.example.com,
> example.com, mail.example.com

postconf -n
please

--
Ralf Hildebrandt Ralf.Hil...@charite.de
my current spamtrap spam...@charite.de
http://www.arschkrebs.de/postfix/ Tel. +49 (0)30-450 570-155
The only "intuitive" interface is the nipple. After that, it's all
learned.

Josh Metcalfe

unread,
Jul 2, 2003, 2:10:01 AM7/2/03
to
Here ya go!

alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
delay_warning_time = 4
home_mailbox = Maildir/
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, $mydomain, mail.$mydomain
mydomain = example.com
myhostname = linux.example.com
mynetworks = 192.168.1.0/24, 127.0.0.0/8
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
notify_classes = resource, software, bounce
readme_directory = /usr/share/doc/postfix-2.0.6/README_FILES
relayhost = $mydestination
sample_directory = /usr/share/doc/postfix-2.0.6/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_banner = mail.example.com ESMTP
unknown_local_recipient_reject_code = 450

Josh Metcalfe

unread,
Jul 2, 2003, 3:04:07 AM7/2/03
to
Thank-you Ralf. That did the trick!

Josh

On Wednesday 02 July 2003 01:52 am, Ralf Hildebrandt wrote:
> * Josh Metcalfe <sp...@clayjars.com>:


> > mydestination = $myhostname, localhost.$mydomain, $mydomain,

> > mail.$mydomain relayhost = $mydestination
>
> relayhost must be ONE HOST.

Ankit Hirwane

unread,
Nov 11, 2021, 2:27:41 AM11/11/21
to
sendmail process failed with error code 75
Reply all
Reply to author
Forward
0 new messages