Error Uebimiau SMTP no send mail out

Discussion in 'Installation/Configuration' started by jfruano, Mar 27, 2006.

  1. jfruano

    jfruano New Member

    Hello, Webmail (Uebimiau) not send messages out of the server, the following thing puts me
    SMTP Error: Recipient not accepted. Verify your relay rules .
    I receive well all send me of out and of inside. And also from inside I send and receive well.

    Help please.:(
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please nake sure that you have this line in your /etc/postfix/main.cf

    and restart postfix afterwards.
     
  3. jfruano

    jfruano New Member

    This line is O.K. and doesn't work :(
    other suggestion ?
     
  4. falko

    falko Super Moderator ISPConfig Developer

    Please post your /etc/postfix/main.cf here.
     
  5. jfruano

    jfruano New Member

    HI Falko ;)
    this my /etc/postfix/main.cf

    # See /usr/share/postfix/main.cf.dist for a commented, more complete version

    smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
    biff = no

    # appending .domain is the MUA's job.
    append_dot_mydomain = no

    # Uncomment the next line to generate "delayed mail" warnings
    #delay_warning_time = 4h

    myhostname = server1.myrealserver.org
    alias_maps = hash:/etc/aliases
    alias_database = hash:/etc/aliases
    myorigin = /etc/mailname
    #mydestination = server1.myrealserver.org, localhost.localdomain, localhost
    relayhost =
    mynetworks = 127.0.0.0/8
    mailbox_command = procmail -a "$EXTENSION"
    mailbox_size_limit = 0
    recipient_delimiter = +
    inet_interfaces = all
    smtpd_sasl_local_domain =
    smtpd_sasl_auth_enable = yes
    smtpd_sasl_security_options = noanonymous
    broken_sasl_auth_clients = yes
    smtpd_recipient_restrictions =permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
    smtpd_tls_auth_only = no
    smtp_use_tls = yes
    smtpd_use_tls = yes
    smtp_tls_note_starttls_offer = yes
    smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
    smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
    smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
    smtpd_tls_loglevel = 1
    smtpd_tls_received_header = yes
    smtpd_tls_session_cache_timeout = 3600s
    tls_random_source = dev:/dev/urandom

    virtual_maps = hash:/etc/postfix/virtusertable

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

    ##attention substituted here my real domain name for realserver :rolleyes:
     
    Last edited: Mar 27, 2006
  6. falko

    falko Super Moderator ISPConfig Developer

    Looks ok. Is the recipient domain listed in /etc/postfix/local-host-names?
    What's in the mail log?
     
  7. jfruano

    jfruano New Member

    the recipient is out of de local server (in users local works o.k.)
    this part of the last mail.log with error to send :

    Mar 27 15:43:48 localhost postfix/smtpd[8332]: connect from unknown[192.168.2.1]
    Mar 27 15:43:48 localhost postfix/smtpd[8332]: NOQUEUE: reject: RCPT from unknown[192.168.2.1]: 554 <miguel@************.com>: Relay access denied; from=<info@*********.com> to=<miguel@***********.com> proto=SMTP helo=<UebiMiau>
    Mar 27 15:43:48 localhost postfix/smtpd[8332]: lost connection after RCPT from unknown[192.168.2.1]
    Mar 27 15:43:48 localhost postfix/smtpd[8332]: disconnect from unknown[192.168.2.1]
     
  8. falko

    falko Super Moderator ISPConfig Developer

    I thought you were using Uebimiau to send mails? It should then show 127.0.0.1 instead of 192.168.2.1...
     
  9. jfruano

    jfruano New Member

    In that file have to modify this line ?
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    Have you changed anything in the ISPConfig php.ini file?
     
  11. jfruano

    jfruano New Member

    no, I have not modified anything in ISPConifg php.ini
     
    Last edited: Mar 28, 2006
  12. jfruano

    jfruano New Member

    Options Webmail

    If the Uebimiau cannot get ready, is possible to put another server mail type Webmail and that easy to configures in IPSConfig ?

    Can they recommend some that works well and this very easy config ?:confused:
     
  13. falko

    falko Super Moderator ISPConfig Developer

    Is Uebimiau installed on the same system that is acting as the mail server?

    What's in /etc/postfix/master.cf?

    What's the output of
    Code:
    ifconfig
    ?
     
  14. jfruano

    jfruano New Member

    Solved

    I have bad config in webmail config.php
    $smtp_server = "localhost" :eek: i changed with $smtp_server = "127.0.0.1" and now works very well. :)

    Sorry for the nuisances.
    Thanks.
     
  15. till

    till Super Moderator Staff Member ISPConfig Developer

    The setting "localhost" is normally fine. Maybe Your /etc/hosts file does not contain a line that localhost is the IP 127.0.0.1
     

Share This Page