Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Postfix with Carp

    Scheduled Pinned Locked Moved pfSense Packages
    33 Posts 2 Posters 7.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • marcellocM
      marcelloc
      last edited by

      If you want to donate to pfsense project,

      http://www.pfsense.org/index.php?option=com_content&task=view&id=69&Itemid=80

      If you want to donate this package maintainer  ;D my paypal account is marcellocoutinho@gmail.com

      Treinamentos de Elite: http://sys-squad.com

      Help a community developer! ;D

      1 Reply Last reply Reply Quote 0
      • M
        mschiek01
        last edited by

        Thanks for the info.

        On forcing the file version per: "you many need to apply 'force perl version' patch until I release a new version
        http://forum.pfsense.org/index.php/topic,45143.msg235361.html#msg235361"

        Which file do I need to edit the path?

        1 Reply Last reply Reply Quote 0
        • marcellocM
          marcelloc
          last edited by

          @mschiek01:

          Thanks for the info.

          On forcing the file version per: "you many need to apply 'force perl version' patch until I release a new version
          http://forum.pfsense.org/index.php/topic,45143.msg235361.html#msg235361"

          Which file do I need to edit the path?

          The first line of /usr/local/etc/postfix/adexport.pl

          The perl version should be 5.12.4.

          ls /usr/local/bin/perl*  will show all perl versions you have on your system.

          Treinamentos de Elite: http://sys-squad.com

          Help a community developer! ;D

          1 Reply Last reply Reply Quote 0
          • M
            mschiek01
            last edited by

            That fixed the error.

            Now the run from the command line shows:
            extracting from 'server name" …/usr/local/etc/postfix.pl: not found.
            There is no backup file for "server"

            1 Reply Last reply Reply Quote 0
            • marcellocM
              marcelloc
              last edited by

              The first line show be this way

              #!/usr/local/bin/perl5.12.4 -w

              Can you post the output of

              ls -l /usr/local/bin/perl5*

              Treinamentos de Elite: http://sys-squad.com

              Help a community developer! ;D

              1 Reply Last reply Reply Quote 0
              • M
                mschiek01
                last edited by

                Thanks- I had fixed the error.  I had a spelling error on the perl version in the file.

                The command seems to be working now although I am getting a error: erro while binding:The wrong password was supplied or the SASL credentials could not be processed.

                1 Reply Last reply Reply Quote 0
                • marcellocM
                  marcelloc
                  last edited by

                  Can you reset configured users password and re check Active directory info you configured?

                  Field hint
                  Hostname:
                  dc1.mysite.com

                  Domain:
                  dc=mysite,dc=com

                  Username:
                  cn=antispam,cn=Users

                  Treinamentos de Elite: http://sys-squad.com

                  Help a community developer! ;D

                  1 Reply Last reply Reply Quote 0
                  • M
                    mschiek01
                    last edited by

                    Same error.

                    I even created a new user and tried it.  Also tried administrator.

                    1 Reply Last reply Reply Quote 0
                    • marcellocM
                      marcelloc
                      last edited by

                      Just to be sure you understood user field,

                      cn=antispam,cn=Users

                      means that user antispam is in Users container

                      Treinamentos de Elite: http://sys-squad.com

                      Help a community developer! ;D

                      1 Reply Last reply Reply Quote 0
                      • M
                        mschiek01
                        last edited by

                        yes user "antispam" is in the users container on the dc.

                        Here is what I have configured.

                        first box = "server_name.domain_name.local"
                        second box = "domain.local"
                        third box = "antispam"

                        1 Reply Last reply Reply Quote 0
                        • marcellocM
                          marcelloc
                          last edited by

                          @mschiek01:

                          yes user "antispam" is in the users container on the dc.

                          Here is what I have configured.

                          first box = "server_name.domain_name.local"
                          second box = "domain.local"
                          third box = "antispam"

                          change to
                          first box = "server_name.domain_name.local"
                          second box = "cn=domain,cn=local"
                          third box = "cn=antispam,cn=Users"

                          without quotes

                          Treinamentos de Elite: http://sys-squad.com

                          Help a community developer! ;D

                          1 Reply Last reply Reply Quote 0
                          • M
                            mschiek01
                            last edited by

                            Same error.

                            Sent you a pm with the exact configuration.

                            1 Reply Last reply Reply Quote 0
                            • marcellocM
                              marcelloc
                              last edited by

                              @mschiek01:

                              Sent you a pm with the exact configuration.

                              I did not received it.

                              Received,

                              The config is right.

                              In my setup antispam user is a normal user, without admin privileges

                              If pfsense can reach your realm server, I don't undestand why it's not working.

                              I'm using Ad from windows 2003.

                              Treinamentos de Elite: http://sys-squad.com

                              Help a community developer! ;D

                              1 Reply Last reply Reply Quote 0
                              • M
                                mschiek01
                                last edited by

                                I resent.

                                1 Reply Last reply Reply Quote 0
                                • marcellocM
                                  marcelloc
                                  last edited by

                                  Last thing I can think about this is to
                                  Configure/check pfsense dns config option to your active directory ip.

                                  Treinamentos de Elite: http://sys-squad.com

                                  Help a community developer! ;D

                                  1 Reply Last reply Reply Quote 0
                                  • M
                                    mschiek01
                                    last edited by

                                    I go it :)

                                    change to
                                    first box = "server_name.domain_name.local"
                                    second box = "cn=domain,cn=local"
                                    third box = "cn=antispam,cn=Users"

                                    second box should bd "DC=domain,DC=local"

                                    1 Reply Last reply Reply Quote 0
                                    • marcellocM
                                      marcelloc
                                      last edited by

                                      Nice! sorry for the typo on that post  :)

                                      You could set update frequency to 1h if you have a huge domain with many changes.

                                      att,
                                      Marcello Coutinho

                                      Treinamentos de Elite: http://sys-squad.com

                                      Help a community developer! ;D

                                      1 Reply Last reply Reply Quote 0
                                      • First post
                                        Last post
                                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.