Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sendmail: My unqualified host name (localhost) unknown [gelö
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
rogge
Tux's lil' helper
Tux's lil' helper


Joined: 13 Oct 2006
Posts: 132
Location: Erfurt

PostPosted: Fri Jan 19, 2007 3:18 pm    Post subject: sendmail: My unqualified host name (localhost) unknown [gel Reply with quote

Hallo,

ich versuche gerade Sendmail das Mailverschicken beizubringen, doch leider vergebens.
Ich hab schon gegooglet etc. aber noch nix gefunden. Ich glaub ich hab auch alles an
Config-Variationen durch (siehe unten).

Folgende Fehlermeldung bekomm ich:

Code:

Jan 19 13:00:07 wotan sendmail[5205]: My unqualified host name (localhost) unknown; sleeping for retry
Jan 19 13:01:10 wotan sendmail[5205]: unable to qualify my own domain name (localhost) -- using short name
Jan 19 13:01:10 wotan sendmail[5205]: l0JD1A1f005205: from=root, size=88441, class=0, nrcpts=1, msgid=<200701191301.l0JD1A1f005205@localhost>, relay=root@localhost
Jan 19 13:01:10 wotan sendmail[5205]: l0JD1A1f005205: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=118441, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]


An der /etc/hosts kann des eigentlich nicht liegen (was ja nahe liegen würde):

Code:

127.0.0.1       localhost       wotan
::1     localhost


Dann gibt es noch diese ominöse /estc/mail/local-host-name, von der nirgens dokumentiert ist wie deren Inhalt auszusehen hat. Also hab
ich erstmal den Rechnernamen eingetragen. Hat auch nichts gebracht.

So sieht meine /etc/mail/sendmail.mc aus:

Code:

divert(-1)
divert(0)dnl
include(`/usr/share/sendmail-cf/m4/cf.m4')dnl
VERSIONID(`$Id: sendmail-procmail.mc,v 1.2 2004/12/07 01:59:31 g2boojum Exp $')d
nl
OSTYPE(linux)dnl
dnl DOMAIN(generic)dnl
FEATURE(`smrsh',`/usr/sbin/smrsh')dnl
FEATURE(`local_lmtp',`/usr/sbin/mail.local')dnl
FEATURE(`local_procmail')dnl
FEATURE(nouucp, nospecial)dnl
FEATURE(`nocanonify')dnl
FEATURE(`masquerade_envelope')dnl
FEATURE(`allmasquerade')dnl
FEATURE(`accept_unresolvable_domains')dnl
define(`confCON_EXPENSIVE', `True')dnl
define(`SMTP_MAILER_FLAGS',`e')dnl
define(`ALIAS_FILE', `/etc/mail/aliases')dnl
define(`confHOSTS_FILE', `/etc/hosts')dnl
MAILER(local)dnl
MAILER(smtp)dnl
MAILER(procmail)dnl


Hat irgendjemand eine Idee wo der Fehler liegt?

Danke im vorraus, rogge


Last edited by rogge on Tue Jan 23, 2007 1:37 pm; edited 1 time in total
Back to top
View user's profile Send private message
rogge
Tux's lil' helper
Tux's lil' helper


Joined: 13 Oct 2006
Posts: 132
Location: Erfurt

PostPosted: Tue Jan 23, 2007 1:36 pm    Post subject: Reply with quote

Es lag tatsächlich an meiner /etc/hosts.

Siehe http://lists.debian.org/debian-user-german/2006/06/msg02448.html

Meine /etc/hosts sieht jetzt so aus:
Code:

127.0.0.1       localhost       localhost
::1     localhost
192.168.1.1   wotan.rtfm.de   wotan


Dann klappts auch damit:

Code:

wotan ~ # hostname -f
wotan.rftm.de


MfG rogge
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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