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

    Postfix - antispam and relay package

    Scheduled Pinned Locked Moved pfSense Packages
    855 Posts 136 Posters 1.1m 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.
    • E
      expert_az
      last edited by

      i get this output ,is this normal?

      Fetching http://e-sac.siteseguro.ws/packages/amd64/8/All/p5-perl-ldap-0.4300.tbz… Done.
      pkg_add: the package info for package 'postfix-2.8.7,1' is corrupt
      pkg_add: the package info for package 'postfix-2.8.7,1' is corrupt
      Fetching http://e-sac.siteseguro.ws/packages/amd64/8/All/p5-XML-NamespaceSupport-1.11.tbz... Done.
      pkg_add: the package info for package 'postfix-2.8.7,1' is corrupt
      pkg_add: the package info for package 'postfix-2.8.7,1' is corrupt
      Fetching http://e-sac.siteseguro.ws/packages/amd64/8/All/p5-XML-SAX-0.96.tbz... Done.
      pkg_add: the package info for package 'postfix-2.8.7,1' is corrupt
      pkg_add: the package info for package 'postfix-2.8.7,1' is corrupt
      pkg_add: the package info for package 'postfix-2.8.7,1' is corrupt
      Fetching http://e-sac.siteseguro.ws/packages/amd64/8/All/p5-XML-Filter-BufferText-1.01.tbz... Done.
      pkg_add: the package info for package 'postfix-2.8.7,1' is corrupt
      pkg_add: the package info for package 'postfix-2.8.7,1' is corrupt
      pkg_add: the package info for package 'postfix-2.8.7,1' is corrupt
      Fetching http://e-sac.siteseguro.ws/packages/amd64/8/All/p5-XML-SAX-Writer-0.53.tbz... Done.
      pkg_add: the package info for package 'postfix-2.8.7,1' is corrupt
      pkg_add: the package info for package 'postfix-2.8.7,1' is corrupt
      pkg_add: the package info for package 'postfix-2.8.7,1' is corrupt
      Fetching http://e-sac.siteseguro.ws/packages/amd64/8/All/p5-GSSAPI-0.28.tbz... Done.
      pkg_add: the package info for package 'postfix-2.8.7,1' is corrupt
      pkg_add: the package info for package 'postfix-2.8.7,1' is corrupt
      pkg_add: the package info for package 'postfix-2.8.7,1' is corrupt
      Fetching http://e-sac.siteseguro.ws/packages/amd64/8/All/p5-Net-SSLeay-1.42.tbz... Done.
      pkg_add: the package info for package 'postfix-2.8.7,1' is corrupt
      pkg_add: the package info for package 'postfix-2.8.7,1' is corrupt
      pkg_add: the package info for package 'postfix-2.8.7,1' is corrupt
      Fetching http://e-sac.siteseguro.ws/packages/amd64/8/All/p5-IO-Socket-SSL-1.53.tbz... Done.
      pkg_add: the package info for package 'postfix-2.8.7,1' is corrupt
      pkg_add: the package info for package 'postfix-2.8.7,1' is corrupt
      pkg_add: the package info for package 'postfix-2.8.7,1' is corrupt
      Fetching http://e-sac.siteseguro.ws/packages/amd64/8/All/p5-URI-1.59.tbz... Done.
      pkg_add: the package info for package 'postfix-2.8.7,1' is corrupt
      pkg_add: the package info for package 'postfix-2.8.7,1' is corrupt
      pkg_add: the package info for package 'postfix-2.8.7,1' is corrupt
      Fetching http://e-sac.siteseguro.ws/packages/amd64/8/All/p5-Digest-HMAC-1.03.tbz... Done.
      pkg_add: the package info for package 'postfix-2.8.7,1' is corrupt
      pkg_add: the package info for package 'postfix-2.8.7,1' is corrupt
      pkg_add: the package info for package 'postfix-2.8.7,1' is corrupt
      Fetching http://e-sac.siteseguro.ws/packages/amd64/8/All/p5-Authen-SASL-2.15.tbz... Done.
      pkg_add: the package info for package 'postfix-2.8.7,1' is corrupt
      pkg_add: the package info for package 'postfix-2.8.7,1' is corrupt
      pkg_add: the package info for package 'postfix-2.8.7,1' is corrupt
      Fetching http://e-sac.siteseguro.ws/packages/amd64/8/All/p5-Convert-ASN1-0.22.tbz... Done.
      pkg_add: the package info for package 'postfix-2.8.7,1' is corrupt
      pkg_add: the package info for package 'postfix-2.8.7,1' is corrupt

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

        are you on amd64 or i386?

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

        Help a community developer! ;D

        1 Reply Last reply Reply Quote 0
        • E
          expert_az
          last edited by

          2.0.1-RELEASE (amd64)
          built on Mon Dec 12 18:43:51 EST 2011
          FreeBSD 8.1-RELEASE-p6

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

            I've never seen this error during package install.

            check if pkg_info return two postfix installs or something.

            EDIT:

            Let me know if this feature works with zimbra ldap.
            It's written for Active directory ldap search.

            att,
            Marcello Coutinho

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

            Help a community developer! ;D

            1 Reply Last reply Reply Quote 0
            • E
              expert_az
              last edited by

              by the way i can't see postfix package describtion propoerly,see attached screeshot

              bsdinstaller-2.0.2011.0913 BSD Installer mega-package
              cyrus-sasl-2.1.25_1 RFC 2222 SASL (Simple Authentication and Security Layer)
              daq-0.6.2          Data Acquisition abstraction library for snort 2.9+
              gettext-0.18.1.1    GNU gettext package
              libdnet-1.11_3      A simple interface to low level networking routines
              libiconv-1.13.1_1  A character set conversion library
              libnet11-1.1.2.1_3,1 A C library for creating IP packets
              libpcap-1.1.1_1    Ubiquitous network traffic capture library
              libspf2-1.2.9_1    Sender Rewriting Scheme 2 C Implementation
              mysql-client-5.1.53 Multithreaded SQL database (client)
              p5-Authen-SASL-2.15 Perl5 module for SASL authentication
              p5-Convert-ASN1-0.22 Perl5 module to encode and decode ASN.1 data structures
              p5-Digest-HMAC-1.03 Perl5 interface to HMAC Message-Digest Algorithms
              p5-GSSAPI-0.28      Perl extension providing access to the GSSAPIv2 library
              p5-IO-Socket-SSL-1.53 Perl5 interface to SSL sockets
              p5-Net-SSLeay-1.42  Perl5 interface to SSL
              p5-URI-1.59        Perl5 interface to Uniform Resource Identifier (URI) refere
              p5-XML-Filter-BufferText-1.01 Filter to put all characters() in one event
              p5-XML-NamespaceSupport-1.11 A simple generic namespace support class
              p5-XML-SAX-0.96    Simple API for XML
              p5-XML-SAX-Writer-0.53 SAX2 XML Writer
              p5-perl-ldap-0.4300 A Client interface to LDAP (includes Net::LDAP)
              pcre-8.21_1        Perl Compatible Regular Expressions library
              perl-5.12.4_3      Practical Extraction and Report Language
              perl-threaded-5.10.1_3 Practical Extraction and Report Language
              pkg_info: the package info for package 'postfix-2.8.7,1' is corrupt
              snort-2.9.0.5      Lightweight network intrusion detection system

              postfix_status.JPG
              postfix_status.JPG_thumb

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

                That's the corrupt info you see on pkg_add.

                if you want to try, this is the cmd to force postfix package reinstall

                pkg_add -rf http://files.pfsense.org/packages/amd64/8/All/postfix-2.8.7%2c1.tbz

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

                Help a community developer! ;D

                1 Reply Last reply Reply Quote 0
                • E
                  expert_az
                  last edited by

                  thank you marcelloc,
                  i will try it after operational hours.

                  1 Reply Last reply Reply Quote 0
                  • E
                    expert_az
                    last edited by

                    but it seems perl ldap installed?am i right?

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

                      @expert_az:

                      but it seems perl ldap installed?am i right?

                      yes.

                      p5-perl-ldap-0.4300 A Client interface to LDAP (includes Net::LDAP)

                      I saw you have two perl versions installed
                      perl-5.12.4_3      Practical Extraction and Report Language
                      perl-threaded-5.10.1_3 Practical Extraction and Report Language

                      If you have missing modules messages on this function, you will need to force a perl version on first line of the script.

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

                      Help a community developer! ;D

                      1 Reply Last reply Reply Quote 0
                      • Z
                        zlyzwy
                        last edited by

                        Hi,

                        I received the following error in Search mail.
                        Message:Status: hold
                        Log type:NOQUEUE

                        
                        Warning: sqlite_query(): no such column: mail_status.info in /usr/local/www/postfix.php on line 599 Warning: sqlite_fetch_array() expects parameter 1 to be resource, boolean given in /usr/local/www/postfix.php on line 603 Warning: sqlite_fetch_array() expects parameter 1 to be resource, boolean given in /usr/local/www/postfix.php on line 603 Warning: sqlite_fetch_array() expects parameter 1 to be resource, boolean given in /usr/local/www/postfix.php on line 603 Warning: sqlite_fetch_array() expects parameter 1 to be resource, boolean given in /usr/local/www/postfix.php on line 603 Warning: sqlite_fetch_array() expects parameter 1 to be resource, boolean given in /usr/local/www/postfix.php on line 603 Warning: sqlite_fetch_array() expects parameter 1 to be resource, boolean given in /usr/local/www/postfix.php on line 603 Warning: sqlite_fetch_array() expects parameter 1 to be resource, boolean given in /usr/local/www/postfix.php on line 603 Warning: sqlite_fetch_array() expects parameter 1 to be resource, boolean given in /usr/local/www/postfix.php on line 603 Warning: sqlite_fetch_array() expects parameter 1 to be resource, boolean given in /usr/local/www/postfix.php on line 603 Warning: sqlite_fetch_array() expects parameter 1 to be resource, boolean given in /usr/local/www/postfix.php on line 603 Warning: sqlite_fetch_array() expects parameter 1 to be resource, boolean given in /usr/local/www/postfix.php on line 603 Warning: sqlite_fetch_array() expects parameter 1 to be resource, boolean given in /usr/local/www/postfix.php on line 603 Warning: sqlite_fetch_array() expects parameter 1 to be resource, boolean given in /usr/local/www/postfix.php on line 603 Warning: sqlite_fetch_array() expects parameter 1 to be resource, boolean given in /usr/local/www/postfix.php on line 603 Warning: sqlite_fetch_array() expects parameter 1 to be resource, boolean given in /usr/local/www/postfix.php on line 603 Warning: sqlite_fetch_array() expects parameter 1 to be resource, boolean given in /usr/local/www/postfix.php on line 603 Warning: sqlite_fetch_array() expects parameter 1 to be resource, boolean given in /usr/local/www/postfix.php on line 603 Warning: sqlite_fetch_array() expects parameter 1 to be resource, boolean given in /usr/local/www/postfix.php on line 603 Warning: sqlite_fetch_array() expects parameter 1 to be resource, boolean given in /usr/local/www/postfix.php on line 603 Warning: sqlite_fetch_array() expects parameter 1 to be resource, boolean given in /usr/local/www/postfix.php on line 603 Warning: sqlite_fetch_array() expects parameter 1 to be resource, boolean given in /usr/local/www/postfix.php on line 603 Warning: sqlite_fetch_array() expects parameter 1 to be resource, boolean given in /usr/local/www/postfix.php on line 603 Warning: sqlite_fetch_array() expects parameter 1 to be resource, boolean given in /usr/local/www/postfix.php on line 603 Warning: sqlite_fetch_array() expects parameter 1 to be resource, boolean given in /usr/local/www/postfix.php on line 603 Warning: sqlite_fetch_array() expects parameter 1 to be resource, boolean given in /usr/local/www/postfix.php on line 603 Warning: sqlite_fetch_array() expects parameter 1 to be resource, boolean given in /usr/local/www/postfix.php on line 603 Warning: sqlite_fetch_array() expects parameter 1 to be resource, boolean given in /usr/local/www/postfix.php on line 603 Warning: sqlite_fetch_array() expects parameter 1 to be resource, boolean given in /usr/local/www/postfix.php on line 603 Warning: sqlite_fetch_array() expects parameter 1 to be resource, boolean given in /usr/local/www/postfix.php on line 603 Warning: sqlite_fetch_array() expects parameter 1 to be resource, boolean given in /usr/local/www/postfix.php on line 603 Warning: sqlite_fetch_array() expects parameter 1 to be resource, boolean given in /usr/local/www/postfix.php on line 603 Warning: sqlite_fetch_array() expects parameter 1 to be resource, boolean given in /usr/local/www/postfix.php on line 603 Warning: sqlite_fetch_array() expects parameter 1 to be resource, boolean given in /usr/local/www/postfix.php on line 603 Warning: sqlite_fetch_array() expects parameter 1 to be resource, boolean given in /usr/local/www/postfix.php on line 603 Warning: sqlite_fetch_array() expects parameter 1 to be resource, boolean given in /usr/local/www/postfix.php on line 603 Warning: sqlite_fetch_array() expects parameter 1 to be resource, boolean given in /usr/local/www/postfix.php on line 603 Warning: sqlite_fetch_array() expects parameter 1 to be resource, boolean given in /usr/local/www/postfix.php on line 603 Warning: sqlite_fetch_array() expects parameter 1 to be resource, boolean given in /usr/local/www/postfix.php on line 603 Warning: sqlite_fetch_array() expects parameter 1 to be resource, boolean given in /usr/local/www/postfix.php on line 603 Warning: sqlite_fetch_array() expects parameter 1 to be resource, boolean given in /usr/local/www/postfix.php on line 603 Warning: sqlite_fetch_array() expects parameter 1 to be resource, boolean given in /usr/local/www/postfix.php on line 603 Warning: sqlite_fetch_array() expects parameter 1 to be resource, boolean given in /usr/local/www/postfix.php on line 603 Warning: sqlite_fetch_array() expects parameter 1 to be resource, boolean given in /usr/local/www/postfix.php on line 603 Warning: sqlite_fetch_array() expects parameter 1 to be resource, boolean given in /usr/local/www/postfix.php on line 603 Warning: sqlite_fetch_array() expects parameter 1 to be resource, boolean given in /usr/local/www/postfix.php on line 603 Warning: sqlite_fetch_array() expects parameter 1 to be resource, boolean given in /usr/local/www/postfix.php on line 603 Warning: sqlite_fetch_array() expects parameter 1 to be resource, boolean given in /usr/local/www/postfix.php on line 603 Warning: sqlite_fetch_array() expects parameter 1 to be resource, boolean given in /usr/local/www/postfix.php on line 603 Warning: sqlite_fetch_array() expects parameter 1 to be resource, boolean given in /usr/local/www/postfix.php on line 603 Warning: sqlite_fetch_array() expects parameter 1 to be resource, boolean given in /usr/local/www/postfix.php on line 603
                        

                        Any idea how this will happen?

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

                          zlyzwy,

                          I'll try to include this check on next release.

                          NOQUEUE logs only messages that was rejected duing header receive, so it will not have hold status.

                          att,
                          Marcello Coutinho

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

                          Help a community developer! ;D

                          1 Reply Last reply Reply Quote 0
                          • S
                            Sensible
                            last edited by

                            Hi,

                            at first thank you for this postfix-package!

                            I updated the postfix-package from v.2.3.3_1  to v.2.3.4.
                            After update each client could only sent to email-domains which was included in the "Domains to Forward". No mails to other domains  was possibility. The error-message is 571 Relay denied.
                            I looked in the main.cf and found the different to the v.2.3.3_1:
                            v.2.3.3_1
                            smtpd_client_restrictions = check_client_access pcre:/usr/local/etc/postfix/cal_pcre,
                                                            check_client_access cidr:/usr/local/etc/postfix/cal_cidr,
                                                            permit

                            v.2.3.4
                            smtpd_client_restrictions = reject_unauth_destination,
                                                            check_sender_access hash:/usr/local/etc/postfix/sender_access,
                                                            check_client_access pcre:/usr/local/etc/postfix/cal_pcre,
                                                            check_client_access cidr:/usr/local/etc/postfix/cal_cidr
                                                            permit

                            After i added permit_mynetworks to smtpd_client_restrictions and restarted postfix on the commandline our clients could send Mails again.

                            Is this a bug in the v.2.3.4 or a feature, or forgot i to enter something in a new web-field? I yet added in "Access-List -> Client Access List -> MyNetworks 192.168.0.0/16 in the v.2.3.3-1, is there now a addional field in the webinterface to insert this to? I can't found any new fields.

                            To edit some  fields with the webinterface and not lose the change for smtpd_client_restrictions, i added  permit_my_networks in the /usr/local/pkg/postfix.inc

                            smtpd_client_restrictions = permit_mynetworks, reject_unauth_destination,
                                                            check_sender_access hash:/usr/local/etc/postfix/sender_access,
                                                            check_client_access pcre:/usr/local/etc/postfix/cal_pcre,
                                                            check_client_access cidr:/usr/local/etc/postfix/cal_cidr
                                                            RBLRBLRBL
                            Regards
                            Gerd

                            P.S. Sorry for my bad english!

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

                              Sensible,

                              Thanks for your detailed feedback,

                              I'll check it as soon as possible.

                              att,
                              Marcello Coutinho

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

                              Help a community developer! ;D

                              1 Reply Last reply Reply Quote 0
                              • S
                                Sensible
                                last edited by

                                Hi,

                                there is an other little mistake in the postfix-Package.

                                In the tab "Recioients" is something wrong with the field "Frequency".
                                If I add 5m (for five minutes) and look in the crontab, there is the following entry:

                                *  *  *  */5  *  root  /usr/local/bin/php -q /usr/local/www/postfix_recipients.php

                                but it should be

                                */5  *  *  *  *  root  /usr/local/bin/php -q /usr/local/www/postfix_recipients.php

                                Please, can you check this too?
                                Thanks
                                Gerd

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

                                  pkg v.2.3.4_1 is out with:

                                  • fixes on schedule checks

                                  • fixes on sender_client_restrictions

                                  • include more memory checks on amd64 to avoid php memory limit errors

                                  Gerd,

                                  Check if with this version, you have a working system without open relay or missing features.

                                  att,
                                  Marcello Coutinho

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

                                  Help a community developer! ;D

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    Sensible
                                    last edited by

                                    Marcello,

                                    thanks for the new package.

                                    I have tested it, and it looks good.

                                    Gerd

                                    1 Reply Last reply Reply Quote 0
                                    • L
                                      LinuxTracker
                                      last edited by

                                      I'm preparing to move email services, from a hosting company to on site.
                                      (The MX records currently point to the hosting company.)

                                      Current config:
                                      Our pfSense+Postfix box is the LAN gateway for the mail server = x.x.1.199

                                      (The rest of LAN uses a SonicWall gateway = x.x.1.1)

                                      I have confirmed Postfix receives mail and forwards it to our email server.

                                      There will be one email server; a Win2k8 box running MailEnable = x.x.1.29

                                      I can securely relay off-site email clients through the email server - over port 587 - via the pfSense gateway.

                                      My Problem:
                                      We have users in the field, whose email clients relayed through the existing SMTP server - via Port 25.
                                      It will take time to round up those users and change their configs.

                                      Since Port 25 is pointed at the loopback, I can't figure out how to setup a Port 25 relay for them.

                                      If I bring relay traffic through the x.x.1.1 gateway; the email server gets it but is pointed at the wrong gateway to reply properly.

                                      I'm uncertain how to proceed. Can someone point me in the right direction?

                                      Thanks.

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

                                        @LinuxTracker:

                                        Since Port 25 is pointed at the loopback, I can't figure out how to setup a Port 25 relay for them.

                                        use a port forward from psense external/internal ip to loopback.
                                        I use these config to listen postfix on virtual/carp ips

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

                                        Help a community developer! ;D

                                        1 Reply Last reply Reply Quote 0
                                        • Z
                                          zlyzwy
                                          last edited by

                                          Hi Marcelloc,

                                          I upgraded the pkg to latest version, then I tried to reboot the system.

                                          however the postfix doesn't start properly.

                                          Here is the system log output about postfix.

                                          May 16 23:33:18	php: : The command '/usr/local/etc/rc.d/postfix.sh stop' returned exit code '1', the output was ''
                                          May 16 23:33:18	postfix/postfix-script[9984]: fatal: the Postfix mail system is not running
                                          May 16 23:33:18	php: : Stopping postfix
                                          May 16 23:33:17	php: : Writing rc_file
                                          May 16 23:33:15	php: : Writing out configuration
                                          May 16 23:33:15	php: : The command '/usr/local/sbin/postfix reload' returned exit code '1', the output was ''
                                          May 16 23:33:15	postfix/postfix-script[2109]: fatal: the Postfix mail system is not running
                                          May 16 23:33:14	syslogd: kernel boot file is /boot/kernel/kernel
                                          May 16 23:33:13	syslogd: exiting on signal 15
                                          May 16 23:33:13	check_reload_status: Syncing firewall
                                          May 16 23:33:11	php: : The command '/usr/local/etc/rc.d/postfix.sh stop' returned exit code '1', the output was ''
                                          May 16 23:33:11	postfix/postfix-script[42209]: fatal: the Postfix mail system is not running
                                          May 16 23:33:11	php: : Stopping postfix
                                          May 16 23:33:10	php: : Writing rc_file
                                          May 16 23:33:08	php: : Writing out configuration
                                          May 16 23:33:08	php: : The command '/usr/local/sbin/postfix reload' returned exit code '1', the output was ''
                                          May 16 23:33:08	postfix/postfix-script[39471]: fatal: the Postfix mail system is not running
                                          May 16 23:33:08	syslogd: kernel boot file is /boot/kernel/kernel
                                          May 16 23:33:08	syslogd: exiting on signal 15
                                          May 16 23:33:08	check_reload_status: Syncing firewall
                                          May 16 23:33:05	php: : The command '/usr/local/etc/rc.d/postfix.sh stop' returned exit code '1', the output was ''
                                          May 16 23:33:05	postfix/postfix-script[32222]: fatal: the Postfix mail system is not running
                                          May 16 23:33:05	php: : Stopping postfix
                                          May 16 23:33:04	php: : Writing rc_file
                                          May 16 23:33:02	php: : Writing out configuration
                                          May 16 23:33:02	php: : The command '/usr/local/sbin/postfix reload' returned exit code '1', the output was ''
                                          May 16 23:33:02	postfix/postfix-script[28641]: fatal: the Postfix mail system is not running
                                          May 16 23:33:02	syslogd: kernel boot file is /boot/kernel/kernel
                                          May 16 23:33:02	syslogd: exiting on signal 15
                                          May 16 23:33:01	check_reload_status: Syncing firewall
                                          May 16 23:32:59	php: : The command '/usr/local/etc/rc.d/postfix.sh stop' returned exit code '1', the output was ''
                                          May 16 23:32:59	postfix/postfix-script[19574]: fatal: the Postfix mail system is not running
                                          May 16 23:32:59	php: : Stopping postfix
                                          May 16 23:32:58	php: : Writing rc_file
                                          May 16 23:32:56	php: : Writing out configuration
                                          May 16 23:32:56	php: : The command '/usr/local/sbin/postfix reload' returned exit code '1', the output was ''
                                          May 16 23:32:56	postfix/postfix-script[10197]: fatal: the Postfix mail system is not running
                                          May 16 23:32:56	syslogd: kernel boot file is /boot/kernel/kernel
                                          May 16 23:32:55	syslogd: exiting on signal 15
                                          May 16 23:32:55	check_reload_status: Syncing firewall
                                          May 16 23:32:52	php: : The command '/usr/local/etc/rc.d/postfix.sh stop' returned exit code '1', the output was ''
                                          May 16 23:32:52	postfix/postfix-script[59889]: fatal: the Postfix mail system is not running
                                          May 16 23:32:52	php: : Stopping postfix
                                          May 16 23:32:50	php: : Writing rc_file
                                          May 16 23:32:48	php: : Writing out configuration
                                          May 16 23:32:48	php: : The command '/usr/local/sbin/postfix reload' returned exit code '1', the output was ''
                                          May 16 23:32:48	postfix/postfix-script[45738]: fatal: the Postfix mail system is not running
                                          May 16 23:32:46	syslogd: kernel boot file is /boot/kernel/kernel
                                          May 16 23:32:45	syslogd: exiting on signal 15
                                          May 16 23:32:44	check_reload_status: Syncing firewall
                                          May 16 23:32:38	php: : The command '/usr/local/etc/rc.d/postfix.sh stop' returned exit code '1', the output was ''
                                          May 16 23:32:38	postfix/postfix-script[24906]: fatal: the Postfix mail system is not running
                                          May 16 23:32:37	php: : Stopping postfix
                                          May 16 23:32:36	php: : Writing rc_file
                                          May 16 23:32:33	php: : Writing out configuration
                                          May 16 23:32:32	php: : The command '/usr/local/sbin/postfix reload' returned exit code '1', the output was ''
                                          May 16 23:32:32	postfix/postfix-script[11313]: fatal: the Postfix mail system is not running
                                          May 16 23:32:31	syslogd: kernel boot file is /boot/kernel/kernel
                                          May 16 23:32:30	syslogd: exiting on signal 15
                                          May 16 23:32:28	check_reload_status: Syncing firewall
                                          May 16 23:31:44	php: : The command '/usr/local/etc/rc.d/mailscanner stop' returned exit code '1', the output was 'mailscanner not running? (check /var/run/MailScanner.pid).'
                                          May 16 23:31:43	php: : Reload mailscanner
                                          May 16 23:31:42	root: /usr/local/etc/rc.d/clamav-clamd: WARNING: failed to start clamav_clamd
                                          May 16 23:31:39	check_reload_status: Reloading filter
                                          May 16 23:31:38	sshlockout[28940]: sshlockout/webConfigurator v3.0 starting up
                                          May 16 23:31:37	check_reload_status: Syncing firewall
                                          May 16 23:31:37	login: login on ttyv0 as root
                                          May 16 23:31:37	php: : IPSEC: One or more IPsec tunnel endpoints has changed its IP. Refreshing.
                                          May 16 23:31:36	kernel: VMware memory control driver initialized
                                          May 16 23:31:32	php: : The command '/usr/local/etc/rc.d/postfix.sh stop' returned exit code '1', the output was ''
                                          May 16 23:31:32	postfix/postfix-script[16854]: fatal: the Postfix mail system is not running
                                          May 16 23:31:32	php: : Stopping postfix
                                          May 16 23:31:31	php: : Writing rc_file
                                          May 16 23:31:29	php: : Writing out configuration
                                          May 16 23:31:29	php: : The command '/usr/local/sbin/postfix reload' returned exit code '1', the output was ''
                                          May 16 23:31:29	postfix/postfix-script[13014]: fatal: the Postfix mail system is not running
                                          May 16 23:31:29	syslogd: kernel boot file is /boot/kernel/kernel
                                          May 16 23:31:29	syslogd: exiting on signal 15
                                          May 16 23:31:27	php: : The command '/usr/local/etc/rc.d/postfix.sh stop' returned exit code '1', the output was ''
                                          May 16 23:31:27	postfix/postfix-script[6934]: fatal: the Postfix mail system is not running
                                          May 16 23:31:27	php: : Stopping postfix
                                          May 16 23:31:27	php: : The command '/usr/local/etc/rc.d/mailscanner stop' returned exit code '1', the output was 'mailscanner not running? (check /var/run/MailScanner.pid).'
                                          May 16 23:31:26	php: : Writing rc_file
                                          May 16 23:31:26	php: : Reload mailscanner
                                          May 16 23:31:25	root: /usr/local/etc/rc.d/clamav-clamd: WARNING: failed to start clamav_clamd
                                          May 16 23:31:24	php: : Writing out configuration
                                          May 16 23:31:24	php: : The command '/usr/local/sbin/postfix reload' returned exit code '1', the output was ''
                                          May 16 23:31:24	postfix/postfix-script[61012]: fatal: the Postfix mail system is not running
                                          May 16 23:31:23	syslogd: kernel boot file is /boot/kernel/kernel
                                          May 16 23:31:23	syslogd: exiting on signal 15
                                          May 16 23:31:23	check_reload_status: Syncing firewall
                                          May 16 23:31:22	check_reload_status: Syncing firewall
                                          May 16 23:31:17	php: : The command '/usr/local/etc/rc.d/postfix.sh stop' returned exit code '1', the output was ''
                                          May 16 23:31:17	postfix/postfix-script[53921]: fatal: the Postfix mail system is not running
                                          May 16 23:31:17	php: : Stopping postfix
                                          May 16 23:31:16	php: : Writing rc_file
                                          May 16 23:31:15	php: : The command '/usr/local/etc/rc.d/mailscanner stop' returned exit code '1', the output was 'mailscanner not running? (check /var/run/MailScanner.pid).'
                                          May 16 23:31:14	php: : Writing out configuration
                                          May 16 23:31:14	php: : The command '/usr/local/sbin/postfix reload' returned exit code '1', the output was ''
                                          May 16 23:31:14	postfix/postfix-script[44179]: fatal: the Postfix mail system is not running
                                          May 16 23:31:13	php: : Reload mailscanner
                                          May 16 23:31:13	root: /usr/local/etc/rc.d/clamav-clamd: WARNING: failed to start clamav_clamd
                                          May 16 23:31:12	syslogd: kernel boot file is /boot/kernel/kernel
                                          May 16 23:31:08	syslogd: exiting on signal 15
                                          May 16 23:31:07	check_reload_status: Syncing firewall
                                          May 16 23:31:06	check_reload_status: Syncing firewall
                                          May 16 23:31:03	php: : The command '/usr/local/etc/rc.d/postfix.sh stop' returned exit code '1', the output was ''
                                          May 16 23:31:03	postfix/postfix-script[15989]: fatal: the Postfix mail system is not running
                                          May 16 23:31:03	php: : Stopping postfix
                                          May 16 23:31:02	php: : Writing rc_file
                                          May 16 23:31:00	php: : Writing out configuration
                                          May 16 23:30:59	php: : The command '/usr/local/sbin/postfix reload' returned exit code '1', the output was ''
                                          May 16 23:30:59	postfix/postfix-script[5918]: fatal: the Postfix mail system is not running
                                          May 16 23:30:59	syslogd: kernel boot file is /boot/kernel/kernel
                                          May 16 23:30:59	syslogd: exiting on signal 15
                                          May 16 23:30:59	check_reload_status: Syncing firewall
                                          May 16 23:30:57	php: : The command '/usr/local/etc/rc.d/postfix.sh stop' returned exit code '1', the output was ''
                                          May 16 23:30:57	postfix/postfix-script[60750]: fatal: the Postfix mail system is not running
                                          May 16 23:30:57	php: : Stopping postfix
                                          May 16 23:30:56	php: : Writing rc_file
                                          May 16 23:30:54	php: : Writing out configuration
                                          May 16 23:30:54	php: : The command '/usr/local/sbin/postfix reload' returned exit code '1', the output was ''
                                          May 16 23:30:54	postfix/postfix-script[57897]: fatal: the Postfix mail system is not running
                                          May 16 23:30:54	syslogd: kernel boot file is /boot/kernel/kernel
                                          May 16 23:30:54	syslogd: exiting on signal 15
                                          May 16 23:30:53	check_reload_status: Syncing firewall
                                          May 16 23:30:49	php: : The command '/usr/local/etc/rc.d/postfix.sh stop' returned exit code '1', the output was ''
                                          May 16 23:30:49	postfix/postfix-script[39943]: fatal: the Postfix mail system is not running
                                          May 16 23:30:49	php: : Stopping postfix
                                          May 16 23:30:48	php: : Writing rc_file
                                          May 16 23:30:47	php: : Reload mailscanner
                                          May 16 23:30:45	php: : Writing out configuration
                                          May 16 23:30:45	root: /usr/local/etc/rc.d/clamav-clamd: WARNING: failed to start clamav_clamd
                                          May 16 23:30:44	php: : The command '/usr/local/sbin/postfix reload' returned exit code '1', the output was ''
                                          May 16 23:30:44	postfix/postfix-script[28765]: fatal: the Postfix mail system is not running
                                          May 16 23:30:42	syslogd: kernel boot file is /boot/kernel/kernel
                                          May 16 23:30:41	syslogd: exiting on signal 15
                                          May 16 23:30:40	check_reload_status: Syncing firewall
                                          May 16 23:30:35	check_reload_status: Syncing firewall
                                          May 16 23:30:04	php: : Reload mailscanner
                                          May 16 23:30:04	php: : The command '/usr/local/etc/rc.d/clamav-clamd stop' returned exit code '1', the output was 'mkdir: /var/run/clamav: File exists clamav_clamd not running?'
                                          May 16 23:30:02	php: : Reload mailscanner
                                          May 16 23:30:02	check_reload_status: Syncing firewall
                                          May 16 23:29:58	root: /usr/local/etc/rc.d/clamav-clamd: WARNING: failed to start clamav_clamd
                                          May 16 23:29:52	php: : Reload mailscanner
                                          May 16 23:29:51	root: /usr/local/etc/rc.d/clamav-clamd: WARNING: failed to start clamav_clamd
                                          May 16 23:29:50	check_reload_status: Syncing firewall
                                          May 16 23:29:50	check_reload_status: Syncing firewall
                                          May 16 23:29:31	php: : The command '/usr/local/etc/rc.d/mailscanner stop' returned exit code '1', the output was 'mailscanner not running? (check /var/run/MailScanner.pid).'
                                          May 16 23:29:31	php: : Reload mailscanner
                                          May 16 23:29:31	root: /usr/local/etc/rc.d/clamav-clamd: WARNING: failed to start clamav_clamd
                                          May 16 23:29:30	check_reload_status: Syncing firewall
                                          May 16 23:29:20	php: : The command '/usr/local/etc/rc.d/mailscanner stop' returned exit code '1', the output was 'mailscanner not running? (check /var/run/MailScanner.pid).'
                                          May 16 23:29:19	php: : Reload mailscanner
                                          May 16 23:29:19	php: : Reload mailscanner
                                          May 16 23:29:19	php: : The command '/usr/local/etc/rc.d/clamav-clamd stop' returned exit code '1', the output was 'mkdir: /var/run/clamav: File exists clamav_clamd not running?'
                                          May 16 23:29:17	check_reload_status: Syncing firewall
                                          May 16 23:29:15	root: /usr/local/etc/rc.d/clamav-clamd: WARNING: failed to start clamav_clamd
                                          May 16 23:29:08	php: : Reload mailscanner
                                          May 16 23:29:08	root: /usr/local/etc/rc.d/clamav-clamd: WARNING: failed to start clamav_clamd
                                          May 16 23:29:04	check_reload_status: Syncing firewall
                                          May 16 23:29:03	check_reload_status: Syncing firewall
                                          May 16 23:28:42	php: : Reload mailscanner
                                          May 16 23:28:41	root: /usr/local/etc/rc.d/clamav-clamd: WARNING: failed to start clamav_clamd
                                          May 16 23:28:39	php: : The command '/usr/local/etc/rc.d/mailscanner stop' returned exit code '1', the output was 'mailscanner not running? (check /var/run/MailScanner.pid).'
                                          May 16 23:28:38	check_reload_status: Syncing firewall
                                          May 16 23:28:34	php: : Reload mailscanner
                                          May 16 23:28:32	php: : The command '/usr/local/etc/rc.d/clamav-clamd stop' returned exit code '1', the output was 'mkdir: /var/run/clamav: File exists Stopping clamav_clamd. kill: 10995: No such process'
                                          May 16 23:28:31	php: : The command '/usr/local/etc/rc.d/mailscanner stop' returned exit code '1', the output was 'mailscanner not running? (check /var/run/MailScanner.pid).'
                                          May 16 23:28:31	php: : Reload mailscanner
                                          May 16 23:28:30	root: /usr/local/etc/rc.d/clamav-clamd: WARNING: failed to start clamav_clamd
                                          May 16 23:28:28	check_reload_status: Syncing firewall
                                          May 16 23:28:22	php: : The command '/usr/local/etc/rc.d/mailscanner stop' returned exit code '1', the output was 'mailscanner not running? (check /var/run/MailScanner.pid).'
                                          May 16 23:28:22	php: : Reload mailscanner
                                          May 16 23:28:21	root: /usr/local/etc/rc.d/clamav-clamd: WARNING: failed to start clamav_clamd
                                          May 16 23:28:17	check_reload_status: Syncing firewall
                                          May 16 23:28:16	check_reload_status: Syncing firewall
                                          May 16 23:28:04	root: /usr/local/etc/rc.d/clamav-clamd: WARNING: failed to start clamav_clamd
                                          May 16 23:28:04	php: : The command '/usr/local/etc/rc.d/mailscanner stop' returned exit code '1', the output was 'mailscanner not running? (check /var/run/MailScanner.pid).'
                                          May 16 23:28:04	php: : Reload mailscanner
                                          

                                          Thanks a lot:)
                                          Zlyzwy

                                          ===============================================
                                          Update:

                                          I can go to Services –> postfix and recheck the Enable Postfix to start the postfix.
                                          It seems to be fine.

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

                                            zlyzwy,

                                            I'm not getting this error, but I'll try it on a clean install on vm.

                                            Are you using pfsense 32 or 64 bits

                                            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.