The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Outgoing email from script is bouncing

Discussion in 'E-mail Discussions' started by koukou, May 2, 2004.

  1. koukou

    koukou Member

    Joined:
    Oct 8, 2003
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    I have a cPanel server with only one hosting account set up.

    I have a perl membership script on the site that sends new subscribers welcome emails and other correspondence.

    The problem is that 90% of these emails sent out by the server are bouncing because people's ISPs are rejecting them.

    I have tried renaming the machine's hostname but no matter what I try it still bouces email. Here's a typical rejection:

    SMTP error from remote mailer after RCPT TO::
    host operamail-com.mr.outblaze.com [205.158.62.134]:
    550 :
    No thank you rejected: Domain not found


    So it's getting bouced as spam since the domain does not exist.

    The script uses sendmail, but sendmail always uses the machine name so it bouces no matter what I set the machine name to. I've tried several names and then I tried to use a servermatrix name since it's on server matrix.

    Can you give me a clue on how I can make sendmail send these emails out without getting bounced? Thanks in advance.

    Sorry for the newbie question.
    Dwayne
     
  2. knipper

    knipper Well-Known Member

    Joined:
    Sep 4, 2001
    Messages:
    107
    Likes Received:
    0
    Trophy Points:
    16
    You need to make sure that the hostname has reverse DNS set up with the data center. That appears to be the most common problem.

    You can check to see what is reurned by using http://www.dnsstuff.com

    If you have control of the server, check to make sure that the checkbox that says "Prevent the user 'nobody' from sending out mail to remote addresses" is not check unless you are using suexec and phpsuexec. (Even then it sometimes causes problems)

    Take a look at the error logs as well. You may get some additional details on the bounces as well.

    Start there and see what happens. Good Luck.
     
  3. koukou

    koukou Member

    Joined:
    Oct 8, 2003
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Thanks Knipper;

    There was an error

    *ERROR* A record does not point back to original IP.

    in the reverse DNS lookup.

    Apreciate the help!

    --
    Dwayne
     
  4. jeroman8

    jeroman8 Well-Known Member

    Joined:
    Mar 14, 2003
    Messages:
    410
    Likes Received:
    0
    Trophy Points:
    16
    What did you do to fix it then ??

    The a record issue - where should it point to then...
     
Loading...

Share This Page