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

Mail Deamon

Discussion in 'Plesk for Linux - 8.x and Older' started by yoohosting, Sep 9, 2005.

  1. yoohosting

    yoohosting Guest

    Hi all,

    I have something strange on my server.

    I receive in my admin email box all mail errors instead of receive them in the box who send the orginal email.


    client@dom.tld send an email to blabla@hot.com and this email adresse doesnt existe.. so I receive the message from the mailer deamon and not the sender

    what can be the setting I have to check for this?
  2. jamesyeeoc

    jamesyeeoc Guest

    Do you have any 'catchall' account settings setup on the domain?
  3. yoohosting

    yoohosting Guest

    yes but it is not used
  4. jamesyeeoc

    jamesyeeoc Guest

    I asked if it was setup, you say 'yes but it is not used'. If it is setup, then it is in use. I was not asking if your Plesk has the option, but if it is selected and has an email address in the field. If it does, then it is in use.

    Use SSH and check the file:


    It is a hidden file, so to see it you have to do a 'ls -al', see if it has something like:


    in it.

    Also check the contents of:




    to see if your email address is referenced in either one.
  5. yoohosting

    yoohosting Guest

    for the concerning domain, the catchall email is not the one I use for the admin... That's why I said yes it is set (to an other email account)

    I just saw that the original mail was sent from a php page, and the answer is sent to the admin... can be the problem?
  6. jamesyeeoc

    jamesyeeoc Guest

    What does the php script use as the original or reply-to email address? It is possible that it is the source of your problem.
  7. yoohosting

    yoohosting Guest

    this is the code of the page

    $m= new Mail; // create the mail
    $m->Bcc($BCC); // array of email adress blind copy for newsletter suscribers
    $m->Body($mail_msg); // set the body
    if (!empty($mail_attachment)) {
    if (is_array($mail_attachment)) {
    for ($i = 0; $i < count($mail_attachment); $i++) {
    if (is_uploaded_file($mail_attachment[$i])) {
    $m->Attach($mail_attachment[$i], $mail_attachment_name[$i], $mail_attachment_type[$i]);
    } else {
    if (is_uploaded_file($mail_attachment)) {
    $m->Attach($mail_attachment, $mail_attachment_name, $mail_attachment_type);