Incoming mail stuck in Hold directory

Shawn Iverson shawniverson at summitgrid.com
Sat Aug 1 13:01:04 UTC 2020


The child dying is normal. What is not normal is the end of your log.

You should see the parent spawning a new child, which it does...

Aug  1 19:45:00 border MailScanner[3918]: MailScanner Email Processor 
version 5.3.3 starting...

but it appears it is stalling because there are no entries that it is 
reading in your configs.

On 8/1/20 8:51 AM, Budi F wrote:
> I found this in maillog,
>
> is this normal rebuild is due, Found 0 messages, and mailscanner child 
> dying after bayes rebuild?
>
> =====start
> Aug  1 19:44:58 border MailScanner[3910]: MailScanner Email Processor 
> version 5.3.3 starting...
> Aug  1 19:44:58 border MailScanner[3910]: Reading configuration file 
> /etc/MailScanner/MailScanner.conf
> Aug  1 19:44:58 border MailScanner[3910]: Reading configuration file 
> /etc/MailScanner/conf.d/README
> Aug  1 19:44:58 border MailScanner[3910]: Read 1500 hostnames from the 
> phishing whitelist
> Aug  1 19:44:58 border MailScanner[3910]: Read 8480 hostnames from the 
> phishing blacklists
> Aug  1 19:44:58 border MailScanner[3910]: Config: calling custom init 
> function MailWatchLogging
> Aug  1 19:44:58 border MailScanner[3910]: MailWatch: Started MailWatch 
> SQL Logging child
> **Aug  1 19:44:58 border MailScanner[3910]: Bayes database rebuild is due*
> Aug  1 19:44:58 border MailScanner[3910]: Using SpamAssassin results cache
> Aug  1 19:44:58 border MailScanner[3910]: Connected to SpamAssassin 
> cache database
> Aug  1 19:44:58 border MailScanner[3910]: SpamAssassin Bayes database 
> rebuild starting
> Aug  1 19:44:59 border MailScanner[3910]: SpamAssassin Bayes database 
> rebuild completed
> Aug  1 19:44:59 border MailScanner[3910]: Enabling SpamAssassin 
> auto-whitelist functionality...
> Aug  1 19:45:00 border MailScanner[3910]: Connected to Processing 
> Attempts Database
> **Aug  1 19:45:00 border MailScanner[3910]: Found 0 messages in the 
> Processing Attempts Database*
> Aug  1 19:45:00 border MailScanner[3910]: Using locktype = flock
> Aug  1 19:45:00 border MailScanner[3910]: Config: calling custom end 
> function MailWatchLogging
> **Aug  1 19:45:00 border MailScanner[3910]: MailScanner child dying 
> after Bayes rebuild*
> Aug  1 19:45:00 border MailScanner[3918]: MailScanner Email Processor 
> version 5.3.3 starting...
> =====end
>
> Regards
>
> On Sat, Aug 1, 2020 at 7:12 PM Shawn Iverson via MailScanner 
> <mailscanner at lists.mailscanner.info 
> <mailto:mailscanner at lists.mailscanner.info>> wrote:
>
>     Any clues in /var/log/maillog or /var/log/messages in regard to
>     the MailScanner daemon?
>
>     On 8/1/20 12:18 AM, Budi F wrote:
>>     Hi,
>>
>>     I'm trying to install mailscanner in centos 7 with postfix
>>
>>     It's working fine, but at least in every 3,4 hours all the email
>>     stuck in incoming directory,
>>     /var/spool/postfix/hold
>>
>>     Restarting the mailscanner will solved the problem, all emails in
>>     hold directory fill be delivered, but then this will happen again
>>
>>     Temporary, with cron, I restart the mailscanner service in every
>>     2 hours
>>
>>     My configuration:
>>     Centos 7
>>     postfix-2.10.1-9.el7.x86_64
>>     MailWatch Version: 1.2.15
>>     spamassassin-3.4.0-5.el7_7.x86_64
>>     clamd-0.102.3-1.el7.x86_64
>>
>>     drwxrwx---. 2 postfix mtagroup    6 Aug  1 11:02 hold
>>
>>     And the files under hold directory are own by postfix.postfix
>>
>>     Member of mtagroup
>>     postfix mail clamscan apache
>>
>>     Why is sometime the emails stuck in the hold directory, and what
>>     are the solutions?
>>
>>     Regards
>>
>     -- 
>
>     Shawn Iverson
>     shawniverson at summitgrid.com <mailto:shawniverson at summitgrid.com>
>
>
>     -- 
>     MailScanner mailing list
>     mailscanner at lists.mailscanner.info
>     <mailto:mailscanner at lists.mailscanner.info>
>     http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
>
>
-- 

Shawn Iverson
shawniverson at summitgrid.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20200801/8d398f56/attachment.html>


More information about the MailScanner mailing list