LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-30-2013, 09:56 AM   #1
kamal.zkp
LQ Newbie
 
Registered: Jul 2013
Posts: 1

Rep: Reputation: Disabled
Postfix configuration on local domain


I've setup a postfix mail server on my local domain. The domain is a not public registered domain. I'm able to send emails to users on external domains like Yahoo and Google but not able to receive mails in the mailboxes for this local postfix mail server. The error i get while sending email from an external domains to this local postfix server is:

-----Original Message-----
From: Mail Delivery Subsystem [mailto:mailer-daemon@googlemail.com]
Sent: Wednesday, July 24, 2013 11:16 PM
To: user@gmail.com
Subject: Delivery Status Notification (Failure)

Delivery to the following recipient failed permanently:

kamal@mymail.kserver.local

Technical details of permanent failure:
Google tried to deliver your message, but it was rejected by the server for the recipient domain outbounds9.obsmtp.com by outbounds9.obsmtp.com. [74.125.148.12].

The error that the other server returned was:
550 Host not found for domain:mymail.kserver.local - psmtp

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

X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=google.com; s=20120113;
h=from:to:references:in-reply-to:subject:date:message-id:mime-version
:content-type:x-mailer:thread-index:content-language
:x-gm-message-state;
bh=+MyQhTybiFffuIDkShuRDTr+XtDEqqq6TsrRlr60dCw=;
b=WeciBNV+4Q3XnLohpt1+YBR6uOOIRlHfbKBdRtnOz9yNEsldj0QQfn0nfZ1LV07gIj
eDtKkHuNGeoAgoQLhlJBPGPyY06DLzqSlE2gFFG8uD6AMwuIAPTspRxBeb1bXtzozcEo
SvSBYk059tmSSobrvCAjMlqTiMESSii/smJzX06s1m291s4oHomDEZ/wXSTnLjmY1tzo
f+nUMzek0ryJURBZzOv2ru8kPDOoeY0PIBRdLnKSpMnz0na+zEEMdz65ZUdhffVJ7Jg1
+T0u5tct+kqRRjqgQA6efOcWZHSHLBHp8/ooQCPC54TYcChQK6NwIvTFpEG6Fep9ypWy
j4VQ==
X-Received: by 10.66.190.101 with SMTP id gp5mr44060630pac.19.1374687980769;
Wed, 24 Jul 2013 10:46:20 -0700 (PDT)
X-Received: by 10.66.190.101 with SMTP id gp5mr44060603pac.19.1374687980456;
Wed, 24 Jul 2013 10:46:20 -0700 (PDT)
Return-Path: <user@gmail.com>
Received: from kamaljeet ([202.164.43.221])
by mx.google.com with ESMTPSA id r7sm29322866pao.18.2013.07.24.10.46.17
for <kamal@mymail.kserver.local>
(version=TLSv1 cipher=RC4-SHA bits=128/128);
Wed, 24 Jul 2013 10:46:19 -0700 (PDT)
From: "Kamaljeet Singh" <user@gmail.com>
To: <kamal@mymail.kserver.local>
References: <68F9BE0EC9764C86ADB33F0F5CBA6481@kamaljeet>
In-Reply-To: <68F9BE0EC9764C86ADB33F0F5CBA6481@kamaljeet>
Subject: RE: test 24July2013
Date: Wed, 24 Jul 2013 23:16:16 +0530
Message-ID: <005901ce8895$b4a6ad90$1df408b0$@com>
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----=_NextPart_000_005A_01CE88C3.CE5EE990"
X-Mailer: Microsoft Office Outlook 12.0
Thread-Index: Ac6D5479+prYI9FoSry36frekhzViwErhPzQ
Content-Language: en-us
X-Gm-Message-State: ALoCoQlg4Z1inRR5GFtnEos3VP9Grn5wvUL1Ymz5/BzAdlp+soqZVhm/LUJerZ2XAxaqRYTqZ+5naXJpIDNdVnM2E0/mC5w1N9haehiKG84AZgJdtI7bXQehOcP4OFV4cK3Qm8FXoNFIXRtA2MelJoUkB7VrICZTbjxewC9D6I1fhBHRHZpTcNA=

Got it

Regards

<mailto:user@gmail.com> user@gmail.com

From: kamal@mymail.kserver.local [mailto:kamal@mymail.kserver.local]
Sent: Friday, July 19, 2013 12:20 AM
To: user@gmail.com
Subject: test
 
Old 07-31-2013, 03:56 AM   #2
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Hi there,

Quote:
Originally Posted by kamal.zkp View Post
I've setup a postfix mail server on my local domain. The domain is a not public registered domain. I'm able to send emails to users on external domains like Yahoo and Google but not able to receive mails in the mailboxes for this local postfix mail server.
you never will, if you're using a non-registered local domain.

Code:
550 Host not found for domain:mymail.kserver.local - psmtp

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

X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=google.com; s=20120113;
        h=from:to:references:in-reply-to:subject:date:message-id:mime-version
         :content-type:x-mailer:thread-index:content-language
         :x-gm-message-state;
        bh=+MyQhTybiFffuIDkShuRDTr+XtDEqqq6TsrRlr60dCw=;
        b=WeciBNV+4Q3XnLohpt1+YBR6uOOIRlHfbKBdRtnOz9yNEsldj0QQfn0nfZ1LV07gIj
         eDtKkHuNGeoAgoQLhlJBPGPyY06DLzqSlE2gFFG8uD6AMwuIAPTspRxBeb1bXtzozcEo
         SvSBYk059tmSSobrvCAjMlqTiMESSii/smJzX06s1m291s4oHomDEZ/wXSTnLjmY1tzo
         f+nUMzek0ryJURBZzOv2ru8kPDOoeY0PIBRdLnKSpMnz0na+zEEMdz65ZUdhffVJ7Jg1
         +T0u5tct+kqRRjqgQA6efOcWZHSHLBHp8/ooQCPC54TYcChQK6NwIvTFpEG6Fep9ypWy
         j4VQ==
X-Received: by 10.66.190.101 with SMTP id gp5mr44060630pac.19.1374687980769;
        Wed, 24 Jul 2013 10:46:20 -0700 (PDT)
X-Received: by 10.66.190.101 with SMTP id gp5mr44060603pac.19.1374687980456;
        Wed, 24 Jul 2013 10:46:20 -0700 (PDT)
Return-Path: <user@gmail.com>
Received: from kamaljeet ([202.164.43.221])
        by mx.google.com with ESMTPSA id r7sm29322866pao.18.2013.07.24.10.46.17
        for <kamal@mymail.kserver.local>
        (version=TLSv1 cipher=RC4-SHA bits=128/128);
        Wed, 24 Jul 2013 10:46:19 -0700 (PDT)
From: "Kamaljeet Singh" <user@gmail.com>
To: <kamal@mymail.kserver.local>
There you have it. If a mail message is addressed to domain mymail.kserver.local, but this domain isn't registered in the DNS - how should a mail server know where to deliver this message. And yes, the error message above tells it clearly: As seen from the public internet, there is no host mymail.kserver.local anywhere.
To receive mail, you must have a public host.

[X] Doc CPU
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
postfix configuration problem -> domain mx has moved but old mail host still local stardotstar Linux - Server 2 10-24-2009 11:49 PM
Postfix cant send mail in local or any outer domain vikki Linux - Server 4 07-22-2009 03:40 PM
local domain versus official domain in POSTFIX lucmohamed Linux - Server 1 04-14-2008 06:06 AM
Postfix and local domain. LuneeTunes Linux - Networking 1 03-18-2006 12:55 PM
postfix : sending local mail without domain iainr Linux - Software 2 12-10-2003 03:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration