LinuxQuestions.org
Support LQ: Use code LQCO20 and save 20% on CrossOver Office
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 12-13-2005, 06:18 AM   #1
stitchman
Member
 
Registered: Dec 2005
Distribution: Slackware 13.1
Posts: 81

Rep: Reputation: 15
Question problem with new domain and recieving mail


hello again,

i recently used tutorials to set up an email server here at home. i followed shilos tutorials and an SMTB AUTH howto and email worked perfectly. i had a dynamic dns account with dyndns and all mail worked for stitchbox.ath.cx. but being ever more discontent with my subdomain with every email i just had to have a real domain, so slack-fu.com was born. now i can send emails perfectly well, but when i try to reply to them with my gmail for testing, the messages are returned saying "relaying denied". i dont know how familiar with dyndns anyone is but i set up an mx exhange (whatever that is?) for recieving emails. has anyone run something like this with getting a real domain for your home server? heres some header info on a sent email:

Code:
X-Gmail-Received: c1e843189291f44ff5824f3f4840a6e2e81a5186
Delivered-To: <example>@gmail.com
Received: by 10.65.158.14 with SMTP id k14cs80737qbo;
        Mon, 12 Dec 2005 22:09:54 -0800 (PST)
Received: by 10.70.117.7 with SMTP id p7mr960205wxc;
        Mon, 12 Dec 2005 22:09:54 -0800 (PST)
Return-Path: <stitch@slack-fu.com>
Received: from slack-fu.slack-fu.com (pool-71-244-69-81.atc.east.verizon.net [71.244.69.81])
        by mx.gmail.com with ESMTP id h18si11277740wxd.2005.12.12.22.09.53;
        Mon, 12 Dec 2005 22:09:54 -0800 (PST)
Received-SPF: neutral (gmail.com: 71.244.69.81 is neither permitted nor denied by best guess record for domain of stitch@slack-fu.com)
Received: from slack-fu.slack-fu.com (localhost [127.0.0.1])
	by slack-fu.slack-fu.com (8.13.4/8.13.4) with ESMTP id jBD69vYF001961
	for <example@gmail.com>; Tue, 13 Dec 2005 01:09:57 -0500
Received: from localhost (stitch@localhost)
	by slack-fu.slack-fu.com (8.13.4/8.13.4/Submit) with ESMTP id jBD69vI1001958
	for <example@gmail.com>; Tue, 13 Dec 2005 01:09:57 -0500
X-Authentication-Warning: slack-fu.slack-fu.com: stitch owned process doing -bs
Date: Tue, 13 Dec 2005 01:09:57 -0500 (EST)
From: me <stitch@slack-fu.com>
To: example@gmail.com
Subject: testomg again
Message-ID: <Pine.LNX.4.63.0512130109380.1954@slack-fu.slack-fu.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

im tired of testing
and here is the returned email from the reply i send back:

Code:
This is an automatically generated Delivery Status Notification

Delivery to the following recipient failed permanently:

    stitch@slack-fu.com

Technical details of permanent failure:
PERM_FAILURE: SMTP Error (state 9): 550 5.7.1 <stitch@slack-fu.com>... Relaying denied

  ----- Original message -----

Received: by 10.65.112.9 with SMTP id p9mr493239qbm;
       Tue, 13 Dec 2005 04:13:06 -0800 (PST)
Received: by 10.65.158.14 with HTTP; Tue, 13 Dec 2005 04:13:04 -0800 (PST)
Message-ID: <1a39b2d0512130413n2d4de8b3s340f0f2002d9b2d4@mail.gmail.com>
Date: Tue, 13 Dec 2005 07:13:04 -0500
From: example <example@gmail.com>
To: me <stitch@slack-fu.com>
Subject: Re: testomg again
In-Reply-To: <Pine.LNX.4.63.0512130109380.1954@slack-fu.slack-fu.com>
MIME-Version: 1.0
Content-Type: multipart/alternative;
       boundary="----=_Part_58724_15193286.1134475984544"
References: <Pine.LNX.4.63.0512130109380.1954@slack-fu.slack-fu.com>

------=_Part_58724_15193286.1134475984544
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

testing reply to stitch@slack-fu.com

On 12/13/05, example <stitch@slack-fu.com> wrote:
>
> im tired of testing

Last edited by stitchman; 12-13-2005 at 06:24 AM.
 
Old 12-13-2005, 06:45 AM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 4,035

Rep: Reputation: Disabled
My guess would be that your SMTP server (Sendmail?) still thinks it is in the stitchbox.ath.cx domain, whereas you are sending an email from gmail.com to stitch@slack-fu.com. Your server will interpret that as "relaying". You can prevent that by adding slack-fu.com to the list of permitted domains.

Add your new domain name to the file /etc/mail/relay-domains and restart Sendmail.

You could also look where you defined the domain name part of your server hostname and change that.

Eric
 
Old 12-13-2005, 11:14 AM   #3
stitchman
Member
 
Registered: Dec 2005
Distribution: Slackware 13.1
Posts: 81

Original Poster
Rep: Reputation: 15
i had to change /etc/hostname my hostname was slack-fu.slack-fu.com for some reason so i trunctacated it to the correct name
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
I can only get mail for myhost.domain.com. I cannot get my mail for domain.com. adamrau Linux - Software 1 04-22-2007 03:07 PM
Q-Mail + Domain problem emailssent Linux - Networking 0 01-11-2005 11:45 AM
recieving mail with sendmail bradyc Linux - Newbie 2 10-24-2003 11:59 AM
recieving root at localhost mail GraemeK Linux - Networking 10 08-29-2003 02:16 AM
parsing mail.log with perl and calculate mail traffic on domain base markus1982 Programming 1 03-18-2003 06:22 AM


All times are GMT -5. The time now is 09:55 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration