about postfix

Discussion in 'General' started by flourishing, Dec 10, 2005.

  1. flourishing

    flourishing ISPConfig Developer ISPConfig Developer

    make me crazy .
    i have enabled maidir in managemnet-server-setting.
    and
    Code:
    /etc/postfix/virtusertable
    /etc/postfix/local-host-names
    and here is the file virtusertable and local-host-name

    Code:
    ##################################
    #
    # ISPConfig virtusertable Configuration File
    #         Version 1.0
    #
    ###################################
    [email protected]    web1_hello
    [email protected]    web1_hello
    #### MAKE MANUAL ENTRIES BELOW THIS LINE! ####
    ~
    
    and user hello is there.

    this is the file local-host-name
    Code:
    ###################################
    #
    # ISPConfig local-host-names Configuration File
    #         Version 1.0
    #
    ###################################
    localhost
    freelamp
    localhost.freelamp
    test.jmugs981.org
    #### MAKE MANUAL ENTRIES BELOW THIS LINE! ####
    jmugs981.org
    ~
    
    jmugs981.org is there too.

    and now send a mail from [email protected]
    this is the maillog
    Code:
    Dec 10 22:37:09 freelamp postfix/smtpd[1824]: connect from unknown[202.110.193.28]
    Dec 10 22:37:10 freelamp postfix/smtpd[1824]: NOQUEUE: reject: RCPT from unknown[202.110.193.28]: 550 <[email protected]>: Recipient address rejected: User unknown in local recipient table; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<mx2.qingdao.cn>
    Dec 10 22:37:10 freelamp postfix/smtpd[1824]: disconnect from unknown[202.110.193.28]
    
    here is the Undelivered Mail Returned to Sender msg

    Code:
    <[email protected]>: host jmugs981.org[211.144.137.88] said: 550
        <[email protected]>: Recipient address rejected: User unknown in local
        recipient table (in reply to RCPT TO command)
    and check the hello mail . got nothing. send mail out is ok.

    and here is the main.cf , i also foud two lines

    virtual_maps = hash:/etc/postfix/virtusertable

    mydestination = /etc/postfix/local-host-names

    what 's problem????
     

    Attached Files:

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    1) Delete the manual entry jmugs981.org in the local hostnames file.

    2) Go in the ISPConfig interface and add a Co-Domain jmugs981.org (with empty hostname!) to the website test.jmugs981.org
     
  3. falko

    falko Super Moderator ISPConfig Developer

  4. flourishing

    flourishing ISPConfig Developer ISPConfig Developer

    i did as you guys said.

    now here is my virtusertables
    Code:
    ###################################
    #
    # ISPConfig virtusertable Configuration File
    #         Version 1.0
    #
    ###################################
    [email protected]    web1_hello
    [email protected]    web1_hello
    [email protected]    web1_hello
    [email protected]    web1_hello
    #### MAKE MANUAL ENTRIES BELOW THIS LINE! ####
    
    and here is the local -host name
    Code:
    ###################################
    #
    # ISPConfig local-host-names Configuration File
    #         Version 1.0
    #
    ###################################
    localhost
    freelamp
    localhost.freelamp
    test.jmugs981.org
    jmugs981.org
    #### MAKE MANUAL ENTRIES BELOW THIS LINE! ####
    
    but can't receive any mail too.

    here is the mail [email protected] returned msg.

    Code:
    This  is  the  Postfix  program  at  host  mail.jmugs981.org.
     
    I'm  sorry  to  have  to  inform  you  that  your  message  could  not  be
    be  delivered  to  one  or  more  recipients.  It's  attached  below.
     
    For  further  assistance,  please  send  mail  to   <postmaster >
     
    If  you  do  so,  please  include  this  problem  report.  You  can
    delete  your  own  text  from  the  attached  returned  message.
     
    The  Postfix  program
     
    <[email protected] >  (expanded  from   <[email protected] >):  mail  for
           mail.jmugs981.org  loops  back  to  myself
     
     
     
    Powered  by  MessageSoft  SMG  
     
    Reporting-MTA:  dns;  mail.jmugs981.org
    X-Postfix-Queue-ID:  C206D34588
    X-Postfix-Sender:  rfc822;  [email protected]
    Arrival-Date:  Sat,  10  Dec  2005  23:10:58  +0800  (CST)
     
    Final-Recipient:  rfc822;  [email protected]
    Original-Recipient:  rfc822;  [email protected]
    Action:  failed
    Status:  5.0.0
    Diagnostic-Code:  X-Postfix;  mail  for  mail.jmugs981.org  loops  back  to  myself
     
    ------------------------------------------------------------
    From:    "jiangpeirong"   <[email protected] >
    To:    "hello"   <[email protected] >
    Subject:      
    Date:    Sat10  Dec  2005  22:48:04  +0800
     
    feee
     
     
     
    d
    jiangpeirong
    2005-12-10
     
    ------------------------------------------------------------
     
  5. falko

    falko Super Moderator ISPConfig Developer

    Put mail.jmugs981.org at the end of /etc/postfix/local-host-names (in a new line after #### MAKE MANUAL ENTRIES BELOW THIS LINE! ####) and restart Postix.
     
  6. flourishing

    flourishing ISPConfig Developer ISPConfig Developer

    now it works . thank you very much . especially for your patience.
     

Share This Page