Loading ...
Sorry, an error occurred while loading the content.

Re: Postfix error: name or service not known

Expand Messages
  • Ralf Hildebrandt
    ... Unlcear, you must provide log, configartion and unchanged error messages -- Ralf Hildebrandt (Ralf.Hildebrandt@charite.de) plonk@charite.de
    Message 1 of 33 , Mar 1, 2007
    • 0 Attachment
      * Alejandro Kurchis <alejandro_facultad@...>:
      > Dear all, I work for a small company which has a mail server Postfix
      > with amavis+spamassassin+clamav+courier and it runs very well, sending
      > and receiving mail. But there is an exception: my mail server is located
      > into a DMZ1 from a company and when I send a mail to any user from the
      > main mail server from the named company (located into another DMZ2) it
      > couldn't contact this mail server and I receive this error message:
      >
      > The Postfix program
      >
      > <user@...>: [company.com]: Name or service not known
      >
      > I ask you: is this a name resolution problem related to the DNS service
      > ??? Or what could be the problem ???

      Unlcear, you must provide log, configartion and unchanged error messages
      --
      Ralf Hildebrandt (Ralf.Hildebrandt@...) plonk@...
      Postfix - Einrichtung, Betrieb und Wartung Tel. +49 (0)30-450 570-155
      http://www.arschkrebs.de
      Anyone who cannot cope with Mathematics is not fully human -- at best
      he is a tolerable subhuman who learned how to tie his shoes and not
      make messes in the house. --Lazarus Long, "Time Enough for Love", R.A.Heinlein
    • Wietse Venema
      ... 1) Where does the [dmz2.com.ar] come from? It is not visible in the configuration information below. 2) You are running a Postfix 2.1 version that was
      Message 33 of 33 , Mar 2, 2007
      • 0 Attachment
        Alejandro:
        > Dear all, I'm here again with more data in order to get help. I have a
        > mail server in DMZ1 which works perfectly sendind and receiving mails
        > to/from Internet. But we have a problem when we want to send mails to a
        > mail server in DMZ2 from the same LAN. My mail server is
        > mail.dmz1.com.ar and the other is mail.dmz2.com.ar (both are public)
        >
        > The host mail.dmz2.com.ar exists in the local DNS pointing to a private
        > IP from DMZ2, in order to resolve the communication via LAN.
        >
        > When I send a message from DMZ1 to DMZ2 I get this error:
        >
        > The Postfix program
        >
        > <juan@...>: [dmz2.com.ar]: Name or service not known

        1) Where does the [dmz2.com.ar] come from? It is not visible in
        the configuration information below.

        2) You are running a Postfix 2.1 version that was modified with a
        third-party patch for IPv6 support. Support for this patch is no
        longer available.

        Wietse

        > Here are the log, postconf -f and packages installed:
        >
        > cat /var/log/mail.log:
        >
        > Mar 2 09:14:02 mail1 postfix/pipe[8381]: 1615EEB52:
        > to=<juan@...>, relay=spamassassin, delay=6, status=sent
        > (mail.dmz1.com.ar)
        > Mar 2 09:14:02 mail1 amavis[8002]: (08002-01) Passed, <ale@> ->
        > <juen@...>, Message-ID: <45E81402.6060108@...>,
        > Hits: -2.4
        > Mar 2 09:14:02 mail1 postfix/smtp[8385]: 7981215AFF:
        > to=<juan@...>, relay=localhost[127.0.0.1], delay=0, status=sent
        > (250 2.6.0 Ok, id=08002-01, from MTA: 250 Ok: queued as A37C4242E4)
        > Mar 2 09:14:02 mail1 postfix/smtp[8389]: A37C4242E4:
        > to=<juan@...>, relay=none, delay=0, status=bounced
        > ([dmz2.com.ar]: Name or service not known)
        >
        > postconf -n:
        >
        > alias_database = hash:/etc/aliases
        > alias_maps = hash:/etc/aliases
        > append_dot_mydomain = no
        > biff = no
        > config_directory = /etc/postfix
        > content_filter = amavis-smtp:localhost:10024
        > inet_interfaces = 192.168.30.3
        > local_recipient_maps = unix:passwd.byname $alias_maps
        > local_transport = maildrop
        > mailbox_command = /usr/bin/maildrop -d $USER
        > mailbox_size_limit = 81200000
        > mydestination = localhost.dmz1.com.ar, localhost
        > myhostname = mail.dmz1.com.ar
        > mynetworks = 127.0.0.0/8, 192.1.1.0/24, 192.168.30.4/32, 10.10.12.100/32
        > myorigin = /etc/mailname
        > recipient_delimiter = +
        > relayhost =
        > smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
        > smtpd_client_restrictions = permit_mynetworks reject_non_fqdn_recipient
        > reject_rbl_client sbl.spamhaus.org reject_rbl_client opm.blitzed.org
        > reject_unauth_destination
        > virtual_gid_maps = static:5000
        > virtual_mailbox_base = /var/vmail/
        > virtual_mailbox_domains = $virtual_mailbox_maps
        > hash:/etc/postfix/vmaildomains
        > virtual_mailbox_maps = ldap:ldapvirtualmap
        > virtual_minimum_uid = 100
        > virtual_transport = virtual
        > virtual_uid_maps = static:5000
        >
        >
        > Postfix 2.1.5
        > Amavisd-new
        > Clamav
        > Spamassassin
        > Courier-imap-ssl
        >
        > Any suggestion ??? I get lost......
        >
        > Thanks in advance !!!
        >
        > A.K.
        >
        >
        >
      Your message has been successfully submitted and would be delivered to recipients shortly.