-   Linux - Server (
-   -   Postfix: Invalid domain (

nukoso 02-11-2008 10:25 AM

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

acid_kewpie 02-11-2008 10:41 AM

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.

nukoso 02-11-2008 12:57 PM

true, thanks a lot!

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