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

relay emails not being received

Expand Messages
  • Mary Ellen Fitzpatrick
    Hoping to get some guidance for resolving a relay problem. Trying to setup postfix so that incoming email is relayed to the alias test listed in the
    Message 1 of 6 , Mar 1, 2012
      Hoping to get some guidance for resolving a relay problem.
      Trying to setup postfix so that incoming email is relayed to the alias
      "test" listed in the /etc/aliases. Want all mail to be relayed to other
      accounts/users, ie gmail, yahoo, $mydomain
      postconf -n output below. hostname/domain: altman.bu.edu

      /etc/aliases --- ran newaliases several times
      test: mfitzpat@..., mfitzpat11@...
      The user, test, does exist on the system, just as an alias entry.

      If I send email from mfitzpat.bu.edu to test@... = email is
      relayed/received at both x.bu.edu and x.gmail.com
      If I send email from mfitzpat11.gmail.com to test@... = email
      is only received at x.bu.edu account
      Output from maillog says email is sent/relayed to gmail, but it is never
      delivered... goes into a black hole... does not bounce back etc.

      Mar 1 13:34:46 altman postfix/smtpd[20127]: connect from
      mail-vx0-f169.google.com[209.85.220.169]
      Mar 1 13:34:46 altman postfix/smtpd[20127]: setting up TLS connection
      from mail-vx0-f169.google.com[209.85.220.169]
      Mar 1 13:34:46 altman postfix/smtpd[20127]: TLS connection established
      from mail-vx0-f169.google.com[209.85.220.169]: TLSv1 with cipher RC4-SHA
      (128/128 bits)
      Mar 1 13:34:46 altman postfix/smtpd[20127]: DB77596FC4:
      client=mail-vx0-f169.google.com[209.85.220.169]
      Mar 1 13:34:46 altman postfix/cleanup[20131]: DB77596FC4:
      message-id=<CABNrs+RQmG6oxY7C+K6CdL4JQeSyfpaLKMAP_ByHjssMomre5w@...>
      Mar 1 13:34:46 altman postfix/qmgr[18176]: DB77596FC4:
      from=<mfitzpat11@...>, size=1852, nrcpt=1 (queue active)
      Mar 1 13:34:46 altman postfix/local[20132]: DB77596FC4:
      to=<mfitzpat@...>, orig_to=<test@...>, relay=local,
      delay=0.08, delays=0.08/0/0/0, dsn=2.0.0, status=sent (delivered to
      command: /usr/bin/procmail -a "$EXTENSION")
      Mar 1 13:34:46 altman postfix/cleanup[20131]: E962896FC7:
      message-id=<CABNrs+RQmG6oxY7C+K6CdL4JQeSyfpaLKMAP_ByHjssMomre5w@...>
      Mar 1 13:34:46 altman postfix/qmgr[18176]: E962896FC7:
      from=<mfitzpat11@...>, size=1979, nrcpt=1 (queue active)
      Mar 1 13:34:46 altman postfix/local[20132]: DB77596FC4:
      to=<test@...>, relay=local, delay=0.09, delays=0.08/0/0/0.01,
      dsn=2.0.0, status=sent (forwarded as E962896FC7)
      Mar 1 13:34:46 altman postfix/qmgr[18176]: DB77596FC4: removed
      Mar 1 13:34:47 altman postfix/smtp[20134]: certificate verification
      failed for gmail-smtp-in.l.google.com: num=20:unable to get local issuer
      certificate
      Mar 1 13:34:47 altman postfix/smtp[20134]: certificate verification
      failed for gmail-smtp-in.l.google.com: num=27:certificate not trusted
      Mar 1 13:34:47 altman postfix/smtp[20134]: E962896FC7:
      to=<mfitzpat11@...>, orig_to=<test@...>,
      relay=gmail-smtp-in.l.google.com[74.125.115.27]:25, delay=0.35,
      delays=0/0/0.21/0.13, dsn=2.0.0, status=sent (250 2.0.0 OK 1330626887
      hn4si2701387vdb.114)
      Mar 1 13:34:47 altman postfix/qmgr[18176]: E962896FC7: removed
      Mar 1 13:35:16 altman postfix/smtpd[20127]: disconnect from
      mail-vx0-f169.google.com[209.85.220.169]

      I get this message in the maillog whether I send from my bu.edu or gmail
      account... not sure if this is the culprit:
      *Mar 1 13:34:47 altman postfix/smtp[20134]: certificate verification
      failed for gmail-smtp-in.l.google.com: num=20:unable to get local issuer
      certificate
      Mar 1 13:34:47 altman postfix/smtp[20134]: certificate verification
      failed for gmail-smtp-in.l.google.com: num=27:certificate not trusted
      *
      altman:/etc/postfix# postconf -n
      alias_database = hash:/etc/aliases
      alias_maps = hash:/etc/aliases
      broken_sasl_auth_clients = yes
      command_directory = /usr/sbin
      config_directory = /etc/postfix
      daemon_directory = /usr/libexec/postfix
      debug_peer_level = 2
      html_directory = no
      inet_interfaces = all
      mail_owner = postfix
      mailbox_command = /usr/bin/procmail -a "$EXTENSION"
      mailq_path = /usr/bin/mailq.postfix
      manpage_directory = /usr/share/man
      masquerade_domains = bu.edu
      masquerade_exceptions = root, unix:passwduidunder3000.byname
      mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
      mynetworks = 127.0.0.0/8
      newaliases_path = /usr/bin/newaliases.postfix
      queue_directory = /var/spool/postfix
      readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
      recipient_delimiter = -
      relay_domains = $mydestination
      sample_directory = /usr/share/doc/postfix-2.3.3/samples
      sendmail_path = /usr/sbin/sendmail.postfix
      setgid_group = postdrop
      smtp_tls_note_starttls_offer = yes
      smtp_use_tls = yes
      smtpd_recipient_restrictions = permit_sasl_authenticated,
      permit_mynetworks, reject_unauth_destination
      smtpd_sasl_auth_enable = yes
      smtpd_sasl_security_options = noanonymous
      smtpd_sasl_tls_security_options = $smtpd_sasl_security_options
      smtpd_tls_CAfile = /etc/pki/tls/cert.pem
      smtpd_tls_auth_only = no
      smtpd_tls_cert_file = /etc/pki/tls/certs/altman.crt
      smtpd_tls_key_file = /etc/pki/tls/private/altman.key
      smtpd_tls_loglevel = 1
      smtpd_tls_received_header = yes
      smtpd_tls_security_level = may
      smtpd_tls_session_cache_timeout = 3600s
      smtpd_use_tls = yes
      tls_random_source = dev:/dev/urandom
      unknown_local_recipient_reject_code = 550

      --
      Thanks
      Mary Ellen
    • Wietse Venema
      ... When Google receives mail and does not deliver it, only Google knows why. However, I notice that the Message-ID says gmail.com, and that may be part the
      Message 2 of 6 , Mar 1, 2012
        Mary Ellen Fitzpatrick:
        > Output from maillog says email is sent/relayed to gmail, but it is never
        > delivered... goes into a black hole... does not bounce back etc.
        ...
        > Mar 1 13:34:46 altman postfix/cleanup[20131]: E962896FC7: message-id=
        > <CABNrs+RQmG6oxY7C+K6CdL4JQeSyfpaLKMAP_ByHjssMomre5w@...>
        ...
        > relay=gmail-smtp-in.l.google.com[74.125.115.27]:25, delay=0.35,
        > delays=0/0/0.21/0.13, dsn=2.0.0, status=sent (250 2.0.0 OK 1330626887
        > hn4si2701387vdb.114)

        When Google receives mail and does not deliver it, only Google knows
        why. However, I notice that the Message-ID says gmail.com, and that
        may be part the problem: you are effectively sending messages that
        appear to originate from gmail.com, back to gmail.com.

        Wietse
      • Mary Ellen Fitzpatrick
        Thanks for the info. So if email comes in from any xxx.gmail.com address, then it will not be relayed to alias gmail accounts? Should I be checking with
        Message 3 of 6 , Mar 1, 2012
          Thanks for the info.

          So if email comes in from any xxx.gmail.com address, then it will not
          be relayed to "alias" gmail accounts?
          Should I be checking with the gmail folks?



          Wietse Venema wrote:
          > Mary Ellen Fitzpatrick:
          >
          >> Output from maillog says email is sent/relayed to gmail, but it is never
          >> delivered... goes into a black hole... does not bounce back etc.
          >>
          > ...
          >
          >> Mar 1 13:34:46 altman postfix/cleanup[20131]: E962896FC7: message-id=
          >> <CABNrs+RQmG6oxY7C+K6CdL4JQeSyfpaLKMAP_ByHjssMomre5w@...>
          >>
          > ...
          >
          >> relay=gmail-smtp-in.l.google.com[74.125.115.27]:25, delay=0.35,
          >> delays=0/0/0.21/0.13, dsn=2.0.0, status=sent (250 2.0.0 OK 1330626887
          >> hn4si2701387vdb.114)
          >>
          >
          > When Google receives mail and does not deliver it, only Google knows
          > why. However, I notice that the Message-ID says gmail.com, and that
          > may be part the problem: you are effectively sending messages that
          > appear to originate from gmail.com, back to gmail.com.
          >
          > Wietse
          >

          --
          Thanks
          Mary Ellen
        • Noel Jones
          ... Gmail suppresses duplicate messages. As far as I know that behavior isn t configurable. At any rate, postfix is properly delivering the mail, so no
          Message 4 of 6 , Mar 1, 2012
            On 3/1/2012 12:50 PM, Mary Ellen Fitzpatrick wrote:
            > Hoping to get some guidance for resolving a relay problem.
            > Trying to setup postfix so that incoming email is relayed to the
            > alias "test" listed in the /etc/aliases. Want all mail to be
            > relayed to other accounts/users, ie gmail, yahoo, $mydomain
            > postconf -n output below. hostname/domain: altman.bu.edu
            >
            > /etc/aliases --- ran newaliases several times
            > test: mfitzpat@..., mfitzpat11@...
            > The user, test, does exist on the system, just as an alias entry.
            >
            > If I send email from mfitzpat.bu.edu to test@... =
            > email is relayed/received at both x.bu.edu and x.gmail.com
            > If I send email from mfitzpat11.gmail.com to test@... =
            > email is only received at x.bu.edu account
            > Output from maillog says email is sent/relayed to gmail, but it is
            > never delivered... goes into a black hole... does not bounce back etc.

            Gmail suppresses duplicate messages. As far as I know that behavior
            isn't configurable.

            At any rate, postfix is properly delivering the mail, so no changes
            to postfix are necessary. If you want to pursue this further,
            you'll need to ask google where you mail went.




            -- Noel Jones
          • Mary Ellen Fitzpatrick
            Thank you... good to know I have postfix working properly. ... -- Thanks Mary Ellen Mary Ellen FitzPatrick Systems Analyst Bioinformatics Boston University 24
            Message 5 of 6 , Mar 1, 2012
              Thank you... good to know I have postfix working properly.


              Noel Jones wrote:
              > On 3/1/2012 12:50 PM, Mary Ellen Fitzpatrick wrote:
              >
              >> Hoping to get some guidance for resolving a relay problem.
              >> Trying to setup postfix so that incoming email is relayed to the
              >> alias "test" listed in the /etc/aliases. Want all mail to be
              >> relayed to other accounts/users, ie gmail, yahoo, $mydomain
              >> postconf -n output below. hostname/domain: altman.bu.edu
              >>
              >> /etc/aliases --- ran newaliases several times
              >> test: mfitzpat@..., mfitzpat11@...
              >> The user, test, does exist on the system, just as an alias entry.
              >>
              >> If I send email from mfitzpat.bu.edu to test@... =
              >> email is relayed/received at both x.bu.edu and x.gmail.com
              >> If I send email from mfitzpat11.gmail.com to test@... =
              >> email is only received at x.bu.edu account
              >> Output from maillog says email is sent/relayed to gmail, but it is
              >> never delivered... goes into a black hole... does not bounce back etc.
              >>
              >
              > Gmail suppresses duplicate messages. As far as I know that behavior
              > isn't configurable.
              >
              > At any rate, postfix is properly delivering the mail, so no changes
              > to postfix are necessary. If you want to pursue this further,
              > you'll need to ask google where you mail went.
              >
              >
              >
              >
              > -- Noel Jones
              >

              --
              Thanks
              Mary Ellen


              Mary Ellen FitzPatrick
              Systems Analyst
              Bioinformatics
              Boston University
              24 Cummington St.
              Boston, MA 02215
              office 617-358-2771
              cell 617-797-7856
              mfitzpat@...
            • Wietse Venema
              ... According to this Message-ID header, you are sending mail from gmail back to gmail. Wietse
              Message 6 of 6 , Mar 1, 2012
                Mary Ellen Fitzpatrick:
                > >> Mar 1 13:34:46 altman postfix/cleanup[20131]: E962896FC7: message-id=
                ==========================================================vvvvvvvvvvvvvvv
                > >> <CABNrs+RQmG6oxY7C+K6CdL4JQeSyfpaLKMAP_ByHjssMomre5w@...>
                =========================================================^^^^^^^^^^^^^^^^
                > >> relay=gmail-smtp-in.l.google.com[74.125.115.27]:25, delay=0.35,
                > >> delays=0/0/0.21/0.13, dsn=2.0.0, status=sent (250 2.0.0 OK 1330626887
                > >> hn4si2701387vdb.114)

                According to this Message-ID header, you are sending mail from gmail
                back to gmail.

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