Bug? (postfix refuses mail, relay access denied)

Discussion in 'General' started by st2xo, Jan 31, 2006.

  1. st2xo

    st2xo New Member

    a default and fresh ispconfig installation (postfix, using Maildir)

    added a new website with host www and domain.tld
    the mail sending and receiving works fine (smtp_auth, pop/imap etc.)

    After successfully testing with www I´ve added the hosts www2 and www3
    After that postfix refuses all incoming smtp mails (from external servers)

    /var/log/mail:
    Code:
    Jan 31 12:21:34 linux postfix/smtpd[20275]: connect from fmmailgate05.web.de[217.72.192.243]
    Jan 31 12:21:34 linux postfix/smtpd[20275]: NOQUEUE: reject: RCPT from fmmailgate05.web.de[217.72.192.243]: 554 <[email protected]>: Relay access denied; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<fmmailgate05.web.de>
    Jan 31 12:21:34 linux postfix/smtpd[20275]: disconnect from fmmailgate05.web.de[217.72.192.243]
    now I´ve deleted the two additional hostname www2 and www3, but the entrys for www2 and www3 were not have been deleted in /etc/postfix/local-host-name:

    Code:
    ###################################
    #
    # ISPConfig local-host-names Configuration File
    #         Version 1.0
    #
    ###################################
    localhost
    myserver.de
    localhost.myserver.de
    www.domain.tld
    www3.domain.tld
    www2.domain.tld
    #### MAKE MANUAL ENTRIES BELOW THIS LINE! ####
    Also in /etc/postfix/virtusertable:

    Code:
    ###################################
    #
    # ISPConfig virtusertable Configuration File
    #         Version 1.0
    #
    ###################################
    [email protected]    web14_stefan
    [email protected]    web14_stefan
    #### MAKE MANUAL ENTRIES BELOW THIS LINE! ####

    another check the ispconfig:
    ISP Manager / Webs / domain.tld / Co-Domains
    -> no entrys

    Now I wanted to add a host www4, just for checking where entrys would be made in the ispconfig database and then looking for www2 and www3 in the database

    (I had configured the host limit 3 for this web).
    adding the www4 host an error occurs:
    "Die maximale Anzahl Domains des Web wurde erreicht." (german)​
    (in english like "maximum domain count exceeded" or something like that)

    But the www2 and www3 host were already deleted, so the www4 host should have been possible to add.
    Ok, back to the main topic with postfix

    I read the threads with adding a new co-domain with empty host so that the entry domain.tld could be processed for [email protected] and the (unusual) entry www.domain.tld could be processd for [email protected]

    I think I understand now the way ispconfig handles the hostnames, tlds and that stuff. So I deleted the complete web in the ispconfig manager and deleted the trashcan also. All Postfix config files (localhost, virtuser, alias) were now "fresh" and default, no entries. The /home/www directory is empty (except of the servername myserver.tld for itself, no web* directory).

    Ok, new game. Added a new web, but now no I leave the host blank and typed the tld "domain.tld" in the field "domain".
    /home/www/web16 has been created, fine!
    /home/www/domain.tld should have been, but has not been created
    (probably because the field "host" has been left empty)
    in the web-tree in ispconfig the new web "domain.tld" has not been added

    /etc/postfix/local-host-name is now correct, only domain.tld is added
    /etc/postfix/virtusertable is correct to, nothing is added
     
  2. st2xo

    st2xo New Member

    sorry, sorry, this was a mistake!
    This posting is not finished yet, I´m still researching.
     
  3. st2xo

    st2xo New Member

    No bug!
    preparing my posting I hit the enter button by mistake before I´m realy finisihed with writing, researching - and thinking :eek:
    Unfortunately there is no possibilty to delete own postings :(

    The handling with mail, hostnames and tld´s is a little bit confusing at first time. After all its logical, of course, but first you have to get used to it.

    If anybody has the same problems than me and will read this thread - first delete the trashcan in the reseller/client account before thinking there´s an error in the host count limitations

    "peinlich, peinlich" (german) :D
     

Share This Page