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

    Problem with Postfix forwarder

    Scheduled Pinned Locked Moved pfSense Packages
    13 Posts 5 Posters 3.0k 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.
    • T
      tamldt
      last edited by

      HI ALL!

      i'm newbie. i config follow this topic https://forum.pfsense.org/index.php?topic=70541.0 , but i have some problem

      Follow my config

      NAT

      Rule

      Gen tab

      ACL tab

      Domain tab

      ACL my block tam@zimbra.mail.com but his mail still sent

      i don't know, where is it false, please help me find it…! (sorry my eng is shit)

      thanks!
      RULE.PNG
      RULE.PNG_thumb

      Le Doan Thanh Tam
      ldtt.s2l@gmail.com

      1 Reply Last reply Reply Quote 0
      • T
        tamldt
        last edited by

        nobody ?

        Le Doan Thanh Tam
        ldtt.s2l@gmail.com

        1 Reply Last reply Reply Quote 0
        • F
          FlashPan
          last edited by

          As far as I am aware the ACl Sender section is to stop senders/incoming email addresses not your own internal/smtp domain addresses from going outbound.

          Am not sure how you can block certain internal/smtp domain addresses.

          If you want to stop forged emails pretending to be from your domain and coming into your mail server you would use…....

          ACL Header:

          /^(From|Return-Path):.*@zimbra.mail.com/REJECT forged sender $1: header: $2 [SN001]

          ACL Helo:

          /^zimbra.mail.com/ REJECT [HELO01]
          /^127.0.0.1/ REJECT [HELO02]

          ACL Sender:
          zimbra.mail.com REJECT

          1 Reply Last reply Reply Quote 0
          • B
            biggsy
            last edited by

            Your NAT is port forwarding traffic with a destination of "LAN net" it should be "WAN Address".

            1 Reply Last reply Reply Quote 0
            • BBcan177B
              BBcan177 Moderator
              last edited by

              Hi Tamldt,

              I don't use the Postfix forwarder package, but I do have a Zimbra Mail Server.

              In the screenshots you posted above (Domain Tab) there is a spelling mistake

              test.zibra.mail.com    looks like that should be    test.zimbra.mail.com

              Also, since you use Zimbra, you can do RBLs and Custom Header Rejections without the need for this package as Zimbra uses Postfix.

              Here are some links to review:

              http://www.zimbra.com/docs/os/8.0.3/administration_guide/wwhelp/wwhimpl/common/html/wwhelp.htm#href=8.0.3_Open_Source_admin.Anti-spam_Settings.html&single=true

              http://www.akadia.com/services/postfix_uce.html

              "Experience is something you don't get until just after you need it."

              Website: http://pfBlockerNG.com
              Twitter: @BBcan177  #pfBlockerNG
              Reddit: https://www.reddit.com/r/pfBlockerNG/new/

              1 Reply Last reply Reply Quote 0
              • T
                tamldt
                last edited by

                thansk for answer. i edit my config follow your way, but it not work. it seem postfix forwarder is not used, my config after edit.

                NAT

                RULE

                ON access list tab i config follow FlashPan.

                And i see description of posfix is NOT avalible, is it error?

                Le Doan Thanh Tam
                ldtt.s2l@gmail.com

                1 Reply Last reply Reply Quote 0
                • B
                  biggsy
                  last edited by

                  Hi

                  Sorry, I don't understand why you would be trying to forward mail from the Internet that has been sent to the domain "test.zimbra(or zibra).mail.com"?  That is what your configuration says under Domains to Forward.

                  1 Reply Last reply Reply Quote 0
                  • T
                    tamldt
                    last edited by

                    Hi biggsy!

                    I want to use feature antispam and and antivirus of postfix forwarder for my internal server mail. i follow link

                    https://forum.pfsense.org/index.php?topic=70541.0.

                    Le Doan Thanh Tam
                    ldtt.s2l@gmail.com

                    1 Reply Last reply Reply Quote 0
                    • T
                      tamldt
                      last edited by

                      unsolved  :'(

                      My postfix forwarder only listen connect on port 25 but i think that it not establish with traffic mail go to port 25 so it cann't filter mail.

                      My log in var/log/maillog

                      Dec  8 06:28:32 pfsense postfix/postfix-script[77991]: refreshing the Postfix mail system
                      Dec  8 06:28:32 pfsense postfix/master[68358]: reload -- version 2.10.2, configuration /usr/pbi/postfix-i386/etc/postfix
                      Dec  8 06:28:32 pfsense postfix/master[68358]: warning: service smtp: ignoring inet_interfaces change
                      Dec  8 06:28:32 pfsense postfix/master[68358]: warning: to change inet_interfaces, stop and start Postfix
                      Dec  8 06:28:35 pfsense postfix/postfix-script[82207]: refreshing the Postfix mail system
                      Dec  8 06:28:35 pfsense postfix/master[68358]: reload -- version 2.10.2, configuration /usr/pbi/postfix-i386/etc/postfix
                      Dec  8 06:28:35 pfsense postfix/master[68358]: warning: service smtp: ignoring inet_interfaces change
                      Dec  8 06:28:35 pfsense postfix/master[68358]: warning: to change inet_interfaces, stop and start Postfix
                      Dec  8 06:33:06 pfsense postfix/postfix-script[59799]: stopping the Postfix mail system
                      Dec  8 06:33:06 pfsense postfix/master[68358]: terminating on signal 15
                      Dec  8 06:33:06 pfsense postfix/postfix-script[61298]: fatal: the Postfix mail system is not running
                      Dec  8 06:33:08 pfsense postfix/postfix-script[75719]: starting the Postfix mail system
                      Dec  8 06:33:08 pfsense postfix/master[76034]: daemon started -- version 2.10.2, configuration /usr/pbi/postfix-i386/etc/postfix
                      Dec  8 06:37:16 pfsense postfix/postfix-script[54678]: refreshing the Postfix mail system
                      Dec  8 06:37:16 pfsense postfix/master[76034]: reload -- version 2.10.2, configuration /usr/pbi/postfix-i386/etc/postfix
                      Dec  8 06:37:19 pfsense postfix/postfix-script[58405]: refreshing the Postfix mail system
                      Dec  8 06:37:19 pfsense postfix/master[76034]: reload -- version 2.10.2, configuration /usr/pbi/postfix-i386/etc/postfix
                      Dec  8 07:08:34 pfsense postfix/postfix-script[85765]: stopping the Postfix mail system
                      Dec  8 07:08:34 pfsense postfix/master[76034]: terminating on signal 15
                      Dec  8 07:08:43 pfsense postfix/postfix-script[90644]: fatal: the Postfix mail system is not running
                      Dec  8 07:08:45 pfsense postfix/postfix-script[3399]: starting the Postfix mail system
                      Dec  8 07:08:45 pfsense postfix/master[3931]: daemon started -- version 2.10.2, configuration /usr/pbi/postfix-i386/etc/postfix
                      Dec  8 07:21:03 pfsense postfix/postscreen[5168]: cache btree:/var/db/postfix/postscreen_cache full cleanup: retained=0 dropped=0 entries
                      Dec  8 07:21:03 pfsense postfix/postscreen[5168]: CONNECT from [127.0.0.1]:36076 to [127.0.0.1]:25
                      Dec  8 07:22:32 pfsense postfix/postscreen[5168]: NOQUEUE: reject: RCPT from [127.0.0.1]:36076: 450 4.3.2 Service currently unavailable; from=<local@pfsense.localdomain>, to=<local@pfsense.localdomain>, proto=SMTP, helo= <abc>Dec  8 07:23:12 pfsense postfix/postscreen[5168]: NOQUEUE: reject: RCPT from [127.0.0.1]:36076: 450 4.3.2 Service currently unavailable; from=<local@pfsense.localdomain>, to=<local@pfsense.localdomain>, proto=SMTP, helo= <abc>Dec  8 07:23:31 pfsense postfix/postscreen[5168]: NOQUEUE: reject: RCPT from [127.0.0.1]:36076: 450 4.3.2 Service currently unavailable; from=<local@pfsense.localdomain>, to=<khang@ired.com>, proto=SMTP, helo= <abc>Dec  8 07:25:16 pfsense postfix/postscreen[5168]: PASS NEW [127.0.0.1]:36076
                      Dec  8 07:25:16 pfsense postfix/postscreen[5168]: DISCONNECT [127.0.0.1]:36076
                      Dec  8 07:25:18 pfsense postfix/postscreen[5168]: CONNECT from [127.0.0.1]:52553 to [127.0.0.1]:25
                      Dec  8 07:25:18 pfsense postfix/postscreen[5168]: PASS OLD [127.0.0.1]:52553
                      Dec  8 07:25:18 pfsense postfix/smtpd[80110]: connect from localhost[127.0.0.1]
                      Dec  8 07:25:40 pfsense postfix/smtpd[80110]: warning: Illegal address syntax from localhost[127.0.0.1] in MAIL command: khang@ired.com
                      Dec  8 07:26:08 pfsense postfix/smtpd[80110]: disconnect from localhost[127.0.0.1]
                      Dec  8 07:29:28 pfsense postfix/anvil[80195]: statistics: max connection rate 1/60s for (smtpd:127.0.0.1) at Dec  8 07:25:18
                      Dec  8 07:29:28 pfsense postfix/anvil[80195]: statistics: max connection count 1 for (smtpd:127.0.0.1) at Dec  8 07:25:18
                      Dec  8 07:29:28 pfsense postfix/anvil[80195]: statistics: max cache size 1 at Dec  8 07:25:18
                      Dec  8 07:49:49 pfsense postfix/postfix-script[95640]: refreshing the Postfix mail system
                      Dec  8 07:49:49 pfsense postfix/master[3931]: reload -- version 2.10.2, configuration /usr/pbi/postfix-i386/etc/postfix
                      Dec  8 07:49:52 pfsense postfix/postfix-script[99181]: stopping the Postfix mail system
                      Dec  8 07:49:52 pfsense postfix/master[3931]: terminating on signal 15
                      Dec  8 08:04:00 pfsense postfix/postfix-script[32252]: fatal: the Postfix mail system is not running
                      Dec  8 08:04:03 pfsense postfix/postfix-script[34735]: fatal: the Postfix mail system is not running
                      Dec  8 08:04:14 pfsense postfix/postfix-script[56903]: fatal: the Postfix mail system is not running
                      Dec  8 08:04:17 pfsense postfix/postfix-script[59115]: fatal: the Postfix mail system is not running
                      Dec  8 08:04:17 pfsense postfix/postfix-script[71677]: starting the Postfix mail system
                      Dec  8 08:04:17 pfsense postfix/master[71953]: daemon started -- version 2.10.2, configuration /usr/pbi/postfix-i386/etc/postfix
                      Dec  8 08:04:22 pfsense postfix/postfix-script[73350]: stopping the Postfix mail system
                      Dec  8 08:04:22 pfsense postfix/master[71953]: terminating on signal 15
                      Dec  8 08:04:24 pfsense postfix/postfix-script[86258]: starting the Postfix mail system
                      Dec  8 08:04:24 pfsense postfix/master[86722]: daemon started -- version 2.10.2, configuration /usr/pbi/postfix-i386/etc/postfix
                      Dec  8 08:06:29 pfsense MailScanner[28683]: MailScanner E-Mail Virus Scanner version 4.84.6 starting... 
                      Dec  8 08:06:29 pfsense MailScanner[28683]: Reading configuration file /usr/pbi/mailscanner-i386/etc/MailScanner/MailScanner.conf 
                      Dec  8 08:06:29 pfsense MailScanner[28683]: Reading configuration file /usr/pbi/mailscanner-i386/etc/MailScanner/conf.d/README 
                      Dec  8 08:06:29 pfsense MailScanner[28683]: User's home directory /var/spool/postfix is not writable 
                      Dec  8 08:06:29 pfsense MailScanner[28683]: You need to set the "SpamAssassin User State Dir" to a directory that the "Run As User" can write to 
                      Dec  8 08:06:29 pfsense MailScanner[28683]: Using SpamAssassin results cache 
                      Dec  8 08:06:29 pfsense MailScanner[28683]: Connected to SpamAssassin cache database 
                      Dec  8 08:06:29 pfsense MailScanner[28683]: Enabling SpamAssassin auto-whitelist functionality... 
                      Dec  8 08:06:31 pfsense MailScanner[28683]: Connected to Processing Attempts Database 
                      Dec  8 08:06:31 pfsense MailScanner[28683]: Found 0 messages in the Processing Attempts Database 
                      Dec  8 08:06:31 pfsense MailScanner[28683]: Using locktype = flock 
                      Dec  8 08:06:34 pfsense MailScanner[31154]: MailScanner E-Mail Virus Scanner version 4.84.6 starting... 
                      Dec  8 08:06:34 pfsense MailScanner[31154]: Reading configuration file /usr/pbi/mailscanner-i386/etc/MailScanner/MailScanner.conf 
                      Dec  8 08:06:34 pfsense MailScanner[31154]: Reading configuration file /usr/pbi/mailscanner-i386/etc/MailScanner/conf.d/README 
                      Dec  8 08:06:34 pfsense MailScanner[31154]: User's home directory /var/spool/postfix is not writable 
                      Dec  8 08:06:34 pfsense MailScanner[31154]: You need to set the "SpamAssassin User State Dir" to a directory that the "Run As User" can write to 
                      Dec  8 08:06:34 pfsense MailScanner[31154]: Using SpamAssassin results cache 
                      Dec  8 08:06:34 pfsense MailScanner[31154]: Connected to SpamAssassin cache database 
                      Dec  8 08:06:34 pfsense MailScanner[31154]: Enabling SpamAssassin auto-whitelist functionality... 
                      Dec  8 08:06:36 pfsense MailScanner[31154]: Connected to Processing Attempts Database 
                      Dec  8 08:06:36 pfsense MailScanner[31154]: Found 0 messages in the Processing Attempts Database 
                      Dec  8 08:06:36 pfsense MailScanner[31154]: Using locktype = flock 
                      Dec  8 08:06:39 pfsense MailScanner[31224]: MailScanner E-Mail Virus Scanner version 4.84.6 starting... 
                      Dec  8 08:06:39 pfsense MailScanner[31224]: Reading configuration file /usr/pbi/mailscanner-i386/etc/MailScanner/MailScanner.conf 
                      Dec  8 08:06:39 pfsense MailScanner[31224]: Reading configuration file /usr/pbi/mailscanner-i386/etc/MailScanner/conf.d/README 
                      Dec  8 08:06:39 pfsense MailScanner[31224]: User's home directory /var/spool/postfix is not writable 
                      Dec  8 08:06:39 pfsense MailScanner[31224]: You need to set the "SpamAssassin User State Dir" to a directory that the "Run As User" can write to 
                      Dec  8 08:06:39 pfsense MailScanner[31224]: Using SpamAssassin results cache 
                      Dec  8 08:06:39 pfsense MailScanner[31224]: Connected to SpamAssassin cache database 
                      Dec  8 08:06:39 pfsense MailScanner[31224]: Enabling SpamAssassin auto-whitelist functionality... 
                      Dec  8 08:06:41 pfsense MailScanner[31224]: Connected to Processing Attempts Database 
                      Dec  8 08:06:41 pfsense MailScanner[31224]: Found 0 messages in the Processing Attempts Database 
                      Dec  8 08:06:41 pfsense MailScanner[31224]: Using locktype = flock 
                      Dec  8 08:06:44 pfsense MailScanner[31799]: MailScanner E-Mail Virus Scanner version 4.84.6 starting... 
                      Dec  8 08:06:44 pfsense MailScanner[31799]: Reading configuration file /usr/pbi/mailscanner-i386/etc/MailScanner/MailScanner.conf 
                      Dec  8 08:06:44 pfsense MailScanner[31799]: Reading configuration file /usr/pbi/mailscanner-i386/etc/MailScanner/conf.d/README 
                      Dec  8 08:06:44 pfsense MailScanner[31799]: User's home directory /var/spool/postfix is not writable 
                      Dec  8 08:06:44 pfsense MailScanner[31799]: You need to set the "SpamAssassin User State Dir" to a directory that the "Run As User" can write to 
                      Dec  8 08:06:44 pfsense MailScanner[31799]: Using SpamAssassin results cache 
                      Dec  8 08:06:44 pfsense MailScanner[31799]: Connected to SpamAssassin cache database 
                      Dec  8 08:06:44 pfsense MailScanner[31799]: Enabling SpamAssassin auto-whitelist functionality... 
                      Dec  8 08:06:46 pfsense MailScanner[31799]: Connected to Processing Attempts Database 
                      Dec  8 08:06:46 pfsense MailScanner[31799]: Found 0 messages in the Processing Attempts Database 
                      Dec  8 08:06:46 pfsense MailScanner[31799]: Using locktype = flock 
                      Dec  8 08:06:49 pfsense MailScanner[31811]: MailScanner E-Mail Virus Scanner version 4.84.6 starting... 
                      Dec  8 08:06:49 pfsense MailScanner[31811]: Reading configuration file /usr/pbi/mailscanner-i386/etc/MailScanner/MailScanner.conf 
                      Dec  8 08:06:49 pfsense MailScanner[31811]: Reading configuration file /usr/pbi/mailscanner-i386/etc/MailScanner/conf.d/README 
                      Dec  8 08:06:49 pfsense MailScanner[31811]: User's home directory /var/spool/postfix is not writable 
                      Dec  8 08:06:49 pfsense MailScanner[31811]: You need to set the "SpamAssassin User State Dir" to a directory that the "Run As User" can write to 
                      Dec  8 08:06:49 pfsense MailScanner[31811]: Using SpamAssassin results cache 
                      Dec  8 08:06:49 pfsense MailScanner[31811]: Connected to SpamAssassin cache database 
                      Dec  8 08:06:49 pfsense MailScanner[31811]: Enabling SpamAssassin auto-whitelist functionality... 
                      Dec  8 08:06:51 pfsense MailScanner[31811]: Connected to Processing Attempts Database 
                      Dec  8 08:06:51 pfsense MailScanner[31811]: Found 0 messages in the Processing Attempts Database 
                      Dec  8 08:06:51 pfsense MailScanner[31811]: Using locktype = flock 
                      Dec  8 08:08:42 pfsense MailScanner[31799]: MailScanner child caught a SIGHUP 
                      Dec  8 08:08:42 pfsense MailScanner[31154]: MailScanner child caught a SIGHUP 
                      Dec  8 08:08:42 pfsense MailScanner[31811]: MailScanner child caught a SIGHUP 
                      Dec  8 08:08:42 pfsense MailScanner[28683]: MailScanner child caught a SIGHUP 
                      Dec  8 08:08:42 pfsense MailScanner[31224]: MailScanner child caught a SIGHUP 
                      Dec  8 08:08:55 pfsense MailScanner[74050]: MailScanner E-Mail Virus Scanner version 4.84.6 starting... 
                      Dec  8 08:08:55 pfsense MailScanner[74050]: Reading configuration file /usr/pbi/mailscanner-i386/etc/MailScanner/MailScanner.conf 
                      Dec  8 08:08:55 pfsense MailScanner[74050]: Reading configuration file /usr/pbi/mailscanner-i386/etc/MailScanner/conf.d/README 
                      Dec  8 08:08:55 pfsense MailScanner[74050]: Using SpamAssassin results cache 
                      Dec  8 08:08:55 pfsense MailScanner[74050]: Connected to SpamAssassin cache database 
                      Dec  8 08:08:55 pfsense MailScanner[74050]: Enabling SpamAssassin auto-whitelist functionality... 
                      Dec  8 08:08:57 pfsense MailScanner[74050]: Connected to Processing Attempts Database 
                      Dec  8 08:08:57 pfsense MailScanner[74050]: Found 0 messages in the Processing Attempts Database 
                      Dec  8 08:08:57 pfsense MailScanner[74050]: Using locktype = flock 
                      Dec  8 08:09:00 pfsense MailScanner[78425]: MailScanner E-Mail Virus Scanner version 4.84.6 starting... 
                      Dec  8 08:09:00 pfsense MailScanner[78425]: Reading configuration file /usr/pbi/mailscanner-i386/etc/MailScanner/MailScanner.conf 
                      Dec  8 08:09:00 pfsense MailScanner[78425]: Reading configuration file /usr/pbi/mailscanner-i386/etc/MailScanner/conf.d/README 
                      Dec  8 08:09:00 pfsense MailScanner[78425]: Using SpamAssassin results cache 
                      Dec  8 08:09:00 pfsense MailScanner[78425]: Connected to SpamAssassin cache database 
                      Dec  8 08:09:00 pfsense MailScanner[78425]: Enabling SpamAssassin auto-whitelist functionality... 
                      Dec  8 08:09:02 pfsense MailScanner[78425]: Connected to Processing Attempts Database 
                      Dec  8 08:09:02 pfsense MailScanner[78425]: Found 0 messages in the Processing Attempts Database 
                      Dec  8 08:09:02 pfsense MailScanner[78425]: Using locktype = flock 
                      Dec  8 08:09:05 pfsense MailScanner[81069]: MailScanner E-Mail Virus Scanner version 4.84.6 starting... 
                      Dec  8 08:09:05 pfsense MailScanner[81069]: Reading configuration file /usr/pbi/mailscanner-i386/etc/MailScanner/MailScanner.conf 
                      Dec  8 08:09:05 pfsense MailScanner[81069]: Reading configuration file /usr/pbi/mailscanner-i386/etc/MailScanner/conf.d/README 
                      Dec  8 08:09:05 pfsense MailScanner[81069]: Using SpamAssassin results cache 
                      Dec  8 08:09:05 pfsense MailScanner[81069]: Connected to SpamAssassin cache database 
                      Dec  8 08:09:05 pfsense MailScanner[81069]: Enabling SpamAssassin auto-whitelist functionality... 
                      Dec  8 08:09:07 pfsense MailScanner[81069]: Connected to Processing Attempts Database 
                      Dec  8 08:09:07 pfsense MailScanner[81069]: Found 0 messages in the Processing Attempts Database 
                      Dec  8 08:09:07 pfsense MailScanner[81069]: Using locktype = flock 
                      Dec  8 08:09:10 pfsense MailScanner[81207]: MailScanner E-Mail Virus Scanner version 4.84.6 starting... 
                      Dec  8 08:09:10 pfsense MailScanner[81207]: Reading configuration file /usr/pbi/mailscanner-i386/etc/MailScanner/MailScanner.conf 
                      Dec  8 08:09:10 pfsense MailScanner[81207]: Reading configuration file /usr/pbi/mailscanner-i386/etc/MailScanner/conf.d/README 
                      Dec  8 08:09:10 pfsense MailScanner[81207]: Using SpamAssassin results cache 
                      Dec  8 08:09:10 pfsense MailScanner[81207]: Connected to SpamAssassin cache database 
                      Dec  8 08:09:10 pfsense MailScanner[81207]: Enabling SpamAssassin auto-whitelist functionality... 
                      Dec  8 08:09:12 pfsense MailScanner[81207]: Connected to Processing Attempts Database 
                      Dec  8 08:09:12 pfsense MailScanner[81207]: Found 0 messages in the Processing Attempts Database 
                      Dec  8 08:09:12 pfsense MailScanner[81207]: Using locktype = flock 
                      Dec  8 08:09:15 pfsense MailScanner[81471]: MailScanner E-Mail Virus Scanner version 4.84.6 starting... 
                      Dec  8 08:09:15 pfsense MailScanner[81471]: Reading configuration file /usr/pbi/mailscanner-i386/etc/MailScanner/MailScanner.conf 
                      Dec  8 08:09:15 pfsense MailScanner[81471]: Reading configuration file /usr/pbi/mailscanner-i386/etc/MailScanner/conf.d/README 
                      Dec  8 08:09:15 pfsense MailScanner[81471]: Using SpamAssassin results cache 
                      Dec  8 08:09:15 pfsense MailScanner[81471]: Connected to SpamAssassin cache database 
                      Dec  8 08:09:15 pfsense MailScanner[81471]: Enabling SpamAssassin auto-whitelist functionality... 
                      Dec  8 08:09:17 pfsense MailScanner[81471]: Connected to Processing Attempts Database 
                      Dec  8 08:09:17 pfsense MailScanner[81471]: Found 0 messages in the Processing Attempts Database 
                      Dec  8 08:09:17 pfsense MailScanner[81471]: Using locktype = flock 
                      Dec  8 08:09:40 pfsense MailScanner[81069]: MailScanner child caught a SIGHUP 
                      Dec  8 08:09:40 pfsense MailScanner[81207]: MailScanner child caught a SIGHUP 
                      Dec  8 08:09:40 pfsense MailScanner[78425]: MailScanner child caught a SIGHUP 
                      Dec  8 08:09:40 pfsense MailScanner[74050]: MailScanner child caught a SIGHUP 
                      Dec  8 08:09:40 pfsense MailScanner[81471]: MailScanner child caught a SIGHUP 
                      Dec  8 08:09:55 pfsense MailScanner[5146]: MailScanner E-Mail Virus Scanner version 4.84.6 starting... 
                      Dec  8 08:09:55 pfsense MailScanner[5146]: Reading configuration file /usr/pbi/mailscanner-i386/etc/MailScanner/MailScanner.conf 
                      Dec  8 08:09:55 pfsense MailScanner[5146]: Reading configuration file /usr/pbi/mailscanner-i386/etc/MailScanner/conf.d/README 
                      Dec  8 08:09:55 pfsense MailScanner[5146]: User's home directory /var/spool/postfix is not writable 
                      Dec  8 08:09:55 pfsense MailScanner[5146]: You need to set the "SpamAssassin User State Dir" to a directory that the "Run As User" can write to 
                      Dec  8 08:09:56 pfsense MailScanner[5146]: Using SpamAssassin results cache 
                      Dec  8 08:09:56 pfsense MailScanner[5146]: Connected to SpamAssassin cache database 
                      Dec  8 08:09:56 pfsense MailScanner[5146]: Enabling SpamAssassin auto-whitelist functionality... 
                      Dec  8 08:09:58 pfsense MailScanner[5146]: Connected to Processing Attempts Database 
                      Dec  8 08:09:58 pfsense MailScanner[5146]: Found 0 messages in the Processing Attempts Database 
                      Dec  8 08:09:58 pfsense MailScanner[5146]: Using locktype = flock 
                      Dec  8 08:10:00 pfsense MailScanner[8673]: MailScanner E-Mail Virus Scanner version 4.84.6 starting... 
                      Dec  8 08:10:00 pfsense MailScanner[8673]: Reading configuration file /usr/pbi/mailscanner-i386/etc/MailScanner/MailScanner.conf 
                      Dec  8 08:10:00 pfsense MailScanner[8673]: Reading configuration file /usr/pbi/mailscanner-i386/etc/MailScanner/conf.d/README 
                      Dec  8 08:10:00 pfsense MailScanner[8673]: User's home directory /var/spool/postfix is not writable 
                      Dec  8 08:10:00 pfsense MailScanner[8673]: You need to set the "SpamAssassin User State Dir" to a directory that the "Run As User" can write to 
                      Dec  8 08:10:01 pfsense MailScanner[8673]: Using SpamAssassin results cache 
                      Dec  8 08:10:01 pfsense MailScanner[8673]: Connected to SpamAssassin cache database 
                      Dec  8 08:10:01 pfsense MailScanner[8673]: Enabling SpamAssassin auto-whitelist functionality... 
                      Dec  8 08:10:03 pfsense MailScanner[8673]: Connected to Processing Attempts Database 
                      Dec  8 08:10:03 pfsense MailScanner[8673]: Found 0 messages in the Processing Attempts Database 
                      Dec  8 08:10:03 pfsense MailScanner[8673]: Using locktype = flock 
                      Dec  8 08:10:05 pfsense MailScanner[10532]: MailScanner E-Mail Virus Scanner version 4.84.6 starting... 
                      Dec  8 08:10:05 pfsense MailScanner[10532]: Reading configuration file /usr/pbi/mailscanner-i386/etc/MailScanner/MailScanner.conf 
                      Dec  8 08:10:05 pfsense MailScanner[10532]: Reading configuration file /usr/pbi/mailscanner-i386/etc/MailScanner/conf.d/README 
                      Dec  8 08:10:05 pfsense MailScanner[10532]: User's home directory /var/spool/postfix is not writable 
                      Dec  8 08:10:05 pfsense MailScanner[10532]: You need to set the "SpamAssassin User State Dir" to a directory that the "Run As User" can write to 
                      Dec  8 08:10:06 pfsense MailScanner[10532]: Using SpamAssassin results cache 
                      Dec  8 08:10:06 pfsense MailScanner[10532]: Connected to SpamAssassin cache database 
                      Dec  8 08:10:06 pfsense MailScanner[10532]: Enabling SpamAssassin auto-whitelist functionality... 
                      Dec  8 08:10:08 pfsense MailScanner[10532]: Connected to Processing Attempts Database 
                      Dec  8 08:10:08 pfsense MailScanner[10532]: Found 0 messages in the Processing Attempts Database 
                      Dec  8 08:10:08 pfsense MailScanner[10532]: Using locktype = flock 
                      Dec  8 08:10:10 pfsense MailScanner[10673]: MailScanner E-Mail Virus Scanner version 4.84.6 starting... 
                      Dec  8 08:10:10 pfsense MailScanner[10673]: Reading configuration file /usr/pbi/mailscanner-i386/etc/MailScanner/MailScanner.conf 
                      Dec  8 08:10:10 pfsense MailScanner[10673]: Reading configuration file /usr/pbi/mailscanner-i386/etc/MailScanner/conf.d/README 
                      Dec  8 08:10:10 pfsense MailScanner[10673]: User's home directory /var/spool/postfix is not writable 
                      Dec  8 08:10:10 pfsense MailScanner[10673]: You need to set the "SpamAssassin User State Dir" to a directory that the "Run As User" can write to 
                      Dec  8 08:10:11 pfsense MailScanner[10673]: Using SpamAssassin results cache 
                      Dec  8 08:10:11 pfsense MailScanner[10673]: Connected to SpamAssassin cache database 
                      Dec  8 08:10:11 pfsense MailScanner[10673]: Enabling SpamAssassin auto-whitelist functionality... 
                      Dec  8 08:10:13 pfsense MailScanner[10673]: Connected to Processing Attempts Database 
                      Dec  8 08:10:13 pfsense MailScanner[10673]: Found 0 messages in the Processing Attempts Database 
                      Dec  8 08:10:13 pfsense MailScanner[10673]: Using locktype = flock 
                      Dec  8 08:10:15 pfsense MailScanner[10869]: MailScanner E-Mail Virus Scanner version 4.84.6 starting... 
                      Dec  8 08:10:15 pfsense MailScanner[10869]: Reading configuration file /usr/pbi/mailscanner-i386/etc/MailScanner/MailScanner.conf 
                      Dec  8 08:10:15 pfsense MailScanner[10869]: Reading configuration file /usr/pbi/mailscanner-i386/etc/MailScanner/conf.d/README 
                      Dec  8 08:10:15 pfsense MailScanner[10869]: User's home directory /var/spool/postfix is not writable 
                      Dec  8 08:10:15 pfsense MailScanner[10869]: You need to set the "SpamAssassin User State Dir" to a directory that the "Run As User" can write to 
                      Dec  8 08:10:16 pfsense MailScanner[10869]: Using SpamAssassin results cache 
                      Dec  8 08:10:16 pfsense MailScanner[10869]: Connected to SpamAssassin cache database 
                      Dec  8 08:10:16 pfsense MailScanner[10869]: Enabling SpamAssassin auto-whitelist functionality... 
                      Dec  8 08:10:18 pfsense MailScanner[10869]: Connected to Processing Attempts Database 
                      Dec  8 08:10:18 pfsense MailScanner[10869]: Found 0 messages in the Processing Attempts Database 
                      Dec  8 08:10:18 pfsense MailScanner[10869]: Using locktype = flock 
                      Dec  8 08:17:04 pfsense MailScanner[5146]: MailScanner child caught a SIGHUP 
                      Dec  8 08:17:04 pfsense MailScanner[10869]: MailScanner child caught a SIGHUP 
                      Dec  8 08:17:04 pfsense MailScanner[10532]: MailScanner child caught a SIGHUP 
                      Dec  8 08:17:04 pfsense MailScanner[8673]: MailScanner child caught a SIGHUP 
                      Dec  8 08:17:04 pfsense MailScanner[10673]: MailScanner child caught a SIGHUP 
                      Dec  8 08:17:09 pfsense postfix/postfix-script[19531]: stopping the Postfix mail system
                      Dec  8 08:17:09 pfsense postfix/master[86722]: terminating on signal 15
                      Dec  8 08:17:11 pfsense MailScanner[29616]: MailScanner E-Mail Virus Scanner version 4.84.6 starting... 
                      Dec  8 08:17:11 pfsense MailScanner[29616]: Reading configuration file /usr/pbi/mailscanner-i386/etc/MailScanner/MailScanner.conf 
                      Dec  8 08:17:11 pfsense MailScanner[29616]: Reading configuration file /usr/pbi/mailscanner-i386/etc/MailScanner/conf.d/README 
                      Dec  8 08:17:11 pfsense MailScanner[29616]: User's home directory /var/spool/postfix is not writable 
                      Dec  8 08:17:11 pfsense MailScanner[29616]: You need to set the "SpamAssassin User State Dir" to a directory that the "Run As User" can write to 
                      Dec  8 08:17:11 pfsense postfix/postfix-script[35338]: starting the Postfix mail system
                      Dec  8 08:17:11 pfsense postfix/master[35507]: daemon started -- version 2.10.2, configuration /usr/pbi/postfix-i386/etc/postfix
                      Dec  8 08:17:11 pfsense MailScanner[29616]: Using SpamAssassin results cache 
                      Dec  8 08:17:11 pfsense MailScanner[29616]: Connected to SpamAssassin cache database 
                      Dec  8 08:17:11 pfsense MailScanner[29616]: Enabling SpamAssassin auto-whitelist functionality... 
                      Dec  8 08:17:13 pfsense MailScanner[29616]: Connected to Processing Attempts Database 
                      Dec  8 08:17:13 pfsense MailScanner[29616]: Found 0 messages in the Processing Attempts Database 
                      Dec  8 08:17:13 pfsense MailScanner[29616]: Using locktype = flock 
                      Dec  8 08:17:16 pfsense MailScanner[40764]: MailScanner E-Mail Virus Scanner version 4.84.6 starting... 
                      Dec  8 08:17:16 pfsense MailScanner[40764]: Reading configuration file /usr/pbi/mailscanner-i386/etc/MailScanner/MailScanner.conf 
                      Dec  8 08:17:16 pfsense MailScanner[40764]: Reading configuration file /usr/pbi/mailscanner-i386/etc/MailScanner/conf.d/README 
                      Dec  8 08:17:16 pfsense MailScanner[40764]: User's home directory /var/spool/postfix is not writable 
                      Dec  8 08:17:16 pfsense MailScanner[40764]: You need to set the "SpamAssassin User State Dir" to a directory that the "Run As User" can write to 
                      Dec  8 08:17:16 pfsense MailScanner[40764]: Using SpamAssassin results cache 
                      Dec  8 08:17:16 pfsense MailScanner[40764]: Connected to SpamAssassin cache database 
                      Dec  8 08:17:16 pfsense MailScanner[40764]: Enabling SpamAssassin auto-whitelist functionality... 
                      Dec  8 08:17:18 pfsense MailScanner[40764]: Connected to Processing Attempts Database 
                      Dec  8 08:17:18 pfsense MailScanner[40764]: Found 0 messages in the Processing Attempts Database 
                      Dec  8 08:17:18 pfsense MailScanner[40764]: Using locktype = flock 
                      Dec  8 08:17:21 pfsense MailScanner[41035]: MailScanner E-Mail Virus Scanner version 4.84.6 starting... 
                      Dec  8 08:17:21 pfsense MailScanner[41035]: Reading configuration file /usr/pbi/mailscanner-i386/etc/MailScanner/MailScanner.conf 
                      Dec  8 08:17:21 pfsense MailScanner[41035]: Reading configuration file /usr/pbi/mailscanner-i386/etc/MailScanner/conf.d/README 
                      Dec  8 08:17:21 pfsense MailScanner[41035]: User's home directory /var/spool/postfix is not writable 
                      Dec  8 08:17:21 pfsense MailScanner[41035]: You need to set the "SpamAssassin User State Dir" to a directory that the "Run As User" can write to 
                      Dec  8 08:17:21 pfsense MailScanner[41035]: Using SpamAssassin results cache 
                      Dec  8 08:17:21 pfsense MailScanner[41035]: Connected to SpamAssassin cache database 
                      Dec  8 08:17:21 pfsense MailScanner[41035]: Enabling SpamAssassin auto-whitelist functionality... 
                      Dec  8 08:17:23 pfsense MailScanner[41035]: Connected to Processing Attempts Database 
                      Dec  8 08:17:23 pfsense MailScanner[41035]: Found 0 messages in the Processing Attempts Database 
                      Dec  8 08:17:23 pfsense MailScanner[41035]: Using locktype = flock 
                      Dec  8 08:17:26 pfsense MailScanner[45344]: MailScanner E-Mail Virus Scanner version 4.84.6 starting... 
                      Dec  8 08:17:26 pfsense MailScanner[45344]: Reading configuration file /usr/pbi/mailscanner-i386/etc/MailScanner/MailScanner.conf 
                      Dec  8 08:17:26 pfsense MailScanner[45344]: Reading configuration file /usr/pbi/mailscanner-i386/etc/MailScanner/conf.d/README 
                      Dec  8 08:17:26 pfsense MailScanner[45344]: User's home directory /var/spool/postfix is not writable 
                      Dec  8 08:17:26 pfsense MailScanner[45344]: You need to set the "SpamAssassin User State Dir" to a directory that the "Run As User" can write to 
                      Dec  8 08:17:26 pfsense MailScanner[45344]: Using SpamAssassin results cache 
                      Dec  8 08:17:26 pfsense MailScanner[45344]: Connected to SpamAssassin cache database 
                      Dec  8 08:17:26 pfsense MailScanner[45344]: Enabling SpamAssassin auto-whitelist functionality... 
                      Dec  8 08:17:28 pfsense MailScanner[45344]: Connected to Processing Attempts Database 
                      Dec  8 08:17:28 pfsense MailScanner[45344]: Found 0 messages in the Processing Attempts Database 
                      Dec  8 08:17:28 pfsense MailScanner[45344]: Using locktype = flock 
                      Dec  8 08:17:31 pfsense MailScanner[61206]: MailScanner E-Mail Virus Scanner version 4.84.6 starting... 
                      Dec  8 08:17:31 pfsense MailScanner[61206]: Reading configuration file /usr/pbi/mailscanner-i386/etc/MailScanner/MailScanner.conf 
                      Dec  8 08:17:31 pfsense MailScanner[61206]: Reading configuration file /usr/pbi/mailscanner-i386/etc/MailScanner/conf.d/README 
                      Dec  8 08:17:31 pfsense MailScanner[61206]: User's home directory /var/spool/postfix is not writable 
                      Dec  8 08:17:31 pfsense MailScanner[61206]: You need to set the "SpamAssassin User State Dir" to a directory that the "Run As User" can write to 
                      Dec  8 08:17:31 pfsense MailScanner[61206]: Using SpamAssassin results cache 
                      Dec  8 08:17:31 pfsense MailScanner[61206]: Connected to SpamAssassin cache database 
                      Dec  8 08:17:31 pfsense MailScanner[61206]: Enabling SpamAssassin auto-whitelist functionality... 
                      Dec  8 08:17:33 pfsense MailScanner[61206]: Connected to Processing Attempts Database 
                      Dec  8 08:17:33 pfsense MailScanner[61206]: Found 0 messages in the Processing Attempts Database 
                      Dec  8 08:17:33 pfsense MailScanner[61206]: Using locktype = flock 
                      Dec  8 08:30:52 pfsense postfix/postfix-script[89599]: refreshing the Postfix mail system
                      Dec  8 08:30:52 pfsense postfix/master[35507]: reload -- version 2.10.2, configuration /usr/pbi/postfix-i386/etc/postfix
                      Dec  8 08:30:55 pfsense postfix/postfix-script[93231]: refreshing the Postfix mail system
                      Dec  8 08:30:55 pfsense postfix/master[35507]: reload -- version 2.10.2, configuration /usr/pbi/postfix-i386/etc/postfix
                      Dec  8 08:30:58 pfsense postfix/postfix-script[96676]: stopping the Postfix mail system
                      Dec  8 08:30:58 pfsense postfix/master[35507]: terminating on signal 15
                      Dec  8 08:30:58 pfsense postfix/postfix-script[98964]: fatal: the Postfix mail system is not running
                      Dec  8 08:31:00 pfsense postfix/postfix-script[13835]: starting the Postfix mail system
                      Dec  8 08:31:00 pfsense postfix/master[14254]: daemon started -- version 2.10.2, configuration /usr/pbi/postfix-i386/etc/postfix
                      Dec  8 09:09:01 pfsense postfix/postfix-script[43418]: refreshing the Postfix mail system
                      Dec  8 09:09:01 pfsense postfix/master[14254]: reload -- version 2.10.2, configuration /usr/pbi/postfix-i386/etc/postfix
                      Dec  8 09:09:04 pfsense postfix/postfix-script[48119]: refreshing the Postfix mail system
                      Dec  8 09:09:04 pfsense postfix/master[14254]: reload -- version 2.10.2, configuration /usr/pbi/postfix-i386/etc/postfix
                      Dec  8 09:09:04 pfsense postfix/master[14254]: warning: service smtp: ignoring inet_interfaces change
                      Dec  8 09:09:04 pfsense postfix/master[14254]: warning: to change inet_interfaces, stop and start Postfix
                      Dec  8 09:09:09 pfsense postfix/postfix-script[56298]: refreshing the Postfix mail system
                      Dec  8 09:09:09 pfsense postfix/master[14254]: reload -- version 2.10.2, configuration /usr/pbi/postfix-i386/etc/postfix
                      Dec  8 09:09:09 pfsense postfix/master[14254]: warning: service smtp: ignoring inet_interfaces change
                      Dec  8 09:09:09 pfsense postfix/master[14254]: warning: to change inet_interfaces, stop and start Postfix
                      Dec  8 09:09:12 pfsense postfix/postfix-script[59802]: refreshing the Postfix mail system
                      Dec  8 09:09:12 pfsense postfix/master[14254]: reload -- version 2.10.2, configuration /usr/pbi/postfix-i386/etc/postfix
                      Dec  8 09:09:12 pfsense postfix/master[14254]: warning: service smtp: ignoring inet_interfaces change
                      Dec  8 09:09:12 pfsense postfix/master[14254]: warning: to change inet_interfaces, stop and start Postfix
                      Dec  8 09:09:47 pfsense postfix/postfix-script[79227]: stopping the Postfix mail system
                      Dec  8 09:09:47 pfsense postfix/master[14254]: terminating on signal 15
                      Dec  8 09:09:47 pfsense postfix/postfix-script[81592]: fatal: the Postfix mail system is not running
                      Dec  8 09:09:49 pfsense postfix/postfix-script[95158]: starting the Postfix mail system
                      Dec  8 09:09:49 pfsense postfix/master[95520]: fatal: /usr/pbi/postfix-i386/etc/postfix/master.cf: line 2: no valid IP address found: smtp
                      Dec  8 09:09:50 pfsense postfix/master[95384]: fatal: daemon initialization failure
                      Dec  8 09:09:51 pfsense postfix/postfix-script[95774]: fatal: mail system startup failed
                      Dec  8 09:09:58 pfsense postfix/postfix-script[99572]: fatal: the Postfix mail system is not running
                      Dec  8 09:10:01 pfsense postfix/postfix-script[14827]: starting the Postfix mail system
                      Dec  8 09:10:01 pfsense postfix/master[15381]: fatal: /usr/pbi/postfix-i386/etc/postfix/master.cf: line 2: no valid IP address found: smtp
                      Dec  8 09:10:02 pfsense postfix/master[15073]: fatal: daemon initialization failure
                      Dec  8 09:10:03 pfsense postfix/postfix-script[16319]: fatal: mail system startup failed
                      Dec  8 09:10:21 pfsense postfix/postfix-script[25219]: fatal: the Postfix mail system is not running
                      Dec  8 09:10:24 pfsense postfix/postfix-script[28293]: fatal: the Postfix mail system is not running
                      Dec  8 09:10:24 pfsense postfix/postfix-script[39716]: starting the Postfix mail system
                      Dec  8 09:10:24 pfsense postfix/master[39940]: daemon started -- version 2.10.2, configuration /usr/pbi/postfix-i386/etc/postfix
                      Dec  8 09:10:29 pfsense postfix/postfix-script[56736]: stopping the Postfix mail system
                      Dec  8 09:10:29 pfsense postfix/master[39940]: terminating on signal 15
                      Dec  8 09:10:31 pfsense postfix/postfix-script[71148]: starting the Postfix mail system
                      Dec  8 09:10:31 pfsense postfix/master[71523]: daemon started -- version 2.10.2, configuration /usr/pbi/postfix-i386/etc/postfix
                      Dec  8 09:16:56 pfsense postfix/postfix-script[76978]: refreshing the Postfix mail system
                      Dec  8 09:16:56 pfsense postfix/master[71523]: reload -- version 2.10.2, configuration /usr/pbi/postfix-i386/etc/postfix
                      Dec  8 09:16:59 pfsense postfix/postfix-script[80628]: refreshing the Postfix mail system
                      Dec  8 09:16:59 pfsense postfix/master[71523]: reload -- version 2.10.2, configuration /usr/pbi/postfix-i386/etc/postfix
                      Dec  8 09:16:59 pfsense postfix/master[71523]: warning: service smtp: ignoring inet_interfaces change
                      Dec  8 09:16:59 pfsense postfix/master[71523]: warning: to change inet_interfaces, stop and start Postfix
                      Dec  8 09:17:41 pfsense postfix/postfix-script[3977]: stopping the Postfix mail system
                      Dec  8 09:17:41 pfsense postfix/master[71523]: terminating on signal 15
                      Dec  8 09:17:41 pfsense postfix/postfix-script[6027]: fatal: the Postfix mail system is not running
                      Dec  8 09:17:43 pfsense postfix/postfix-script[18821]: starting the Postfix mail system
                      Dec  8 09:17:43 pfsense postfix/master[19305]: daemon started -- version 2.10.2, configuration /usr/pbi/postfix-i386/etc/postfix</abc></khang@ired.com></local@pfsense.localdomain></abc></local@pfsense.localdomain></local@pfsense.localdomain></abc></local@pfsense.localdomain></local@pfsense.localdomain> 
                      

                      if i wrong please fix me!

                      thanks !

                      Le Doan Thanh Tam
                      ldtt.s2l@gmail.com

                      1 Reply Last reply Reply Quote 0
                      • T
                        tamldt
                        last edited by

                        help me pls!

                        Le Doan Thanh Tam
                        ldtt.s2l@gmail.com

                        1 Reply Last reply Reply Quote 0
                        • B
                          biggsy
                          last edited by

                          Get rid of mailscanner/spamassassin to start.  Add back in once you have postfix working.  (You may find that you don't need anything more than postfix.)

                          You didn't follow the Quick Start Guide exactly because you had LAN Net as the listen interface.  Now that postfix is listening on WAN Address, you need to have a way for remote mail servers to connect and send mail from the Internet through your WAN interface.

                          Do you have a real domain?  Do you have a DNS MX record that points to your WAN Address?  Without those, it is going to be very difficult to help you.

                          Please do not post in two threads.  That doesn't encourage people to try and help you.

                          1 Reply Last reply Reply Quote 0
                          • T
                            tamldt
                            last edited by

                            Thanks you verry much Biggsy ! ;D. i understood how to postfix fowarder work.

                            Le Doan Thanh Tam
                            ldtt.s2l@gmail.com

                            1 Reply Last reply Reply Quote 0
                            • A
                              alvesrj
                              last edited by

                              @biggsy:

                              Get rid of mailscanner/spamassassin to start.  Add back in once you have postfix working.  (You may find that you don't need anything more than postfix.)

                              You didn't follow the Quick Start Guide exactly because you had LAN Net as the listen interface.  Now that postfix is listening on WAN Address, you need to have a way for remote mail servers to connect and send mail from the Internet through your WAN interface.

                              Do you have a real domain?  Do you have a DNS MX record that points to your WAN Address?  Without those, it is going to be very difficult to help you.

                              Please do not post in two threads.  That doesn't encourage people to try and help you.

                              biggsy,  I have DNS MX, where I put the DNS MX?

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