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

Re: NOQUEUE: reject: RCPT from ... 454 4.7.1 Relay access denied

Expand Messages
  • Rod K
    Postfix is not configured to accept mail for mhm.lv
    Message 1 of 5 , Apr 8, 2013
    • 0 Attachment
      Postfix is not configured to accept mail for mhm.lv

      On 4/8/2013 9:30 PM, Indiana Jones wrote:
      Dear Sirs,
       
      From these error messages below, could you possibly advise what the reason might be that
      I am not able to receive messages into my Postfix-Dovecot mail server!
       
      OS: FreeBSD 9.1
      Postfix 2.9.5,1
      Dovecot 1.2.17
       
       
      /var/log/maillog:
      -------------------------------------------------------------------------------------------------------
      Apr 9 02:44:35 mail postfix/smtpd[38430]: connect from shark2.inbox.lv[89.111.3.82]
       
       
      Apr 9 02:44:35 mail postfix/smtpd[38430]: NOQUEUE: reject: RCPT from shark2.inbox.lv[89.111.3.82]: 454 4.7.1 <adam@...>: Relay access denied; from=<indiana99@...> to=<adam@...> proto=ESMTP helo=<shark2.inbox.lv>
       
      Apr 9 02:44:35 mail postfix/smtpd[38430]: disconnect from shark2.inbox.lv[89.111.3.82]
      Apr 9 02:44:49 mail dovecot: pop3-login: Login: user=<adam>, method=PLAIN, rip=80.81.39.15, lip=80.81.39.2
      Apr 9 02:44:49 mail dovecot: POP3(adam): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
      ---------------------------------------------------------------------------------------------------------------------------------
       
      # postconf -n
      command_directory = /usr/local/sbin
      config_directory = /usr/local/etc/postfix
      daemon_directory = /usr/local/libexec/postfix
      data_directory = /var/db/postfix
      debug_peer_level = 2
      debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd $daemon_directory/$process_name $process_id & sleep 5
      html_directory = /usr/local/share/doc/postfix
      inet_protocols = ipv4
      local_recipient_maps =
      mail_owner = postfix
      mailq_path = /usr/local/bin/mailq
      manpage_directory = /usr/local/man
      mydestination = $myhostname, localhost.$mydomain, localhost
      mydomain = aaa.aa
      myhostname = aaaa.aaa.aa
      mynetworks = dd.dd.dd.0/24, dd.dd.dd.0/24, 127.0.0.0/8
      myorigin = $mydomain
      newaliases_path = /usr/local/bin/newaliases
      queue_directory = /var/spool/postfix
      readme_directory = /usr/local/share/doc/postfix
      relay_domains = $mydestination
      sample_directory = /usr/local/etc/postfix
      sendmail_path = /usr/local/sbin/sendmail
      setgid_group = maildrop
      smtpd_banner = $myhostname ESMTP Postfix
      soft_bounce = yes
      unknown_local_recipient_reject_code = 550
       # 


      Thanks a lot,
      Adam

    • Noel Jones
      ... A little context would help... If this is supposed to be accepted and delivered locally, the problem is that postfix doesn t know it s responsible for the
      Message 2 of 5 , Apr 8, 2013
      • 0 Attachment
        On 4/8/2013 8:30 PM, Indiana Jones wrote:
        > Dear Sirs,
        >
        > From these error messages below, could you possibly advise what the
        > reason might be that
        > I am not able to receive messages into my Postfix-Dovecot mail server!
        >
        > OS: FreeBSD 9.1
        > Postfix 2.9.5,1
        > Dovecot 1.2.17
        >
        >
        > /var/log/maillog:
        > -------------------------------------------------------------------------------------------------------
        > Apr 9 02:44:35 mail postfix/smtpd[38430]: connect from
        > shark2.inbox.lv[89.111.3.82]
        >
        >
        > Apr 9 02:44:35 mail postfix/smtpd[38430]: NOQUEUE: reject: RCPT from
        > shark2.inbox.lv[89.111.3.82]: 454 4.7.1 <adam@...>: Relay access
        > denied; from=<indiana99@...> to=<adam@...> proto=ESMTP
        > helo=<shark2.inbox.lv>


        A little context would help...

        If this is supposed to be accepted and delivered locally, the
        problem is that postfix doesn't know it's responsible for the mhm.lv
        domain.
        http://www.postfix.org/ADDRESS_CLASS_README.html
        and possibly
        http://www.postfix.org/BASIC_CONFIGURATION_README.html#mydestination

        If this is supposed to be relayed to a third-party site, see:
        http://www.postfix.org/BASIC_CONFIGURATION_README.html#relay_from
        and possibly
        http://www.postfix.org/SASL_README.html

        If you need more help, please explain what you want postfix to do
        with the message.


        -- Noel Jones
      • Indiana Jones
        Hi, Thank you for your input! I need Postfix to receive all messages sent to all users of mhm.lv and deliver them locally to the´┐Ż mail users of the same
        Message 3 of 5 , Apr 9, 2013
        • 0 Attachment
          Hi,
          Thank you for your input!

          I need Postfix to receive all messages sent to all users of mhm.lv and deliver them locally to the 
          mail users of the same domain!

          I have these particular configurations in my /usr/local/etc/postfix/main.cf

          mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain,
                 mail.$mydomain, www.$mydomain, ftp.$mydomain
           
          relay_domains = $mydestination
           
          relayhost = $mydomain

          Please be so kind as to specifically advise as what I should do, for I am brand new to Postfix :)!

          Thanks,
          Adam

           


          Quoting Noel Jones <njones@...>:
          On 4/8/2013 8:30 PM, Indiana Jones wrote:
          > Dear Sirs,
          >
          > From these error messages below, could you possibly advise what the
          > reason might be that
          > I am not able to receive messages into my Postfix-Dovecot mail server!
          >
          > OS: FreeBSD 9.1
          > Postfix 2.9.5,1
          > Dovecot 1.2.17
          >
          >
          > /var/log/maillog:
          > -------------------------------------------------------------------------------------------------------
          > Apr 9 02:44:35 mail postfix/smtpd[38430]: connect from
          > shark2.inbox.lv[89.111.3.82]
          >
          >
          > Apr 9 02:44:35 mail postfix/smtpd[38430]: NOQUEUE: reject: RCPT from
          > shark2.inbox.lv[89.111.3.82]: 454 4.7.1 <adam@...>: Relay access
          > denied; from=<indiana99@...> to=<adam@...> proto=ESMTP
          > helo=<shark2.inbox.lv>


          A little context would help...

          If this is supposed to be accepted and delivered locally, the
          problem is that postfix doesn't know it's responsible for the mhm.lv
          domain.
          http://www.postfix.org/ADDRESS_CLASS_README.html
          and possibly
          http://www.postfix.org/BASIC_CONFIGURATION_README.html#mydestination

          If this is supposed to be relayed to a third-party site, see:
          http://www.postfix.org/BASIC_CONFIGURATION_README.html#relay_from
          and possibly
          http://www.postfix.org/SASL_README.html

          If you need more help, please explain what you want postfix to do
          with the message.


          -- Noel Jones

           

        • Noel Jones
          ... If these users are local system accounts, add the domain to mydestination. http://www.postfix.org/BASIC_CONFIGURATION_README.html
          Message 4 of 5 , Apr 9, 2013
          • 0 Attachment
            On 4/9/2013 3:46 AM, Indiana Jones wrote:
            > Hi,
            > Thank you for your input!
            >
            > I need Postfix to receive all messages sent to all users of mhm.lv
            > and deliver them locally to the
            > mail users of the same domain!

            If these users are local system accounts, add the domain to
            mydestination.
            http://www.postfix.org/BASIC_CONFIGURATION_README.html
            http://www.postfix.org/ADDRESS_CLASS_README.html
            or possibly:
            http://www.postfix.org/VIRTUAL_README.html

            >
            > I have these particular configurations in my
            > /usr/local/etc/postfix/main.cf
            >
            > mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain,
            > mail.$mydomain, www.$mydomain, ftp.$mydomain
            >
            > relay_domains = $mydestination

            You probably want the above parameter set empty, like this:
            relay_domains =


            >
            > relayhost = $mydomain

            If all your mail should be delivered through a smarthost, usually
            you set the above with "[ ]" brackets, like this:
            relayhost = [smtp.example.com]



            >
            > Please be so kind as to specifically advise as what I should do, for
            > I am brand new to Postfix :)!

            Documentation is here:
            http://www.postfix.org/documentation.html



            -- Noel Jones
          Your message has been successfully submitted and would be delivered to recipients shortly.