Server Name in Mail Greeting

Discussion in 'Installation/Configuration' started by Hawker, Mar 2, 2007.

  1. Hawker

    Hawker New Member

    I started a new thread on this because I hate mixed topics. :)

    I tried changing myhostname to $mydomain and that just completely stopped the mail server from responding.

    I know in Plesk, you just needed to add a second A record pointing to the server's mail IP. That cleared any errors for the mail checks at DNS Reports. I tried that in IPConfig but got an error that the A record already exists.

    Now, it may be I have something set incorrectly in IPConfig too. Here's what I have for each domain in their DNS entries

    A Records
    ###.###.###.218 www
    ###.###.###.218 mail

    MX
    Mailserver
    www.mysiteX.com

    The server itself is...

    A Records
    ###.###.###.220 www
    ###.###.###.220 mail

    MX
    Mailserver
    www.server.com

    In the mail check, it shows www.server.com. I need to to respond with www.mysitex.com.
     
    Last edited: Mar 2, 2007
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Thats not a DNS issue as I said already in my previous post. If plesk mixes mailsettings up with DNS settings it is not nescessary a DNS setting :) Please change myhostname and mydomain and then post the errors you get in your mail log.
     
  3. Hawker

    Hawker New Member

    Changed
    #myhostname = virtual.domain.tld
    and
    #mydomain = domain.tld

    To:

    myhostname = $mydomain
    and
    mydomain = $mydomain

    Fatal: Unreasonable macro nesting: "$mydomain"
    Warning: Process /usr/libexec/postfix/smtpd pid 7652 exit status 1
    Warning: Process /usr/libexec/postfix/smtpd: bad command startup --throttling

    Now with that said, the unreasonable nesting is mydomain = $mydomain. BUT, that needs to be variable since there is more than one domain on the server.

    The DNS Report says this (I KNOW it's not a DNS problem) :)

    www.domain.com claims to be non-existent host server.server.com:
    220 server.server.com ESMTP Postfix
     
    Last edited: Mar 2, 2007
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Why did you do this? $mydomain is a vriable and you can not asign it to itself!

    I told you that you should add your domain there. So if your domain is e.g. hawker.com, then add:

    myhostname = hawker.com
    mydomain = hawker.com

    Thats completely wrong. The other domains are listed in the file /etc/postfix/local-host-names.
     

Share This Page