View previous topic :: View next topic |
Author |
Message |
g3n Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/691506587417e8bb7b6ffe.gif)
Joined: 13 Dec 2003 Posts: 543 Location: México
|
Posted: Thu Nov 24, 2005 7:07 pm Post subject: qmail failure delivery to localhost.localhost |
|
|
I'm new to qmail.
I've installed as on the howto.
I can send an email from mutt to the outside, but i cant send a mail to myself (localhost) or within php.
The error that i get to root using mutt (btw this isnt what's supposed to do, i edited .qmail.root, etc) Code: | eturn-Path: #@[]
Delivered-To: postmaster@localhost
Received: (qmail 19009 invoked for bounce); 24 Nov 2005 12:59:45 -0600
Date: 24 Nov 2005 12:59:45 -0600
From: MAILER-DAEMON@localhost
To: postmaster@localhost
Subject: failure notice
Hi. This is the qmail-send program at localhost.
I tried to deliver a bounce message to this address, but the bounce bounced!
<anonymous@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 18994 invoked for bounce); 24 Nov 2005 12:59:44 -0600
Date: 24 Nov 2005 12:59:44 -0600
From: MAILER-DAEMON@localhost
To: anonymous@localhost.localhost
To: XXXXXX@gmail.com
Subject: php test
TEST TEST!
|
the howto said something about configuring /etc/domainname, and hosts
this is my hosts Code: | 127.0.0.1 gentoo localhost.localhost gentoo.localhost localhost
| and my /etc/conf.d/domainname is Code: | OVERRIDE=1
#DNSDOMAIN="pcs" | i commented the dnsdomain because i dont have any and i read it in some post.
I want to only use the system to send mail using php when certain events happens.
Can anyone help me here, pleas[/code]? _________________ --[G]-- |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
PaulBredbury Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/15669254994381f44a81f83.jpg)
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Fri Nov 25, 2005 2:50 am Post subject: |
|
|
In the "hostname.domainname" entries, the domainname should be "localdomain". _________________ Improve your font rendering and ALSA sound |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
g3n Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/691506587417e8bb7b6ffe.gif)
Joined: 13 Dec 2003 Posts: 543 Location: México
|
Posted: Fri Nov 25, 2005 3:35 am Post subject: |
|
|
PaulBredbury wrote: | In the "hostname.domainname" entries, the domainname should be "localdomain". |
Code: | DNSDOMAIN="localdomain"
| in /etc/conf.d/domainname, right? _________________ --[G]-- |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
PaulBredbury Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/15669254994381f44a81f83.jpg)
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Fri Nov 25, 2005 3:49 am Post subject: |
|
|
Yes, and /etc/hosts. Unless you have something "better" to use for DNSDOMAIN, like a proper domain (e.g. for an Internet server), or just a local network named e.g. "homenetwork". I have: DNSDOMAIN="homenetwork" |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|