Re: Mail stuck in /var/spool/postfix/hold

Mark Sapiro <[email protected]>
Newsgroups gmane.mail.virus.mailscanner
Message-ID <[email protected]>
On 6/16/21 12:48 AM, Remco Barendse wrote:
> I noticed that ms-config did install pyzor, doing
>   MailScanner -debug --lint
> reveals this :
> internal error, python traceback seen in response: Traceback (most 
> recent call last):\n  File "/bin/pyzor", line 408, in <module>\n    
> main()\n File "/bin/pyzor", line 131, in main\n    config, options, args 
> = load_configuration()\n  File "/bin/pyzor", line 107, in 
> load_configuration\n    os.mkdir(options.homedir)\nPermissionError: 
> [Errno 13] Permission denied: '/var/spool/postfix/.pyzor' at 
> /usr/local/share/perl/5.30.0/Mail/SpamAssassin/Plugin/Pyzor.pm line 308.
> SpamAssassin reported no errors.
> 
> There is no such directory /var/spool/postfix/.pyzor the installer 
> didn't create it.

The traceback above is from bin/pyzor trying to create it and the error 
is because the user doesn't have permission. This is strange since Run 
As User is postfix and postfix should have permission. What does

ls -l /var/spool/postfix

show?

-- 
Mark Sapiro <[email protected]>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


-- 
MailScanner mailing list
[email protected]
http://lists.mailscanner.info/mailman/listinfo/mailscanner
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.