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


  Search this Thread
Old 02-11-2008, 10:25 AM   #1
LQ Newbie
Registered: Jan 2008
Posts: 19

Rep: Reputation: 0
Postfix: Invalid domain

Hey, i've set up a postfix based mail server on a public IP.
I haven't configured a domain name yet, but i tried to test it, sending an emai to the root@[a.d.d.r] from gmail (and hotmail, but it won't let me use "[]" in the recpt) but seconds after i hit send, i get a delivery failure:

This is an automatically generated Delivery Status Notification

Delivery to the following recipient failed permanently:


Technical details of permanent failure:
PERM_FAILURE: Parse Error: Illegal To: address (invalid domain name): root@[a.b.c.d]

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

Received: by with SMTP id j13mr60235rvm.276.1202744954293;
       Mon, 11 Feb 2008 07:49:14 -0800 (PST)
Received: by with HTTP; Mon, 11 Feb 2008 07:49:14 -0800 (PST)
Message-ID: <>
Date: Mon, 11 Feb 2008 09:49:14 -0600
From: "=?ISO-8859-1?Q?Emanuel_Pe=F1a?=" <>
To: root@[a.b.c.d]
Subject: Hola
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

que onda
I did a telnet <ip> 25, and succesfully sent an email by hand. What makes me think it's a gmail's problem, what's your oppinion on that, here's my postconf -n, if you see anything that you can advise on me, let me know. I'm new to the whole server thing... Thanks in advance!

# postconf -n
[root@correo pruebas]# /usr/sbin/postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
html_directory = no
inet_interfaces = all
local_recipient_maps = proxy:unix:passwd.byname $alias_maps
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, localhost
mynetworks_style = host
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.4.5/README_FILES
relay_domains = $mydestination
sample_directory = /usr/share/doc/postfix-2.4.5/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
unknown_local_recipient_reject_code = 550
Old 02-11-2008, 10:41 AM   #2
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977
well yes, gmail is rejecting the format you are using just like hotmail does. it's no one's "fault" though... sending email by ip address is a horrible horrible thing to be doing.
Old 02-11-2008, 12:57 PM   #3
LQ Newbie
Registered: Jan 2008
Posts: 19

Original Poster
Rep: Reputation: 0
true, thanks a lot!


domain, invalid, ip, name, postfix, public

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
501 invalid domain name -- when trying to send mail (SMTP) FUXC Linux - General 8 05-01-2012 06:04 PM
Postfix Help - Allow only one domain waddy Linux - Server 7 06-05-2007 05:05 PM
Postfix for multiple domain talat Linux - Software 1 02-13-2006 04:27 PM
Amavi + postfix Invalid ipv6 sysntax jamluv Linux - Software 0 10-06-2005 01:34 AM
Postfix virtual domain eyt Linux - Newbie 0 02-23-2004 05:07 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:57 AM.

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