Mail stuck in /var/spool/postfix/hold
mailscanner at barendse.to
Mon Jun 21 14:19:58 UTC 2021
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
> Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
> San Francisco Bay Area, California better use your sense - B. Dylan
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
More information about the MailScanner