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

Advice on Debian/postscreen and optimization

Expand Messages
  • John Allen
    I am running Debian server with Postfix 2.10.0, everything seems to work quite well. My original setup was based up Jeffery Posluns, Postfix Guides with
    Message 1 of 8 , Aug 6, 2013
    • 0 Attachment
      I am running Debian server with Postfix 2.10.0, everything seems to work
      quite well.

      My original setup was based up Jeffery Posluns, "Postfix Guides" with
      later modifications taken from James Seymour's anti-UCE "cheat Sheet",
      plus reading the Postfix guides and docs on the Postfix web site. Both
      of the original guides I used are a little dated, Postfix has moved on
      since they wee written.
      Is there a more up to date guide that I could reference as I review my
      existing setup. yes I realize that the docs are the first port of call,
      but a guide might give me a better insight into the effect of option a
      over option b.

      Debian does not seem to include Postscreen.
      Where might I find it.
      Would I be better off either using a different distro or adding a
      Postfix specific source (binaries) to the existing Debian setup.

      John A
    • btb
      ... it s unlikely you ll get much endorsement here of arbitrary howtos or guides. instead, i d encourage you to simply share your config [postconf -nf;
      Message 2 of 8 , Aug 6, 2013
      • 0 Attachment
        On 2013.08.06 15.34, John Allen wrote:
        > Is there a more up to date guide that I could reference as I review my
        > existing setup.

        it's unlikely you'll get much endorsement here of arbitrary howtos or
        guides. instead, i'd encourage you to simply share your config
        [postconf -nf; postconf -Mf], and solicit a critique.

        > Debian does not seem to include Postscreen

        what gives you this impression? the 2.10 debian package i'm familiar
        with does.

        -ben
      • DTNX Postmaster
        ... As do the stock 2.9.6 packages that ship with Wheezy, and the Squeeze backports. The documentation on postfix.org should be quite adequate in terms of
        Message 3 of 8 , Aug 6, 2013
        • 0 Attachment
          On Aug 6, 2013, at 21:44, btb <btb@...> wrote:

          > On 2013.08.06 15.34, John Allen wrote:
          >> Is there a more up to date guide that I could reference as I review my
          >> existing setup.
          >
          > it's unlikely you'll get much endorsement here of arbitrary howtos or guides. instead, i'd encourage you to simply share your config [postconf -nf; postconf -Mf], and solicit a critique.
          >
          >> Debian does not seem to include Postscreen
          >
          > what gives you this impression? the 2.10 debian package i'm familiar with does.

          As do the stock 2.9.6 packages that ship with Wheezy, and the Squeeze
          backports. The documentation on postfix.org should be quite adequate in
          terms of explaining the basics;

          http://www.postfix.org/POSTSCREEN_README.html

          Mvg,
          Joni
        • John Allen
          ... Just goes to show what your preconceptions will do for you. I was looking for postscreen in the wrong place. Now all I need to do is configure it hmmmmm.
          Message 4 of 8 , Aug 6, 2013
          • 0 Attachment
            On 06/08/2013 3:44 PM, btb wrote:
            > On 2013.08.06 15.34, John Allen wrote:
            >> Is there a more up to date guide that I could reference as I review my
            >> existing setup.
            >
            > it's unlikely you'll get much endorsement here of arbitrary howtos or
            > guides. instead, i'd encourage you to simply share your config
            > [postconf -nf; postconf -Mf], and solicit a critique.
            >
            >> Debian does not seem to include Postscreen
            >
            > what gives you this impression? the 2.10 debian package i'm familiar
            > with does.
            >
            > -ben
            >
            Just goes to show what your preconceptions will do for you. I was
            looking for postscreen in the wrong place. Now all I need to do is
            configure it hmmmmm.

            Am I correct in thinking that postscreen is not a separate daemon, but a
            process running under master?

            If I use the same dnsbls that I currently have in my smtpd_*_
            restrictions, in the postscreen_dnsbl_sites, and if so do I still need
            then in the sptpd....
          • John Allen
            ... Would help if I could type /sptpd/ should be /smtpd/_...
            Message 5 of 8 , Aug 6, 2013
            • 0 Attachment

              On 06/08/2013 6:03 PM, John Allen wrote:
              On 06/08/2013 3:44 PM, btb wrote:
              On 2013.08.06 15.34, John Allen wrote:
              Is there a more up to date guide that I could reference as I review my
              existing setup.

              it's unlikely you'll get much endorsement here of arbitrary howtos or guides.  instead, i'd encourage you to simply share your config [postconf -nf; postconf -Mf], and solicit a critique.

              Debian does not seem to include Postscreen

              what gives you this impression?  the 2.10 debian package i'm familiar with does.

              -ben

              Just goes to show what your preconceptions will do for you. I was looking for postscreen in the wrong place. Now all I need to do is configure it hmmmmm.

              Am I correct in thinking that postscreen is not a separate daemon, but a process running under master?

              If I use the same dnsbls that I currently have in my smtpd_*_ restrictions, in the postscreen_dnsbl_sites, and if so do I still need then in the sptpd....


              Would help if I could type sptpd should be smtpd_...
            • LuKreme
              ... Um. not sure what you mean there. # psa postfix USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND root 32140 0.0 0.1 5812 456
              Message 6 of 8 , Aug 7, 2013
              • 0 Attachment
                On 06 Aug 2013, at 16:03 , John Allen <john@...> wrote:

                > Am I correct in thinking that postscreen is not a separate daemon, but a process running under master?

                Um. not sure what you mean there.

                # psa postfix
                USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND
                root 32140 0.0 0.1 5812 456 ?? Ss Thu08PM 0:25.54 /usr/local/libexec/postfix/master -w
                postfix 39540 0.0 0.1 5828 500 ?? S Mon07PM 0:01.40 anvil -l -t unix -u
                postfix 64832 0.0 0.1 6020 752 ?? S Fri04AM 0:08.66 qmgr -l -t fifo -u
                postfix 64842 0.0 0.2 5964 1020 ?? S Fri04AM 0:04.43 tlsmgr -l -t unix -u
                postfix 69887 0.0 0.3 6288 1324 ?? Ss 2:20PM 0:04.86 postscreen -l -n smtp -t inet -u
                postfix 86285 0.0 0.5 5836 2460 ?? S 5:20AM 0:00.04 pickup -l -t fifo -u
                postfix 87015 0.0 0.6 5940 2964 ?? S 6:13AM 0:00.08 trivial-rewrite -n rewrite -t unix -u
                postfix 87130 0.0 2.5 15180 12824 ?? S 6:16AM 0:00.46 smtpd -t pass -u -o stress=
                postfix 87224 0.0 2.5 15172 12804 ?? S 6:20AM 0:00.49 smtpd -t pass -u -o stress=
                postfix 87393 0.0 0.5 5828 2472 ?? S 6:28AM 0:00.03 dnsblog -z -t unix -u
                postfix 87394 0.0 0.5 5828 2472 ?? S 6:28AM 0:00.03 dnsblog -z -t unix -u
                postfix 87395 0.0 0.5 5828 2472 ?? S 6:28AM 0:00.03 dnsblog -z -t unix -u
                postfix 87442 0.0 0.6 6068 3084 ?? S 6:31AM 0:00.05 cleanup -z -t unix -u
                postfix 87450 0.0 0.6 6144 3148 ?? S 6:31AM 0:00.04 local -t unix
                postfix 87644 0.0 0.5 5948 2656 ?? S 6:35AM 0:00.03 proxymap -t unix -u
                postfix 87647 0.0 0.7 6144 3528 ?? S 6:36AM 0:00.06 smtp -t unix -u

                Do you consider any of these daemons or just processes running under master?

                --
                I've got Mathematica 2.2 on my Quadra
              • John Allen
                ... Yes, master starts and stops the processes as needed.
                Message 7 of 8 , Aug 7, 2013
                • 0 Attachment
                  On 07/08/2013 8:40 AM, LuKreme wrote:
                  > On 06 Aug 2013, at 16:03 , John Allen <john@...> wrote:
                  >
                  >> Am I correct in thinking that postscreen is not a separate daemon, but a process running under master?
                  > Um. not sure what you mean there.
                  >
                  > # psa postfix
                  > USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND
                  > root 32140 0.0 0.1 5812 456 ?? Ss Thu08PM 0:25.54 /usr/local/libexec/postfix/master -w
                  > postfix 39540 0.0 0.1 5828 500 ?? S Mon07PM 0:01.40 anvil -l -t unix -u
                  > postfix 64832 0.0 0.1 6020 752 ?? S Fri04AM 0:08.66 qmgr -l -t fifo -u
                  > postfix 64842 0.0 0.2 5964 1020 ?? S Fri04AM 0:04.43 tlsmgr -l -t unix -u
                  > postfix 69887 0.0 0.3 6288 1324 ?? Ss 2:20PM 0:04.86 postscreen -l -n smtp -t inet -u
                  > postfix 86285 0.0 0.5 5836 2460 ?? S 5:20AM 0:00.04 pickup -l -t fifo -u
                  > postfix 87015 0.0 0.6 5940 2964 ?? S 6:13AM 0:00.08 trivial-rewrite -n rewrite -t unix -u
                  > postfix 87130 0.0 2.5 15180 12824 ?? S 6:16AM 0:00.46 smtpd -t pass -u -o stress=
                  > postfix 87224 0.0 2.5 15172 12804 ?? S 6:20AM 0:00.49 smtpd -t pass -u -o stress=
                  > postfix 87393 0.0 0.5 5828 2472 ?? S 6:28AM 0:00.03 dnsblog -z -t unix -u
                  > postfix 87394 0.0 0.5 5828 2472 ?? S 6:28AM 0:00.03 dnsblog -z -t unix -u
                  > postfix 87395 0.0 0.5 5828 2472 ?? S 6:28AM 0:00.03 dnsblog -z -t unix -u
                  > postfix 87442 0.0 0.6 6068 3084 ?? S 6:31AM 0:00.05 cleanup -z -t unix -u
                  > postfix 87450 0.0 0.6 6144 3148 ?? S 6:31AM 0:00.04 local -t unix
                  > postfix 87644 0.0 0.5 5948 2656 ?? S 6:35AM 0:00.03 proxymap -t unix -u
                  > postfix 87647 0.0 0.7 6144 3528 ?? S 6:36AM 0:00.06 smtp -t unix -u
                  >
                  > Do you consider any of these daemons or just processes running under masterr
                  Yes, master starts and stops the processes as needed.
                • /dev/rob0
                  ... All Postfix daemons other than master(8) itself are processes which run under master. http://www.postfix.org/OVERVIEW.html
                  Message 8 of 8 , Aug 7, 2013
                  • 0 Attachment
                    On Wed, Aug 07, 2013 at 09:48:21AM -0400, John Allen wrote:
                    > On 07/08/2013 8:40 AM, LuKreme wrote:
                    > >Do you consider any of these daemons or just processes running
                    > >under masterr
                    > Yes, master starts and stops the processes as needed.

                    All Postfix daemons other than master(8) itself are processes which
                    run under master.

                    http://www.postfix.org/OVERVIEW.html
                    http://www.postfix.org/postfix-manuals.html (see section 8)
                    --
                    http://rob0.nodns4.us/ -- system administration and consulting
                    Offlist GMX mail is seen only if "/dev/rob0" is in the Subject:
                  Your message has been successfully submitted and would be delivered to recipients shortly.