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

postfix mx check

Expand Messages
  • Udo Mueller
    Hello all, i am having a problem at customer s site. I am using postfix 2.5.5 Customer tries to send email to @vf.uk.vodafone.com. This domain does not exist:
    Message 1 of 6 , Aug 3, 2009
      Hello all,

      i'am having a problem at customer's site. I'am using postfix 2.5.5

      Customer tries to send email to @.... This domain does
      not exist:

      $ dig -t any vf.uk.vodafone.com

      ; <<>> DiG 9.4.3-P1 <<>> -t any vf.uk.vodafone.com
      ;; global options: printcmd
      ;; Got answer:
      ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 32074
      ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

      ;; QUESTION SECTION:
      ;vf.uk.vodafone.com. IN ANY

      ;; AUTHORITY SECTION:
      vodafone.com. 1800 IN SOA ns1.dc-ratingen.de. hostmaster.vodafone.com.
      2008081051 28800 7200 604800 14400

      ;; Query time: 75 msec
      ;; SERVER: 10.22.0.1#53(10.22.0.1)
      ;; WHEN: Mon Aug 3 14:57:17 2009
      ;; MSG SIZE rcvd: 101

      (see NXDOMAIN)

      Postfix quits sending these emails with "host not found". Customers
      says, that these emails have to be sent to the mx of the domain
      vodafone.com which is me.vodafone.com because vodafone.com ist
      authoritative for vf.uk.vodafone.com (i dont think that this is correct).

      My question: Is it possible to disable the domain check an let postfix
      send these emails to me.vodafone.com or am i right, that there is no
      responsible MX for the domain vf.uk.vodafone.com and postfix behaves
      correct?

      Hope you can help.

      Regards Udo
    • Jorey Bump
      ... If the customer wants the message to be sent to the MX for vodafone.com, then the customer should use @vodafone.com. There is little to gain by trying to
      Message 2 of 6 , Aug 3, 2009
        Udo Mueller wrote, at 08/03/2009 09:01 AM:
        > Hello all,
        >
        > i'am having a problem at customer's site. I'am using postfix 2.5.5
        >
        > Customer tries to send email to @.... This domain does
        > not exist:
        >
        > $ dig -t any vf.uk.vodafone.com
        >
        > ; <<>> DiG 9.4.3-P1 <<>> -t any vf.uk.vodafone.com
        > ;; global options: printcmd
        > ;; Got answer:
        > ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 32074
        > ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
        >
        > ;; QUESTION SECTION:
        > ;vf.uk.vodafone.com. IN ANY
        >
        > ;; AUTHORITY SECTION:
        > vodafone.com. 1800 IN SOA ns1.dc-ratingen.de.
        > hostmaster.vodafone.com. 2008081051 28800 7200 604800 14400
        >
        > ;; Query time: 75 msec
        > ;; SERVER: 10.22.0.1#53(10.22.0.1)
        > ;; WHEN: Mon Aug 3 14:57:17 2009
        > ;; MSG SIZE rcvd: 101
        >
        > (see NXDOMAIN)
        >
        > Postfix quits sending these emails with "host not found". Customers
        > says, that these emails have to be sent to the mx of the domain
        > vodafone.com which is me.vodafone.com because vodafone.com ist
        > authoritative for vf.uk.vodafone.com (i dont think that this is correct).
        >
        > My question: Is it possible to disable the domain check an let postfix
        > send these emails to me.vodafone.com or am i right, that there is no
        > responsible MX for the domain vf.uk.vodafone.com and postfix behaves
        > correct?

        If the customer wants the message to be sent to the MX for vodafone.com,
        then the customer should use @.... There is little to gain by
        trying to support the use of arbitrary imaginary domains. Unless you
        manage vodafone.com, you can't fix the customer's problem.
      • sosogh
        ... Yes.You can use transport_maps http://www.postfix.org/transport.5.html debian:/etc/postfix# postconf -e transport_maps =
        Message 3 of 6 , Aug 3, 2009
          2009-08-03 21:02:01 Udo Mueller wrote:

          >My question: Is it possible to disable the domain check an let postfix
          >send these emails to me.vodafone.com

          Yes.You can use transport_maps
          http://www.postfix.org/transport.5.html

          debian:/etc/postfix# postconf -e 'transport_maps = hash:/etc/postfix/transport_maps.txt'

          add this line into file /etc/postfix/transport_maps.txt
          vf.uk.vodafone.com smtp:vodafone.com

          debian:/etc/postfix# postmap /etc/postfix/transport_maps.txt
          debian:/etc/postfix# /etc/init.d/postfix reload


          ------------------
          sosogh
          2009-08-03
        • John Peach
          On Mon, 3 Aug 2009 22:11:49 +0800 ... ...and you would really expect vodafone to accept those emails? -- John
          Message 4 of 6 , Aug 3, 2009
            On Mon, 3 Aug 2009 22:11:49 +0800
            "sosogh" <sosogh@...> wrote:

            >
            > 2009-08-03 21:02:01 Udo Mueller wrote:
            >
            > >My question: Is it possible to disable the domain check an let
            > >postfix send these emails to me.vodafone.com
            >
            > Yes.You can use transport_maps
            > http://www.postfix.org/transport.5.html
            >
            > debian:/etc/postfix# postconf -e 'transport_maps =
            > hash:/etc/postfix/transport_maps.txt'
            >
            > add this line into file /etc/postfix/transport_maps.txt
            > vf.uk.vodafone.com smtp:vodafone.com
            >
            > debian:/etc/postfix# postmap /etc/postfix/transport_maps.txt
            > debian:/etc/postfix# /etc/init.d/postfix reload
            >

            ...and you would really expect vodafone to accept those emails?


            --
            John
          • sosogh
            ... How to route the mail is a matter of postfix, whether accept those mails or not is a matter of the receiver server Isn t that Udo Mueller s thought ...
            Message 5 of 6 , Aug 3, 2009
              2009-08-03 22:18:09 John Peach wrote:

              >...and you would really expect vodafone to accept those emails?

              How to route the mail is a matter of postfix, whether
              accept those mails or not is a matter of the receiver server

              Isn't that Udo Mueller's thought




              ------------------
              sosogh
              2009-08-03
            • Udo Mueller
              ... I *know* that this server doesnt accept those emails and i already told that to my customer. i just want to show my customer, that i did what they wanted
              Message 6 of 6 , Aug 3, 2009
                sosogh schrieb:
                > 2009-08-03 22:18:09 John Peach wrote:
                >
                >> ...and you would really expect vodafone to accept those emails?
                >
                > How to route the mail is a matter of postfix, whether
                > accept those mails or not is a matter of the receiver server
                >
                > Isn't that Udo Mueller's thought

                I *know* that this server doesnt accept those emails and i already told
                that to my customer.

                i just want to show my customer, that i did what they wanted me to do.

                Postfix now doesnt check the domain name and tries to send email to
                me.vodafone.com. This mx denies acception.
                Thats ok for me.

                ty for your help.

                Regards Udo
              Your message has been successfully submitted and would be delivered to recipients shortly.