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

Problems with mails send by server.

Discussion in 'Plesk for Linux - 8.x and Older' started by jaimecc, Feb 14, 2007.

  1. jaimecc

    jaimecc Guest

    0
     
    Hi, I have a server with Suse and Plesk 7.5 Reloaded. I have diferents scrips that supost to sand mails automaticaly (OsCommerce). But the mails are not send. When I view the Mail Log I see the folowing error:

    Feb 13 08:25:00 su911328 qmail-queue: dwlib[14799]: mail: all addreses are uncheckable - need to skip scanning (by deny mode)
    Feb 13 08:25:00 su911328 qmail-queue: dwlib[14799]: scan: the message(drweb.tmp.9zYmmV) sent by anonymous@su911328.aspadmin.net to xxxx@yyyy.com.mx should be passed without checks, because contains uncheckable addresses
    Feb 13 08:25:00 su911328 qmail: 1171383900.699858 new msg 882972
    Feb 13 08:25:00 su911328 qmail: 1171383900.699938 info msg 882972: bytes 1280 from <anonymous@su911328.aspadmin.net> qp 14800 uid 30
    Feb 13 08:25:00 su911328 qmail: 1171383900.718975 starting delivery 247: msg 882972 to remote xxxx@yyyy.com.mx
    Feb 13 08:25:00 su911328 qmail: 1171383900.719029 status: local 0/10 remote 2/20
    Feb 13 08:25:00 su911328 qmail: 1171383900.787441 delivery 247: failure: Connected_to_209.126.250.42_but_sender_was_rejected./Remote_host_said:_553_5.1.8_<anonymous@su911328.aspadmin.net>..._Domain_of_sender_address_anonymous@su911328.aspadmin.net_does_not_exist/
    Feb 13 08:25:00 su911328 qmail: 1171383900.787572 status: local 0/10 remote 1/20


    Any idea how can I fix this problem?
    Thanks
     
  2. JnascECSI

    JnascECSI New Pleskian

    22
    73%
    Joined:
    Sep 9, 2006
    Messages:
    20
    Likes Received:
    0
    I have the exact same problem with FC4 and 8.1 . I've yet to find the answer except for a hacking the shopping cart to use the info@domain.com for each domains cart. Their should be a way to change the "anonymous@" so it's not getting stuck in the mail queue. one major issue i have is Cox Communications won't let any emails thru and my cleints are going nuts over losing business but seems no one has a answer to where you can change that anonymous@ in the PSA so it won't get blocked.
     
  3. eugenevdm

    eugenevdm Silver Pleskian

    30
    68%
    Joined:
    Nov 11, 2003
    Messages:
    611
    Likes Received:
    0
    I tried everything such as changing the headers, adding return-to and return-path but in the end this article did the job:

    http://kb.swsoft.com/en/1251

    To set the correct headers for the Return-Path you need to use the code like below:

    putenv ("QMAILUSER=USER");
    putenv ("QMAILNAME=FULL_USER_NAME");
    putenv ("QMAILHOST=DOMAIN");
    $headers = "MIME-Version: 1.0\r\n";
    $headers .= "Content-type: text/plain;charset=us-ascii\r\n";
    $headers .= "From: FULL_USER_NAME <USER@DOMAIN>";
    $to="mail@domain.tld";
    $subject = "Testing email";
    $body = "";
    $err = mail($to, $subject, $body, $headers);

    In result mail will have FULL_USER_NAME<USER@DOMAIN> in Return-Path.
     
  4. eugenevdm

    eugenevdm Silver Pleskian

    30
    68%
    Joined:
    Nov 11, 2003
    Messages:
    611
    Likes Received:
    0
    If you still get strange results such as a blank FROM field and the header stuck to the beginning of the e-mail's body, try removing the /r and just leave /n. On my system I had to do that.
     
Loading...