Email Issues

Discussion in 'Installation/Configuration' started by thecaptainjs, Jan 9, 2007.

  1. thecaptainjs

    thecaptainjs New Member

    Basically, I can send email to some places, but not others.
    When I send to my yahoo address, here are some of the headers:

    EHLO localhost.localdomain
    Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by localhost.localdomain (Postfix) with ESMTP id DCE653885AD
    Received: (from [email protected]) by localhost.localdomain

    They shouldnt be like that, so how do I fix that. (I believe this is causing other problems).


    A bounce I get from another mail server: "554 <[email protected]>: Sender address rejected: Domain not found (in reply to RCPT TO command))


    Ive been working on fixing this all day! I fixed a few other problems to get to this stage, but I am stuck here! And my inexperience in linux (fedora) doesnt help.


    edit: I fixed the :EHLO localhost.localdomain to what it should be. (Was located in the main.cf file for postfix)
    The rest still say as above. The email i was trying to send finally started working, but should the rest of them be fixed up there?

    I get warning in my logs as well, such as:
    "Cannot load Certificate Authority Data" Warning TS Library problem....
     
    Last edited: Jan 9, 2007
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    What is the output of the commands:

    hostname

    and

    hostname -f

    which linux distribution do you use?
     
  3. thecaptainjs

    thecaptainjs New Member

    Heh, Fedora i believe.

    Localhost

    and

    Localhost.localdomain


    I assume that needs to be changed.. where do I change it?
     
  4. mphayesuk

    mphayesuk Member

    Does the contents of your hosts file like like this (except for the firs line)

    server1:/etc # vi hosts
    #
    # hosts This file describes a number of hostname-to-address
    # mappings for the TCP/IP subsystem. It is mostly
    # used at boot time, when no name servers are running.
    # On small systems, this file can be used instead of a
    # "named" name server.
    # Syntax:
    #
    # IP-Address Full-Qualified-Hostname Short-Hostname
    #

    127.0.0.1 localhost.localdomain localhost

    # special IPv6 addresses
    ::1 localhost ipv6-localhost ipv6-loopback

    fe00::0 ipv6-localnet

    ff00::0 ipv6-mcastprefix
    ff02::1 ipv6-allnodes
    ff02::2 ipv6-allrouters
    ff02::3 ipv6-allhosts
    212.xxx.xxx.xxx xxx.domainxxx.co.uk server1
    212.xxx.xxx.xxx xxx.domainxxx.co.uk
     
  5. thecaptainjs

    thecaptainjs New Member

    Yea, basically (nothing about IPv6 though).
     
  6. mphayesuk

    mphayesuk Member

    look in the postfix config file and see if at the bottom of it your server name and domain are specified.... I think

    At the bottom of your hosts file where the ip's are listed (212.xxx....) what is the server name and domain name.

    What I would say is that it would be better to change the hostname and domain name of your system.
     
  7. thecaptainjs

    thecaptainjs New Member

    actually this is the full text of my /etc/hosts

    #Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1 localhost.localdomain localhost

    How do I change the hostname and domain name?
     
  8. martinfst

    martinfst ISPConfig Developer ISPConfig Developer

    Try
    Code:
    postconf -n | grep myhostname
    . Do you see a valid tld ? If not change it with
    Code:
    postconf -e 'myhostname = xxx.your domain.tld'
    . And check the contents of /etc/mailname
     

Share This Page