Mail stuck in /var/spool/postfix/hold

Mark Sapiro mark at msapiro.net
Wed Jun 16 14:18:12 UTC 2021


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 <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


More information about the MailScanner mailing list