Mail server "postfix"

Discussion in 'Technical' started by osol_ajeet, Sep 16, 2013.

  1. osol_ajeet

    osol_ajeet New Member

    We have 5 IPaddresses on mail server and i want use all these ips for rely with individual hostname.

    Please help for the same.

    Thanks..

    Postfix Multiple IP Address, Individual SMTP Hostname Gr
    Information

    Already followed the instruction
    Create a command of sending test with SMTP mail.azooka.us
    Header of the received email
    Analyse the header
    Problem: How to remove the information of the Main IP (173.230.241.136) & Hostname mail.azooka.us ??

    Information ,,,
    Main IP: 173.230.241.136
    Hostname: mail.azooka.us

    Other IP: 173.230.241.137
    Hostname: mail.azooka.us

    Other IP: 173.230.241.138
    Hostname: mail1.azooka.us


    Other IP: 173.230.241.139
    Hostname: mail2.azooka.us

    I want that each time using 1 SMTP to send email, it just shows the information of 1 IP & 1 host name in the email header. Now I see that it always shows the information of Main IP (173.230.241.136) & Hostname mail.azooka.us

    Already followed the instruction
    http://www.linuxmail.info/postfix-multiple-ip-address-smtp-greeting/
    master.cf
    localhost:smtp inet n - n - - smtpd
    173.230.241.137:smtp inet n - n - - smtpd
    173.230.241.138:smtp inet n - n - - smtpd -o myhostname=mail1.azooka.us

    Create a command of sending test with SMTP mail1.azooka.us
    [root@s27 ~]# 501 Syntax: EHLO hostname
    mail from: mail1.azooka.us
    250 2.1.0 Ok
    rcpt to: [email protected]
    250 2.1.5 Ok
    data
    354 End data with <CR><LF>.<CR><LF>
    Subject: Hieu test
    Hi u.
    .
    250 2.0.0 Ok: queued as C0873428987
    421 4.4.2 s22.vangxa1.com Error: timetelnet s22.vangxa1.com 25
    Trying 184.172.219.242...
    Connected to mail1.azooka.us (173.230.241.138).
    Escape character is ,]'.
    220 s22.vangxa1.com ESMTP Postfix
    ehlo
    out exceeded
    Connection closed by foreign host.

    Header of the received email
    Return-path: <[email protected]>
    Envelope-to: [email protected]
    Delivery-date: Thu, 12 Sep 2013 11:49:26 +0000
    Received: from [173.230.241.136] (port=45225 helo=mail.azooka.us)
    by node11.hostingmantra.com with esmtp (Exim 4.80.1)
    (envelope-from <[email protected]>)
    id 1VK5Oo-00025l-1v
    for [email protected]; Thu, 12 Sep 2013 11:49:26 +0000
    Received: from osol011 (unknown [122.160.151.210])
    by mail1.azooka.us (Postfix) with ESMTPA id C6803539203
    for <[email protected]>; Thu, 12 Sep 2013 07:49:25 -0400 (EDT)
    DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=azooka.us;
    s=mail.azooka.us_default.key.pem; t=1378986567;
    bh=d+jya8xKA4TwZlhcrtviMmo0aJNMzKJC/uH9lIdaShY=;
    h=Date:From:Message-ID:To:Subject:MIME-Version:Content-Type:
    Content-Transfer-Encoding;
    b=w1HEpvlIWrWrzDhN04nYFJDmde1PzkE++hqwYvN+nsBFRYovayEUXJNmXtTr9iMbF
    +++WstffCs4ZBIQMtTpGrASdA6JQDTJMRsj3Rd3/8RGvMD6z2Ep2pd0EiKBC5EBT5g
    +sLwqYfeljjvesDUQ8VI8+OsqxnWIsoJdVQ+qxSQ=
    Date: Thu, 12 Sep 2013 17:19:26 +0530
    From: user1 <[email protected]>
    X-Priority: 3 (Normal)

    Analyse the header
    at http://www.gaijin.at/en/olsmailheader.php then given the warning

    The host names are not the same! The recipient of this entry (mail1.azooka.us) must be the sender of the next entry (mail.azooka.us).
    This is often due to an IP address change, such as network address translation (NAT) of a private IP address to a public one.

    problem: How to remove the information of the Main IP (173.230.241.136) & Hostname mail.azooka.us ??
     

Share This Page