Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
qmail failure delivery to localhost.localhost
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
g3n
Guru
Guru


Joined: 13 Dec 2003
Posts: 543
Location: México

PostPosted: Thu Nov 24, 2005 7:07 pm    Post subject: qmail failure delivery to localhost.localhost Reply with quote

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
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Fri Nov 25, 2005 2:50 am    Post subject: Reply with quote

In the "hostname.domainname" entries, the domainname should be "localdomain".
_________________
Improve your font rendering and ALSA sound
Back to top
View user's profile Send private message
g3n
Guru
Guru


Joined: 13 Dec 2003
Posts: 543
Location: México

PostPosted: Fri Nov 25, 2005 3:35 am    Post subject: Reply with quote

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
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Fri Nov 25, 2005 3:49 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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