Mail stuck in /var/spool/postfix/hold

Mark Sapiro mark at msapiro.net
Fri Jun 18 01:19:35 UTC 2021


On 6/16/21 11:36 PM, Remco Barendse wrote:
> 
> total 32
> 4 drwxr-xr-x  8 debian-spamd debian-spamd 4096 Jun 11 14:42 ./
> 4 drwxr-xr-x 45 root         root         4096 Jun 13 14:18 ../
> 4 drwxr-xr-x  3 root         root         4096 Jun 14 06:25 3.004004/
> 4 drwxr-xr-x  3 debian-spamd debian-spamd 4096 Jun  5 11:35 compiled/
> 4 drwxr-xr-x  2 debian-spamd debian-spamd 4096 Jun 11 14:42 .pyzor/
> 4 drwxr-xr-x  2 postfix      mtagroup     4096 Jun 11 14:41 .razor/
> 4 drwx------  3 debian-spamd debian-spamd 4096 Jun  9 22:00 sa-update-keys/
> 4 drwx------  3 debian-spamd debian-spamd 4096 Jun  5 11:34 .spamassassin/


The original issue is only the debian-spamd user has permission to 
create the .pyzor directory.

Now that it's created, there are still issues because only the 
debian-spamd user can write to it. This is not an issue with .razor 
because postfix is the owner. I suggest

sudo chmod 775 /var/spool/postfix/.pyzor /var/spool/postfix/.razor
sudo chown postfix:mtagroup /var/spool/postfix/.pyzor


-- 
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