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

Remco Barendse <[email protected]>
Newsgroups gmane.mail.virus.mailscanner
Message-ID <[email protected]>
I did complete 'from scratch' install, again permissions problem

/var/spool/MailScanner/archive was created with
4 drwxrwxr-x 2 mail mtagroup 4096 Jun 21 13:52 archive/

And MailScanner would not write an archive copy of the email there 
but..... also does not complain that writing of the archive copy failed.

After changing perms to postfix:postfix it works as excpected.

Guess this is somethig to be be fixed as other people using the 
archive function will run into it as well :)


On Wed, 16 Jun 2021, Mark Sapiro wrote:

> 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
> mailscanner-qhrM8SXbD5JTOyd/[email protected]
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
>
>



-- 
MailScanner mailing list
mailscanner-qhrM8SXbD5JTOyd/[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.