Testing V 4.85.2 postfix/showq[31416]: warning: hold/3519: uid 89: not a regular file

Jerry Benton jerry.benton at mailborder.com
Sun May 3 08:18:44 UTC 2015


Probably permissions. Fix them on those directories and then remove your Processing.db file from /var/spool/MailScanner. (Make sure you stop MailScanner first.) 

chmod g+w /var/spool/MailScanner/*
chmod 0775 /var/spool/postfix/hold

I would suggest creating a group that has clamav and postfix as members and use that in your MailScanner settings. This prevents a lot of permissions issues. I use a group called mtagroup. 

groupadd mtagroup
usermod -a -G mtagroup postfix
usermod -a -G mtagroup clamav
usermod -a -G mtagroup clam

(either clam or clamav depending on your distro and clam version)


chown postfix:mtagroup /var/spool/MailScanner
chown postfix:mtagroup /var/spool/MailScanner/incoming
chown postfix:mtagroup /var/spool/MailScanner/quarantine
chown postfix.mtagroup /var/spool/MailScanner/spamassassin
chown postfix:mtagroup /var/spool/postfix
chown postfix:mtagroup /var/spool/postfix/incoming
chown postfix:mtagroup /var/spool/postfix/hold


Start MailScanner running again.



-
Jerry Benton
www.mailborder.com



> On May 2, 2015, at 11:56 PM, michael pap <mike at sentinelbox.net> wrote:
> 
> Did I something wrong ?
>  
> I am running 2 childs
>  
> [root at demo3 hold]# ls
> 3484  3519
>  
> By running the mailq command I get those errors?
>  
> [root at demo3 ~]# date
> Sat May  2 23:44:19 EDT 2015
> [root at demo3 ~]# mailq
> Mail queue is empty
> [root at demo3 ~]#
>  
> May  2 23:44:27 demo3 postfix/showq[32579]: warning: hold/3519: uid 89: not a regular file
> May  2 23:44:27 demo3 postfix/showq[32579]: warning: hold/3484: uid 89: not a regular file
>  
> An postfix reload removes both files and then I get the next error …
>  
> [root at demo3 ~]# service postfix reload
> Reloading postfix:                                         [  OK  ]
> [root at demo3 ~]# ls /var/spool/postfix/hold/
> [root at demo3 ~]#
>  
> May  2 23:48:53 demo3 MailScanner[3484]: Could not open file >/var/spool/postfix
> /hold/3484/BF276E1B67.A91BF.header: No such file or directory
> May  2 23:48:53 demo3 MailScanner[3484]: Cannot create + lock headers file /var/                              spool/postfix/hold/3484/BF276E1B67.A91BF.header,
> May  2 23:48:56 demo3 MailScanner[3519]: Could not open file >/var/spool/postfix 
> /hold/3519/BF276E1B67.A91BF.header: No such file or directory
> May  2 23:48:56 demo3 MailScanner[3519]: Cannot create + lock headers file /var/                                  spool/postfix/hold/3519/BF276E1B67.A91BF.header,
>  
> Sat May  2 23:51:33 EDT 2015
> [root at demo3 ~]# ls /var/spool/postfix/hold/
> 1036  1093
>  
> Did somebody get the same result – or my configuration is wrong may there is a way to suppress the showq warnings?
>  
> Thank you,
> mike
>  
>  
>  
>  
>  
>  
>  
>  
> 
> --
> This email has been scanned by the EMFABox eMail service.
> 
> 
> 
> 
> This email has been scanned by the EMFABox eMail service.
> ---------------------------------------------------------
> ID: 732CF42689.AB3C2
> 
> 
> 
> -- 
> MailScanner mailing list
> mailscanner at lists.mailscanner.info <mailto:mailscanner at lists.mailscanner.info>
> http://lists.mailscanner.info/listinfo/mailscanner <http://lists.mailscanner.info/listinfo/mailscanner>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20150503/f10f23ec/attachment.html>


More information about the MailScanner mailing list