postfix macht probleme

Debian macht sich hervorragend als Web- und Mailserver. Schau auch in den " Tipps und Tricks"-Bereich.
Antworten
arteist
Beiträge: 728
Registriert: 20.05.2002 17:26:23
Kontaktdaten:

postfix macht probleme

Beitrag von arteist » 17.11.2002 20:47:59

Hallo,
ich bekomme auf meinem Mailserver die Queue einfach nicht leer, er beschwert sich jedesmal, obwohl postfix sicher läuft:

Code: Alles auswählen

mail:~# /etc/init.d/postfix restart
Stopping mail transport agent: Postfix.
Starting mail transport agent: Postfix.
mail:~# sendmail -q
postqueue: fatal: Cannot flush mail queue - mail system is down
hier mal meine konfiguration:

Code: Alles auswählen

mail:~# cat /etc/postfix/main.cf
# see /usr/share/postfix/main.cf.dist for a commented, fuller
# version of this file.

# Do not change these directory settings - they are critical to Postfix
# operation.
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
program_directory = /usr/lib/postfix

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

# appending .domain is the MUA's job.
append_dot_mydomain = no
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases

# hostname, der in den abgehenden mails steht: username@myorigin
myorigin = /etc/mailname

#mail dieser domains nicht weiterlerleiten
mydestination = localhost localhost.localdomain $myhostname localhost.$mydomain xxx.dyndns.org

#mails fuer draußen hierüber weiterleiten
relayhost = smtprelay.t-online.de

# von wem werden mails akzeptiert?
mynetworks = 127.0.0.0/8 192.168.1.0/24

mailbox_command =
mailbox_size_limit = 0
recipient_delimiter = +

# hostname setzen:
myhostname=mail.lan

# server soll auch extern 'lauschen':
inet_interfaces = localhost $myhostname localhost.$mydomain

# wann soll der postmaster von 'fehlschlaegen' informiert werden?
notify_classes = resource, software, policy
was mache ich da falsch?

Benutzeravatar
blackm
Moderator und Co-Admin
Beiträge: 5921
Registriert: 02.06.2002 15:03:17
Lizenz eigener Beiträge: MIT Lizenz

Beitrag von blackm » 17.11.2002 20:55:04

Hi,

bist du sicher das das Mailsystem läuft? Er schreibt doch mail system is down. Was sagt

Code: Alles auswählen

telnet localhost 25
? Mal einen Blick in dei Log-files geworfen (vorallem error.log)?

by, Martin
Schöne Grüße

Martin

Neu im Forum? --> https://wiki.debianforum.de/debianforum ... tensregeln
Log- und Konfigurationsdatein? --> pastebin.php
Forum unterstützen? --> https://wiki.debianforum.de/debianforum.de/Spenden

arteist
Beiträge: 728
Registriert: 20.05.2002 17:26:23
Kontaktdaten:

Beitrag von arteist » 17.11.2002 21:02:50

es hat sich gelöst:

Code: Alles auswählen

mail:~# cat /var/log/mail.err
Nov 17 20:34:59 mail postfix/postqueue[5120]: fatal: Cannot flush mail queue - mail system is down
Nov 17 20:35:12 mail postfix/master[5205]: fatal: config variable inet_interfaces: host not found: mail.lan
Nov 17 20:35:14 mail postfix/postqueue[5207]: fatal: Cannot flush mail queue - mail system is down
Nov 17 20:37:24 mail postfix/postqueue[5232]: fatal: Cannot flush mail queue - mail system is down
Nov 17 20:37:34 mail postfix/master[5317]: fatal: config variable inet_interfaces: host not found: mail.lan
Nov 17 20:37:36 mail postfix/postqueue[5319]: fatal: Cannot flush mail queue - mail system is down
Nov 17 20:39:24 mail postfix/postfix-script: fatal: the Postfix mail system is not running
Nov 17 20:41:10 mail postfix/master[274]: fatal: config variable inet_interfaces: host not found: mail.lan
Nov 17 20:41:56 mail postfix/postqueue[310]: fatal: Cannot flush mail queue - mail system is down
Nov 17 20:47:18 mail postfix/postfix-script: fatal: the Postfix mail system is not running
Nov 17 20:47:19 mail postfix/master[403]: fatal: config variable inet_interfaces: host not found: mail.lan
Nov 17 20:47:21 mail postfix/postqueue[405]: fatal: Cannot flush mail queue - mail system is down
Nov 17 21:00:35 mail postfix/postfix-script: fatal: the Postfix mail system is not running
Nov 17 21:02:19 mail postfix/master[272]: fatal: config variable inet_interfaces: host not found: mail.lan
Nov 17 21:02:49 mail postfix/error[305]: fatal: do not run this command by hand
das system ist noch nicht im dns registriert!

Antworten