
Axel Dreher am Freitag, 19. September 2003 19:09:
Jetzt nochmal meine ganz aktuelle Konfiguration:
postconf -n:
alias_database = hash:/etc/aliases, hash:/opt/majordomo/aliases
Hast du majordomo am laufen? Sonst lösch es (wenigstens auskommentieren)
alias_maps = hash:/etc/postfix/aliases
Steht da was drin? Was? (sonst -> weg damit (auskommentieren))
canonical_maps = hash:/etc/postfix/canonical
Dito.
command_directory = /usr/sbin config_directory = /etc/postfix content_filter = daemon_directory = /usr/lib/postfix debug_peer_level = 2 default_destination_concurrency_limit = 10 default_privs = nobody defer_transports = smtp disable_dns_lookups = yes inet_interfaces = all
Damit kann dein Postfix auch jemand über das Internet nutzen. Gib anstelle "all" einfach nur localhost an (und ggf. die IP deiner lokalen Netzwerkkarte).
local_destination_concurrency_limit = 2 local_transport = local:$mydomain
Schmeiß mal das ":$mydomain" raus. Eigentlich kannst du beide Zeilen ganz löschen, da eh nur Defaulteinstellungen.
mail_name = Postfix on SuSE Linux 8.0 (i386) mail_owner = postfix mail_spool_directory = /var/spool/mail mailbox_transport = smtp <---------------- ist das ok?
Nö, raus damit. Du sortierst doch direkt ein.
mailq_path = /usr/bin/mailq manpage_directory = /usr/share/man masquerade_exceptions = root
mydestination = $myhostname, localhost, localhost.$mydomain //hier hab ich noch $mydomain,also local eingefügt.
Mist, das war doch noch die alte Konfiguration.Diese Zeile lautet jetzt:
mydestination = $myhostname, localhost, localhost.$mydomain, $mydomain, localhost.local
Das sollte reichen: mydestination = localhost, localhost.local, linux.local (oder eben mit den entsprechenden Variablen)
mydomain = local myhostname = linux.local mynetworks = 127.0.0.0/8, 10.25.30.0/24 newaliases_path = /usr/sbin/sendmail queue_directory = /var/spool/postfix readme_directory = /usr/share/doc/packages/postfix/README_FILES relayhost = mail.gmx.net relocated_maps = hash:/etc/postfix/relocated
Steht da was drin?
sample_directory = /etc/postfix sender_canonical_maps = hash:/etc/postfix/sender_canonical sendmail_path = /usr/sbin/sendmail setgid_group = maildrop smtp_sasl_auth_enable = yes smtp_sasl_password_maps = hash:/etc/postfix/smtp_auth smtp_sasl_security_options = noanonymous soft_bounce = yes
transport_maps = hash:/etc/postfix/transport virtual_maps = hash:/etc/postfix/virtual
Steht da was drin? Ach ja, und in die /etc/postfix/access noch folgendes eintragen (falls nicht drin): localhost relay -- Gruß MaxX 8-)