View previous topic :: View next topic |
Author |
Message |
thrashed Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 01 Sep 2004 Posts: 294
|
Posted: Sun Jan 09, 2005 6:41 pm Post subject: QMAIL einrichten / localhost.localhost fehler | solved | |
|
|
Hallo liebes Gentoo Forum!
Will einen MailServer und zwar Qmail einrichten um meine LOKALEN MAILS abzuholen. mehr soll der server auch nicht können
also habe ich mir diese howto geschnappt.
http://www.gentoo.de/doc/de/qmail-howto.xml
also habe ich dieses hier erfolgreich durchgeführt:
Code: | nano /var/qmail/control/servercert.cnf
ebuild /var/qmail/control/servercert.cnf config
cd /var/qmail/alias
echo meinuser > .qmail-root
echo meinuser > .qmail-postmaster
echo meinuser > .qmail-mailer-daemon
rc-update add svscan default
/etc/init.d/svscan start
cd /service
ln -s /var/qmail/supervise/qmail-send qmail-send
|
das müsste es eigentlich auch schon mit der installation und konfiguration gewesen sein oder?
danach habe ich mir nach der Anleitung versucht mir selbst mails zu schicken und zwar so:
Code: | # ssh meinsuer@localhost
# qmail-inject root << EOF
test root e-mail!
EOF
# qmail-inject postmaster << EOF
test postmaster e-mail!
EOF
# qmail-inject meinsuer << EOF
test meinuser e-mail!
EOF |
Dann habe ich mir unter Evolution eine maildir Mailbox eingerichtet und freute mich schon das ich 3 Mails unter meinen Konto hatte. Aber es waren alles mailer-deamons wo dieses drinnen stand:
Code: | Hi. This is the qmail-send program at localhost.
I tried to deliver a bounce message to this address, but the bounce bounced!
<meinuser@localhost.localhost>:
Sorry, I couldn't find any host named localhost.localhost. (#5.1.2)
--- Below this line is the original bounce.
Return-Path: <>
Received: (qmail 18537 invoked for bounce); 9 Jan 2005 19:24:52 +0100
Date: 9 Jan 2005 19:24:52 +0100
From: MAILER-DAEMON@localhost
To: meinsuer@localhost.localhost
Subject: failure notice
Hi. This is the qmail-send program at localhost.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.
<root@localhost.localhost>:
Sorry, I couldn't find any host named localhost.localhost. (#5.1.2) |
In der HowTo steht nun folgendes:
Quote: | Wenn Sie keine mail erhalten sollten oder seltsame Fehler in den log-Dateien bemerken (bitte /var/log/qmail/ überprüfen), die unter anderem etwas wie 'localhost.localhost' enthalten, dann bedeutet das, dass Ihre domain bzw. DNS Information nicht korrekt eingerichtet ist. Standardmäßig benutzt qmail die Ausgabe von hostname --fqdn. Wenn dieser Befehl bei Ihnen "localhost" zurückgibt, dann überprüfen Sie bitte Ihre Dateien /etc/hostname, /etc/hosts, und Ihren DNS um sicherzustellen, dass alles korrekt ist. Wenn Sie das haben, editieren Sie die Konfigurationsdateien in /var/qmail/control/. Benutzen Sie die folgenden Beispiele wenn Sie Hilfe dabei benötigen. |
aber was sagt mir das nun?
hier noch paar ausgaben:
Code: | # cat /etc/hosts
127.0.0.1 meinhostname localhost
192.168.1.1 router
# IPV6 versions of localhost and co
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts |
Code: | # cat /etc/resolv.conf
domain localhost
nameserver 134.169.9.150
nameserver 134.169.9.151
nameserver 134.169.9.152 |
Code: | # cat /etc/dnsdomainname
localhost |
Ich hoffe ihr könnt mir weiterhelfen, hatte leider noch nie mit mailservern zu tun. und die gentoo/goole suche hat mir auch nicht geholfe. poste natürlich auch noch gerne weiter ausgaben oder logfiles wenn ihr da was braucht
danke schon einmal, lg
thrashed
Last edited by thrashed on Sun Jan 09, 2005 8:10 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
thrashed Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 01 Sep 2004 Posts: 294
|
Posted: Sun Jan 09, 2005 8:10 pm Post subject: |
|
|
so jetzt funktionierts, hatte noch keine richtige Konfiguration für die Files im Ordner /var/qmail/control/ vorgenommen. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
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
|
|