Anzeige:
Ergebnis 1 bis 2 von 2

Thema: kleines Postfix problem

  1. #1
    Registrierter Benutzer
    Registriert seit
    Sep 2002
    Beiträge
    502

    kleines Postfix problem

    Guten Tag


    Ich richtet heute mal Postfix ein, nur hab ich das Problem das ich keine Mails verschicken kann. Das ganze sollte über gmail gehen.

    Hier die Fehlermeldung:

    cat /var/log/mail.info

    Code:
    Jul 20 01:33:34 ubuntu postfix/postfix-script: refreshing the Postfix mail system
    Jul 20 01:33:34 ubuntu postfix/master[2373]: reload configuration
    Jul 20 01:33:34 ubuntu postfix/master[2373]: warning: service smtp: ignoring inet_interfaces change
    Jul 20 01:33:34 ubuntu postfix/master[2373]: warning: to change inet_interfaces, stop and start Postfix
    Jul 20 01:33:37 ubuntu postfix/pickup[2484]: A91A741032: uid=1000 from=<manuel>
    Jul 20 01:33:37 ubuntu postfix/cleanup[2490]: A91A741032: message-id=<20050719233337.A91A741032@ubuntu>
    Jul 20 01:33:37 ubuntu postfix/qmgr[2485]: A91A741032: from=<manuel@ubuntu>, size=279, nrcpt=1 (queue active)
    Jul 20 01:33:37 ubuntu postfix/smtp[2492]: fatal: config variable inet_interfaces: host not found: loopback-only
    Jul 20 01:33:38 ubuntu postfix/qmgr[2485]: warning: premature end-of-input on private/smtp socket while reading input attribute name
    Jul 20 01:33:38 ubuntu postfix/qmgr[2485]: warning: private/smtp socket: malformed response
    Jul 20 01:33:38 ubuntu postfix/qmgr[2485]: warning: transport smtp failure -- see a previous warning/fatal/panic logfile record for the problem description
    Jul 20 01:33:38 ubuntu postfix/master[2373]: warning: process /usr/lib/postfix/smtp pid 2492 exit status 1
    Jul 20 01:33:38 ubuntu postfix/master[2373]: warning: /usr/lib/postfix/smtp: bad command startup -- throttling
    Configs:

    main.cf

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

    smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
    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 = ubuntu
    alias_maps = hash:/etc/aliases
    alias_database = hash:/etc/aliases
    mydestination = ubuntu, localhost.localdomain, localhost
    mynetworks = 127.0.0.0/8
    mailbox_size_limit = 0
    recipient_delimiter = +
    inet_interfaces = loopback-only

    ## Add these lines to the bottom on main.cf
    ##
    ##


    ## TLS Settings
    #
    # For no logs set = 0
    smtp_tls_loglevel = 1
    #
    # smtp_enforce_tls = yes
    # Above is commented because doing it site by site below
    smtp_tls_per_site = hash:/etc/postfix/tls_per_site
    #
    smtp_tls_CAfile = /etc/postfix/cacert.pem
    smtp_tls_cert_file = /etc/postfix/FOO-cert.pem
    smtp_tls_key_file = /etc/postfix/FOO-key.pem
    smtp_tls_session_cache_database = btree:/var/run/smtp_tls_session_cache
    smtp_use_tls = yes
    smtpd_tls_CAfile = /etc/postfix/cacert.pem
    smtpd_tls_cert_file = /etc/postfix/FOO-cert.pem
    smtpd_tls_key_file = /etc/postfix/FOO-key.pem
    smtpd_tls_received_header = yes
    smtpd_tls_session_cache_database = btree:/var/run/smtpd_tls_session_cache
    smtpd_use_tls = yes
    tls_random_source = dev:/dev/urandom

    ## SASL Settings
    # This is going in to THIS server
    smtpd_sasl_auth_enable = no
    # We need this
    smtp_sasl_auth_enable = yes
    smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
    smtpd_sasl_local_domain = $myhostname
    smtp_sasl_security_options = noanonymous
    #smtp_sasl_security_options =
    smtp_sasl_tls_security_options = noanonymous
    smtpd_sasl_application_name = smtpd


    ## Gmail Relay
    relayhost = [smtp.gmail.com]

    ## Good for Testing
    # sender_bcc_maps = hash:/etc/postfix/bcc_table

    # Disable DNS Lookups
    disable_dns_lookups = yes
    #
    # Great New feature Address Mapping
    # for example may mchirico@localhost to mchirico@gmail.com
    smtp_generic_maps = hash:/etc/postfix/generic
    #
    #
    transport_maps = hash:/etc/postfix/transport
    transport

    Code:
        # Contents of /etc/postfix/transport
        #
        # This sends mail to Gmail
        gmail.com               smtp:[smtp.gmail.com]
        # 
        # Except mail going to the tape and closet server
        tape.ubunut        relay:[tape.squeezel.com]
        closet.ubuntu      relay:[closet.squeezel.com]
    Ich machte das ganze nach diesem HowTo:

    http://souptonuts.sourceforge.net/postfix_tutorial.html


    Vielen Dank schon im Vorraus Oo
    Geändert von Homer56 (20.07.05 um 00:34 Uhr)

  2. #2
    Reitermaniac Avatar von Webdude
    Registriert seit
    Nov 2001
    Ort
    metalhessen.de
    Beiträge
    277
    Da stehts doch klar und deutlich:
    Code:
    Jul 20 01:33:37 ubuntu postfix/smtp[2492]: fatal: config variable inet_interfaces: host not found: loopback-only
    Die Variable "inet_interfaces" in der main.cf ist nicht richtig gesetzt. Hier trägst du die Netzwerkinterfaces ein an die Postfix sich binden soll.
    Wenn da loopback (loopback-only gibts nicht) steht kann der Rechner natürlich auch keine Mails nach aussen schicken.
    "Arguing on the internet is like competing in the special olympics. Even if you win you're still a retard."

Ähnliche Themen

  1. Postfix 2.1.5-0 SASL AUTH Problem + kleine Frage
    Von higidi im Forum Linux als Server
    Antworten: 2
    Letzter Beitrag: 17.03.05, 16:37
  2. problem mit postfix, qpopper und fetchmail
    Von mullfreak im Forum Linux als Server
    Antworten: 3
    Letzter Beitrag: 21.02.05, 19:04
  3. Cyrus Imap Server Problem
    Von eurofreddy im Forum Anwendungen Allgemein, Software
    Antworten: 0
    Letzter Beitrag: 17.08.04, 07:30
  4. postfix mit sasl2 compilieren
    Von Reveller im Forum Linux als Server
    Antworten: 10
    Letzter Beitrag: 24.07.04, 13:58
  5. Problme mit Fetchmail (Cyrus, Postfix)
    Von hansschleidt im Forum Linux als Server
    Antworten: 8
    Letzter Beitrag: 19.05.04, 14:08

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •