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

Queue ID with amavisd

Expand Messages
  • Chris
    Hello Postfix Users :) I am using Postfix with amavisd. Received: from mail-wi0-f174.google.com (mail-wi0-f174.google.com [209.85.212.174]) by
    Message 1 of 9 , Mar 2, 2012
    • 0 Attachment
      Hello Postfix Users :)

      I am using Postfix with amavisd.

      Received: from mail-wi0-f174.google.com (mail-wi0-f174.google.com
      [209.85.212.174])
      by my.postfix-server.org (Postfix) with ESMTPS <<< no Queue ID

      Where is the Postfix queue ID?

      my master.cf:

      smtpd pass - - n - - smtpd
      -o smtpd_proxy_filter=127.0.0.1:10024
      -o smtpd_client_connection_count_limit=10
      -o smtpd_proxy_options=speed_adjust


      127.0.0.1:10025 inet n - n - - smtpd
      -o smtpd_authorized_xforward_hosts=127.0.0.0/8
      -o smtpd_client_restrictions=
      -o smtpd_helo_restrictions=
      -o smtpd_sender_restrictions=
      -o smtpd_recipient_restrictions=permit_mynetworks,reject
      -o smtpd_data_restrictions=
      -o mynetworks=127.0.0.0/8
      -o receive_override_options=no_unknown_recipient_checks

      --
      Chris
    • Ralf Hildebrandt
      ... It s logged by the second smtpd, since the first smtpd using smtpd_proxy_filter doesn t issue an queueid -- Ralf Hildebrandt Geschäftsbereich IT |
      Message 2 of 9 , Mar 2, 2012
      • 0 Attachment
        * Chris <xchris89x@...>:
        > Hello Postfix Users :)
        >
        > I am using Postfix with amavisd.
        >
        > Received: from mail-wi0-f174.google.com (mail-wi0-f174.google.com
        > [209.85.212.174])
        > by my.postfix-server.org (Postfix) with ESMTPS <<< no Queue ID
        >
        > Where is the Postfix queue ID?

        It's logged by the second smtpd, since the first smtpd using
        smtpd_proxy_filter doesn't issue an queueid

        --
        Ralf Hildebrandt
        Geschäftsbereich IT | Abteilung Netzwerk
        Charité - Universitätsmedizin Berlin
        Campus Benjamin Franklin
        Hindenburgdamm 30 | D-12203 Berlin
        Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
        ralf.hildebrandt@... | http://www.charite.de
      • Chris
        ... Can this be changed? -- Chris
        Message 3 of 9 , Mar 2, 2012
        • 0 Attachment
          2012/3/2 Ralf Hildebrandt <Ralf.Hildebrandt@...>:
          > * Chris <xchris89x@...>:
          >> Hello Postfix Users :)
          >>
          >> I am using Postfix with amavisd.
          >>
          >> Received: from mail-wi0-f174.google.com (mail-wi0-f174.google.com
          >> [209.85.212.174])
          >>       by my.postfix-server.org (Postfix) with ESMTPS   <<< no Queue ID
          >>
          >> Where is the Postfix queue ID?
          >
          > It's logged by the second smtpd, since the first smtpd using
          > smtpd_proxy_filter doesn't issue an queueid

          Can this be changed?

          --
          Chris
        • Ralf Hildebrandt
          ... Not without getting rid of smtpd_proxy_filter -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus
          Message 4 of 9 , Mar 2, 2012
          • 0 Attachment
            * Chris <xchris89x@...>:
            > 2012/3/2 Ralf Hildebrandt <Ralf.Hildebrandt@...>:
            > > * Chris <xchris89x@...>:
            > >> Hello Postfix Users :)
            > >>
            > >> I am using Postfix with amavisd.
            > >>
            > >> Received: from mail-wi0-f174.google.com (mail-wi0-f174.google.com
            > >> [209.85.212.174])
            > >>       by my.postfix-server.org (Postfix) with ESMTPS   <<< no Queue ID
            > >>
            > >> Where is the Postfix queue ID?
            > >
            > > It's logged by the second smtpd, since the first smtpd using
            > > smtpd_proxy_filter doesn't issue an queueid
            >
            > Can this be changed?

            Not without getting rid of smtpd_proxy_filter

            --
            Ralf Hildebrandt
            Geschäftsbereich IT | Abteilung Netzwerk
            Charité - Universitätsmedizin Berlin
            Campus Benjamin Franklin
            Hindenburgdamm 30 | D-12203 Berlin
            Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
            ralf.hildebrandt@... | http://www.charite.de
          • Chris
            ... Can I reject mails without smtpd_proxy_filter? -- Chris
            Message 5 of 9 , Mar 2, 2012
            • 0 Attachment
              2012/3/2 Ralf Hildebrandt <Ralf.Hildebrandt@...>:
              > * Chris <xchris89x@...>:
              >> 2012/3/2 Ralf Hildebrandt <Ralf.Hildebrandt@...>:
              >> > * Chris <xchris89x@...>:
              >> >> Hello Postfix Users :)
              >> >>
              >> >> I am using Postfix with amavisd.
              >> >>
              >> >> Received: from mail-wi0-f174.google.com (mail-wi0-f174.google.com
              >> >> [209.85.212.174])
              >> >>       by my.postfix-server.org (Postfix) with ESMTPS   <<< no Queue ID
              >> >>
              >> >> Where is the Postfix queue ID?
              >> >
              >> > It's logged by the second smtpd, since the first smtpd using
              >> > smtpd_proxy_filter doesn't issue an queueid
              >>
              >> Can this be changed?
              >
              > Not without getting rid of smtpd_proxy_filter

              Can I reject mails without smtpd_proxy_filter?

              --
              Chris
            • Ralf Hildebrandt
              ... No. -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 |
              Message 6 of 9 , Mar 2, 2012
              • 0 Attachment
                * Chris <xchris89x@...>:
                > 2012/3/2 Ralf Hildebrandt <Ralf.Hildebrandt@...>:
                > > * Chris <xchris89x@...>:
                > >> 2012/3/2 Ralf Hildebrandt <Ralf.Hildebrandt@...>:
                > >> > * Chris <xchris89x@...>:
                > >> >> Hello Postfix Users :)
                > >> >>
                > >> >> I am using Postfix with amavisd.
                > >> >>
                > >> >> Received: from mail-wi0-f174.google.com (mail-wi0-f174.google.com
                > >> >> [209.85.212.174])
                > >> >>       by my.postfix-server.org (Postfix) with ESMTPS   <<< no Queue ID
                > >> >>
                > >> >> Where is the Postfix queue ID?
                > >> >
                > >> > It's logged by the second smtpd, since the first smtpd using
                > >> > smtpd_proxy_filter doesn't issue an queueid
                > >>
                > >> Can this be changed?
                > >
                > > Not without getting rid of smtpd_proxy_filter
                >
                > Can I reject mails without smtpd_proxy_filter?

                No.

                --
                Ralf Hildebrandt
                Geschäftsbereich IT | Abteilung Netzwerk
                Charité - Universitätsmedizin Berlin
                Campus Benjamin Franklin
                Hindenburgdamm 30 | D-12203 Berlin
                Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
                ralf.hildebrandt@... | http://www.charite.de
              • /dev/rob0
                ... At this point you will do better if you back up and describe the problem you re trying to solve. Where/why do you need the queue ID displayed? --
                Message 7 of 9 , Mar 2, 2012
                • 0 Attachment
                  On Fri, Mar 02, 2012 at 05:32:18PM +0100, Chris wrote:
                  > 2012/3/2 Ralf Hildebrandt <Ralf.Hildebrandt@...>:
                  > > * Chris <xchris89x@...>:
                  > >> 2012/3/2 Ralf Hildebrandt <Ralf.Hildebrandt@...>:
                  > >> > * Chris <xchris89x@...>:
                  > >> >> I am using Postfix with amavisd.
                  > >> >>
                  > >> >> Received: from mail-wi0-f174.google.com
                  > >> >> (mail-wi0-f174.google.com [209.85.212.174])
                  > >> >>       by my.postfix-server.org (Postfix) with ESMTPS   <<< no Queue ID
                  > >> >>
                  > >> >> Where is the Postfix queue ID?
                  > >> >
                  > >> > It's logged by the second smtpd, since the first smtpd
                  > >> > using smtpd_proxy_filter doesn't issue an queueid
                  > >>
                  > >> Can this be changed?
                  > >
                  > > Not without getting rid of smtpd_proxy_filter
                  >
                  > Can I reject mails without smtpd_proxy_filter?

                  At this point you will do better if you back up and describe the
                  problem you're trying to solve. Where/why do you need the queue ID
                  displayed?
                  --
                  http://rob0.nodns4.us/ -- system administration and consulting
                  Offlist GMX mail is seen only if "/dev/rob0" is in the Subject:
                • Chris
                  ... For diagnostic reasons. -- Chris
                  Message 8 of 9 , Mar 2, 2012
                  • 0 Attachment
                    2012/3/2 /dev/rob0 <rob0@...>:
                    > On Fri, Mar 02, 2012 at 05:32:18PM +0100, Chris wrote:
                    >> 2012/3/2 Ralf Hildebrandt <Ralf.Hildebrandt@...>:
                    >> > * Chris <xchris89x@...>:
                    >> >> 2012/3/2 Ralf Hildebrandt <Ralf.Hildebrandt@...>:
                    >> >> > * Chris <xchris89x@...>:
                    >> >> >> I am using Postfix with amavisd.
                    >> >> >>
                    >> >> >> Received: from mail-wi0-f174.google.com
                    >> >> >> (mail-wi0-f174.google.com [209.85.212.174])
                    >> >> >>       by my.postfix-server.org (Postfix) with ESMTPS   <<< no Queue ID
                    >> >> >>
                    >> >> >> Where is the Postfix queue ID?
                    >> >> >
                    >> >> > It's logged by the second smtpd, since the first smtpd
                    >> >> > using smtpd_proxy_filter doesn't issue an queueid
                    >> >>
                    >> >> Can this be changed?
                    >> >
                    >> > Not without getting rid of smtpd_proxy_filter
                    >>
                    >> Can I reject mails without smtpd_proxy_filter?
                    >
                    > At this point you will do better if you back up and describe the
                    > problem you're trying to solve. Where/why do you need the queue ID
                    > displayed?

                    For diagnostic reasons.

                    --
                    Chris
                  • James Day
                    ... You could try implementing amavis using the content_filter parameter (after queue content filter). Instead of smtpd_proxy_filter (before queue content
                    Message 9 of 9 , Mar 2, 2012
                    • 0 Attachment
                      > -----Original Message-----
                      > From: owner-postfix-users@... [mailto:owner-postfix-
                      > users@...] On Behalf Of Chris
                      > Sent: 02 March 2012 16:55
                      > To: postfix-users@...
                      > Subject: Re: Queue ID with amavisd
                      >
                      > 2012/3/2 /dev/rob0 <rob0@...>:
                      > > On Fri, Mar 02, 2012 at 05:32:18PM +0100, Chris wrote:
                      > >> 2012/3/2 Ralf Hildebrandt <Ralf.Hildebrandt@...>:
                      > >> > * Chris <xchris89x@...>:
                      > >> >> 2012/3/2 Ralf Hildebrandt <Ralf.Hildebrandt@...>:
                      > >> >> > * Chris <xchris89x@...>:
                      > >> >> >> I am using Postfix with amavisd.
                      > >> >> >>
                      > >> >> >> Received: from mail-wi0-f174.google.com
                      > >> >> >> (mail-wi0-f174.google.com [209.85.212.174])
                      > >> >> >>       by my.postfix-server.org (Postfix) with ESMTPS   <<< no
                      > >> >> >> Queue ID
                      > >> >> >>
                      > >> >> >> Where is the Postfix queue ID?
                      > >> >> >
                      > >> >> > It's logged by the second smtpd, since the first smtpd using
                      > >> >> > smtpd_proxy_filter doesn't issue an queueid
                      > >> >>
                      > >> >> Can this be changed?
                      > >> >
                      > >> > Not without getting rid of smtpd_proxy_filter
                      > >>
                      > >> Can I reject mails without smtpd_proxy_filter?
                      > >
                      > > At this point you will do better if you back up and describe the
                      > > problem you're trying to solve. Where/why do you need the queue ID
                      > > displayed?
                      >
                      > For diagnostic reasons.
                      >
                      > --
                      > Chris

                      You could try implementing amavis using the content_filter parameter (after queue content filter). Instead of smtpd_proxy_filter (before queue content filter)

                      Kind regards,

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