Aaron Bennett:
> Hi,
> 
> I've got a number of message (150-200) on each of three mail relays stuck in 
> the maildrop queue generating pickup permission denied warnings as follows:
> 
> Jan  3 18:18:29 megalon postfix/pickup[12469]: warning: maildrop/BC4872E769C: 
> Permission denied
> 
> The messages are not particularly unusual.  The permission of the maildrop 
> directory are:
> 
> drwx-wx--- 2 postfix postdrop 4096 Jan  3 17:30 
> 
> And the files are all:
> 
> -rwx------ 1 postfix postfix 3973 Dec  2 20:19 84AA92E75BC
> 
> And I can do 'sudo -u postfix postcat <QUEUEFILE>' on them and see the 
> messages.  I can also do postsuper -d <QUEUEFILE> on individual messages and 
> delete them that way.  
> 

The permissons are normal, therefore you have either

- A corruped file system (not possible, since postcat can read the
  file).

- Other file OR directory permission attributes that the "ls"
  command does not show but that allow you to view the files with
  sudo postcat.

- Other "security" features (SeLinux etc) that don't allow the
  pickup daemon to open files owned by the postfix user. Such files
  exist when you move queue files with "postsuper -r".

        Wietse

Reply via email to