1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Postfix virtual.db Permission Denied

Discussion in 'Plesk 10.x for Linux Issues, Fixes, How-To' started by German Wider, Apr 23, 2012.

  1. German Wider

    German Wider Guest

    0
     
    Dear Colleagues, dear Support!

    I'm seeing the following quite a lot recently in my maillogs.

    Apr 23 08:33:48 xxxxxxx postfix/postalias[3630]: fatal: open database /var/spool/postfix/plesk/virtual.db: Permission denied
    Apr 23 10:33:48 xxxxxxx qmail-queue-handlers[3621]: handlers_stderr: postalias: fatal: open database /var/spool/postfix/plesk/virtual.db: Permission denied

    I can recreate the error reliably by sending an email to two addresses: Address A (which is on the server and forwards to Address B) and to Address B directly. In this case only one email is being delivered.
    But I'm not sure if this is necessarily related to the issue.

    Is anyone experiencing similar issues and could point me towards a solution?
    Thanks a lot!
     
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,557
    Likes Received:
    1,242
    Location:
    Novosibirsk, Russia
    Make sure that you have the same permissions there:

     
  3. Michael Wa.

    Michael Wa. Basic Pleskian

    20
    57%
    Joined:
    Feb 12, 2010
    Messages:
    31
    Likes Received:
    0
    Yes they are the same as far as I can see:

     
  4. Singular

    Singular Guest

    0
     
    I am having this problem as well. Is there a fix for this yet? It started after the most recent automatic update.
     
  5. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,557
    Likes Received:
    1,242
    Location:
    Novosibirsk, Russia
    Last edited: Apr 24, 2012
  6. Michael Wa.

    Michael Wa. Basic Pleskian

    20
    57%
    Joined:
    Feb 12, 2010
    Messages:
    31
    Likes Received:
    0
    ---------------------------------------------------------------
    Plesk Panel, 10.4.4 Update #27, Linux 2.6.18-028stab095.1 - CentOS release 5.8 (Final) , x86_64

    PROBLEM DESCRIPTION

    You can recreate the error reliably by sending an email to two addresses: Address A (which is on the server and forwards to Address B) and to Address B directly. In this case only one email is being delivered.

    Error Log:
    Apr 23 08:33:48 xxxxxxx postfix/postalias[3630]: fatal: open database /var/spool/postfix/plesk/virtual.db: Permission denied
    Apr 23 10:33:48 xxxxxxx qmail-queue-handlers[3621]: handlers_stderr: postalias: fatal: open database /var/spool/postfix/plesk/virtual.db: Permission denied

    --------------------------------------------------------------
     
  7. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,557
    Likes Received:
    1,242
    Location:
    Novosibirsk, Russia
    Did you try - http://forum.parallels.com/showpost.php?p=622546&postcount=8 ?
     
  8. German Wider

    German Wider Guest

    0
     
    Hi Igor,

    yes we tried reinstalling the mail drivers. Apparently that didn't help.

    What strikes me as odd is the reference to Postfix in this path "Apr 23 08:33:48 xxxxxxx postfix/postalias[3630]: fatal: open database /var/spool/postfix/plesk/virtual.db: Permission denied".
    We're using Qmail.
    Initially we had Postfix running, but then switched back to Qmail. Is it possible that some configuration wans't replaced properly?

    Thanks for your help!
    German
     
  9. German Wider

    German Wider Guest

    0
     
    Sorry, please ignore.
    It seems the problem was resolved, after all, as the error messages are no longer being displayed.
    The failed mail delivery must have had a different cause in this case.
    Apologies!
     
  10. Flachzange

    Flachzange Basic Pleskian

    26
     
    Joined:
    Jul 1, 2009
    Messages:
    71
    Likes Received:
    0
    As I had the same problem: Check the file permission of the parent folder "plesk". I had to assign 771 to make it work. Don't know why the user is not in group postfix. Sending of mails is now a bit faster.

     
Loading...