Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    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

  2. #2
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    North Carolina
    do your postfix logs show the connection? if so post that here

    if not then maybe gmail doesn't like sending to @[ipaddr]

  3. #3
    maillog shows no connection from gmail, i agree with you, it seems that gmail doesn't like raw ip addresses. thank you a lot. i'll try on a different server, to se if i get some good results.

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts