How to set up correctly from field for sendmail

Discussion in 'HOWTO-Related Questions' started by carstos, May 29, 2008.

  1. carstos

    carstos New Member

    Hello,

    I am sending mail from with sendmail and when someone receives an email from me , the headers say this:

    from mydomain.com (mydomain.theplanet.host [127.0.0.1])

    Why? Shouldn't be something else? Without theplanet and 127.0.0.1 ?
     
  2. falko

    falko Super Moderator ISPConfig Developer

    You must set the correct sender address in your email client.
     
  3. carstos

    carstos New Member

    I am afraid is not that. I double checked. I even send the email from shell. Same result. Sendmail is the one who add that thing. My client only put mydomain.com
     
  4. falko

    falko Super Moderator ISPConfig Developer

    Can you post the full headers of a sample email?
     
  5. carstos

    carstos New Member

    Headers are below. Some people receiving my emails find them in spam folder. Probably because of the thing I was asking about.

    Return-Path:<[email protected]>
    Authentication-Results:mta228.mail.re3.yahoo.com from=mydomain.com; domainkeys=neutral (no sig)
    Received: from xx.xx.xx.xx (EHLO mydomain.com) (xx.xx.xx.xx) by mta228.mail.re3.yahoo.com with SMTP; Mon, 02 Jun 2008 00:38:03 -0700
    Received: from mydomain.com (mydomain.theplanet.host [127.0.0.1]) by mydomain.com (8.13.8/8.13.8) with ESMTP id m527Kc0M001312; Mon, 2 Jun 2008 02:20:38 -0500
    Received: (from [email protected]) by mydomain.com (8.13.8/8.13.8/Submit) id m527KcR9001311; Mon, 2 Jun 2008 02:20:38 -0500
    Date: Mon, 2 Jun 2008 02:20:38 -0500
    From:
    [email protected]
    Add sender to Contacts
    Message-Id: <[email protected]>
    To: [email protected]
    Subject: test
    Content-Length: 12
     
  6. falko

    falko Super Moderator ISPConfig Developer

    Oh, you mean that line. I don't think you can change that.
    But regarding the spam issue: please check if you're blacklisted: http://mxtoolbox.com/blacklists.aspx
    Also, do you have an SPF record for your domain?
     

Share This Page