Virtual User and Domain wit POSTFIX,etc using FEDORA 5

Discussion in 'HOWTO-Related Questions' started by estokwa, Sep 16, 2006.

  1. estokwa

    estokwa New Member

    i need some help with my mail server setup "loopback to my self" in particular, i use your how to set up and rigth now i can't move forward, because of the said problem. i browsed every thread in this forum but still i can't solve my problem.

    here is my mail log:
    Sep 15 23:33:23 main1 postfix/smtpd[23670]: connect from unknown[192.168.1.1]
    Sep 15 23:33:23 main1 postfix/smtp[23683]: warning: host main1.advancedlogicdesign.net[75.15.235.254] greeted me with my own hostname main1.advancedlogicdesign.net
    Sep 15 23:33:23 main1 postfix/smtp[23683]: warning: host main1.advancedlogicdesign.net[75.15.235.254] replied to HELO/EHLO with my own hostname main1.advancedlogicdesign.net
    Sep 15 23:33:23 main1 postfix/smtp[23683]: 27F871C80108: to=<tech@advancedlogicdesign.net>, relay=main1.advancedlogicdesign.net[75.15.235.254], delay=0, status=bounced (mail for main1.advancedlogicdesign.net loops back to myself)
    Sep 15 23:33:23 main1 postfix/cleanup[23675]: 6CBB71C80109: message-id=<20060916063323.6CBB71C80109@main1.advancedlogicdesign.net>
    Sep 15 23:33:23 main1 postfix/smtpd[23670]: disconnect from unknown[192.168.1.1]
    Sep 15 23:33:23 main1 postfix/qmgr[23627]: 6CBB71C80109: from=<>, size=4097, nrcpt=1 (queue active)
    Sep 15 23:33:23 main1 postfix/qmgr[23627]: 27F871C80108: removed
    Sep 15 23:33:24 main1 postfix/smtp[23683]: 6CBB71C80109: to=<estokwahimenez@yahoo.com>, relay=smtp.prodigy.net[207.115.20.26], delay=1, status=sent (250 2.0.0 k8G6Rm8B031354 Message accepted for delivery)
    Sep 15 23:33:24 main1 postfix/qmgr[23627]: 6CBB71C80109: removed





    i been working with this problem for couple of days now.... please help me.
     
  2. estokwa

    estokwa New Member

    and here is my main.cf
    ______
    queue_directory = /var/spool/postfix
    command_directory = /usr/sbin
    daemon_directory = /usr/libexec/postfix
    mail_owner = postfix
    mydestination = main1.advancedlogicdesign.net, localhost, localhost.localdomain
    unknown_local_recipient_reject_code = 550
    debug_peer_level = 2
    debugger_command =
    PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
    xxgdb $daemon_directory/$process_name $process_id & sleep 5
    newaliases_path = /usr/bin/newaliases.postfix
    mailq_path = /usr/bin/mailq.postfix
    setgid_group = postdrop
    html_directory = no
    manpage_directory = /usr/share/man
    sample_directory = /usr/share/doc/postfix-2.2.8/samples
    myhostname = main1.advancedlogicdesign.net
    mynetworks = 127.0.0.0/8
    virtual_alias_domains =
    virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
    virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
    virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
    virtual_mailbox_base = /home/vmail
    virtual_uid_maps = static:5000
    virtual_gid_maps = static:5000
    smtpd_sasl_auth_enable = yes
    broken_sasl_auth_clients = yes
    smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
    smtpd_use_tls = yes
    smtpd_tls_cert_file = /etc/postfix/smtpd.cert
    smtpd_tls_key_file = /etc/postfix/smtpd.key
    transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
    virtual_create_maildirsize = yes
    virtual_mailbox_extended = yes
    virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf
    virtual_mailbox_limit_override = yes
    virtual_maildir_limit_message = "The user you are trying to reach is over quota."
    virtual_overquota_bounce = yes
    proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
    content_filter = amavis:[127.0.0.1]:10024
    receive_override_options = no_address_mappings
    relayhost = smtp.sbcglobal.net

    -----
    thanks again and more power..
     
  3. falko

    falko Super Moderator ISPConfig Developer

    The mydestination line looks ok in main.cf. Is main1.advancedlogicdesign.net or advancedlogicdesign.net one of the domains you have in the domains table in the MySQL database?
    What's your server's public IP address?
     
  4. estokwa

    estokwa New Member

    hi falko,
    the domain on my db is advancedlogicdesign.net and my public ip is 75.15.235.254 which is dynamic.

    i am just wondering about this lines on my log
    Sep 15 23:33:23 main1 postfix/smtpd[23670]: connect from unknown[192.168.1.1]
    Sep 15 23:33:23 main1 postfix/smtp[23683]: warning: host main1.advancedlogicdesign.net[75.15.235.254] greeted me with my own hostname main1.advancedlogicdesign.net
    Sep 15 23:33:23 main1 postfix/smtp[23683]: warning: host main1.advancedlogicdesign.net[75.15.235.254] replied to HELO/EHLO with my own hostname main1.advancedlogicdesign.net
    Sep 15 23:33:23 main1 postfix/smtp[23683]: 27F871C80108:
    .........
    Sep 15 23:33:23 main1 postfix/smtpd[23670]: disconnect from unknown[192.168.1.1]

    are this normal?
     
  5. falko

    falko Super Moderator ISPConfig Developer

    What's in /etc/hosts?
     
  6. estokwa

    estokwa New Member

    hi falko,
    this is the only info in my /etc/hosts

    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1 localhost.localdomain localhost
    192.168.1.111 main1.advancedlogicdesign.net main1
     
  7. falko

    falko Super Moderator ISPConfig Developer

    Run
    Code:
    postconf -e 'myorigin = main1.advancedlogicdesign.net'
    and restart Postfix.
     
  8. estokwa

    estokwa New Member

    hi falko,
    done this
    but nothing happen, loop back to myself still on my log. is there any other factor do i need to consider?

    thanks and best regards
     
  9. falko

    falko Super Moderator ISPConfig Developer

    What's the exact error message?

    Do you have a hosts file in /var/spool/postfix/etc?
     
  10. estokwa

    estokwa New Member

    hi falko, i've been absent for a while in this forum,

    usually this is the erro on my log
    i don't have any file on that directory......


    thanks and regards
     
  11. Hans

    Hans Moderator ISPConfig Developer

  12. estokwa

    estokwa New Member

  13. falko

    falko Super Moderator ISPConfig Developer

    Please try this:
    Code:
    cp /etc/hosts /var/spool/postfix/etc
    /etc/init.d/postfix restart
     
  14. estokwa

    estokwa New Member

    i tried every possible options i got in this forum but stilli got the same output problem. i tried to replace my localost ip address 127.0.0.1 to my lan ip address but i got status deferred connection refused. and when i tried to bring it back to 127.0.0.1 i got loop back to my self.

    i am wondering about the WARNING: HOST , what this for. just asking....:)
    and the connect/disconnect from unknown1 92.168.1.1 is my broadband router ip address

    best regards
     
  15. falko

    falko Super Moderator ISPConfig Developer

Share This Page