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