Mandriva 2006 : infinite loop mails ! Aargh

Discussion in 'Installation/Configuration' started by dreamed, Feb 13, 2006.

  1. dreamed

    dreamed New Member

    Hello

    I have made an installation of ISP CONFIG,

    I have two domains but I don't know how to uses it (in main.cf and in ispconfig)

    In my main.cf, I have
    hostname=MYDOMAIN.COM
    myhostname=MYDOMAIN.COM

    and another domain configured into ISP config :
    MYDOMAIN2.COM seems to receive mail correctly...

    BUT

    When I consult the second mail email address, I see an infinite mail into the mailbox !!! In the log of Postfix, it loops infinite :

    Feb 13 13:03:36 server1 postfix/smtp[19801]: 0413B83F9E: to=<[email protected]>, orig_to=<admispconfig@localhost>, relay=none, delay=0, status=bounced (Host or domain name not found. Name service error for name=localhost.MYDOMAIN.com type=A: Host not found)
    Feb 13 13:03:36 server1 postfix/cleanup[19802]: 2022483FA7: message-id=<[email protected]>
    Feb 13 13:03:36 server1 postfix/qmgr[3737]: 2022483FA7: from=<>, size=2207, nrcpt=1 (queue active)
    Feb 13 13:03:36 server1 postfix/qmgr[3737]: 0413B83F9E: removed
    Feb 13 13:03:36 server1 postfix/smtpd[18364]: connect from NAME[MYIPADDRESS]
    Feb 13 13:03:36 server1 postfix/smtp[19801]: 2022483FA7: to=<[email protected]>, relay=MYDOMAIN.com[MYIPADDRESS], delay=0, status=bounced (mail for MYDOMAIN.com loops back to myself)
    Feb 13 13:03:36 server1 postfix/qmgr[3737]: 2022483FA7: removed
    Feb 13 13:03:36 server1 postfix/smtpd[18364]: disconnect from NAME[MYIPADDRESS]
    Feb 13 13:03:37 server1 postfix/local[19804]: 8244184411: to=<[email protected]>, relay=local, delay=3676, status=sent (delivered to command: /usr/bin/procmail -f-)
    Feb 13 13:03:37 server1 postfix/qmgr[3737]: 8244184411: removed
    Feb 13 13:03:37 server1 postfix/pickup[18190]: 1542183F9E: uid=10006 from=<web15_eddy>
    Feb 13 13:03:37 server1 postfix/cleanup[19802]: 1542183F9E: message-id=<[email protected]>
    Feb 13 13:03:37 server1 postfix/qmgr[3737]: 1542183F9E: from=<[email protected]>, size=350, nrcpt=1 (queue active)
    Feb 13 13:03:37 server1 postfix/smtp[19801]: 1542183F9E: to=<[email protected]>, orig_to=<admispconfig@localhost>, relay=none, delay=0, status=bounced (Host or domain name not found. Name service error for name=localhost.MYDOMAIN.com type=A: Host not found)



    Can you explain me how I have to set up postfix and ISP config for this 2 domains (and after for others) for mail and DNS


    How to stop this infinite loop ? :eek:


    Thanks a lot !!!

    ED
     
  2. falko

    falko Super Moderator ISPConfig Developer

    Please put localhost.MYDOMAIN.com into /etc/hosts (in the line that begins with 127.0.0.1).
    Furthermore put MYDOMAIN.com at the end of /etc/postfix/local-host-names (where it says that you are allowed to make manual entries) and restart Postfix.
     

Share This Page