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

Discussion in 'Plesk 10.x for Linux Issues, Fixes, How-To' started by hr.kam, Nov 10, 2011.

  1. hr.kam

    hr.kam Guest

    0
     
    Hello, after we are switching from qmail to postfix, email queue starts growing and postfix starts produce errors.
    Some emails are delivered without problem but many stays in deferred que.

    postqueue -p display this error:

    "(temporary failure. Command output: sh: /usr/sbin/sendmail: No such file or directory 4.2.1 Message can not be delivered at this time)"

    We have latest Plesk version (10.3.1) on CentOS 5. All updates are installed.

    Please, Any advice?

    Thank you.

    Sorry for my english. Im not native speaker.
     
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Do you have the same structure?

    # ls -la /usr/sbin/sendmail
    lrwxrwxrwx 1 root root 21 Apr 21 2011 /usr/sbin/sendmail -> /etc/alternatives/mta
    # ls -la /etc/alternatives/mta
    lrwxrwxrwx 1 root root 26 Nov 9 16:56 /etc/alternatives/mta -> /usr/sbin/sendmail.postfix
     
  3. hr.kam

    hr.kam Guest

    0
     
    No, second is different:

    # ls -la /etc/alternatives/mta
    lrwxrwxrwx 1 root root 23 Nov 10 13:26 /etc/alternatives/mta -> /var/qmail/bin/sendmail
     
  4. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
  5. hr.kam

    hr.kam Guest

    0
     
    I was try reinstall postfix with this command:
    /usr/local/psa/admin/sbin/autoinstaller --select-release-current --install-component postfix

    but I recived:
    Parallels Containers were detected. Trying to connect to VZAgent...Warning! Failed to connect to VZAgent: open: No such device or address
    Detecting installed product components.
    You already have the latest version of product(s) and all selected components installed. Installation will not continue.

    I was send some test emails. Some accounts works well, but some accounts didnt recive message. This messages still stay in deffered queue. Most of this problematic accounts has forward to another account. For example: account servis is forwarded to another three accounts.

    Perhaps it will be useful.

    Thank you for your care.

    One more thing. Is it possible update to PLesk 10.4? Maybe, this helps.
     
    Last edited by a moderator: Nov 11, 2011
Loading...