ich habe auf meinem Server postfix zusammen mit confixx. Läuft alles inzwischen ganz gut, nur zwei Fragen habe ich:
1. Ist die Kunfiguration sicher? Oder produziere ich ein offenes Relay?
2. Ich schreibe an ein Paar kleinen Scripten zur Administration eines Postfix-Servers. Diese sollen irgendwann Confixx ersetzten. Ich habe genau die gleichen zwei Dateien genommen wie die für confixx. Jetzt tritt aber ein problem auf: aus irgendeinam grund wir die "domixx_localDomains" nicht beachtet. Ich bekomme auf alle Domains daraus ein relay-Acess-Denied. Schreibe ich dagegen den Inhalt in die confixx_localDomains, geht alles. Wo ist das Problem?
Code: Select all
# 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
append_dot_mydomain = no
myhostname = p15112609.pureserver.info.pureserver.info
myorigin = /etc/mailname
mydestination = p15112609.pureserver.info, p15112609.pureserver.info.pureserver.info, localhost.pureserver.info.pureserver.info, localhost, hash:/etc/postfix/confixx_virtualUsers,hash:/etc/postfix/domixx_virtualUsers
mynetworks = $mydestination,hash:/etc/postfix/confixx_localDomains,hash:/etc/postfix/domixx_localDomains
alias_maps = hash:/etc/aliases,hash:/etc/postfix/confixx_virtualUsers,hash:/etc/postfix/confixx_localDomains,hash:/etc/postfix/domixx_virtualUsers,hash:/etc/postfix/domixx_localDomains
local_recipient_maps = $alias_maps unix:passwd.byname
relay_domains = $mydestination,localhost
relayhost =
inet_interfaces=p15112609.pureserver.info,localhost
mailbox_command = /usr/bin/procmail
mailbox_size_limit = 0
recipient_delimiter = +
smtpd_sasl_local_domain = $myhostname
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_recipient_restrictions = reject_invalid_hostname, reject_non_fqdn_sender,reject_non_fqdn_recipient,reject_unknown_sender_domain,reject_unknown_recipient_domain, permit_sasl_authenticated,permit_mynetworks, reject_unauth_pipelining,reject_unauth_destination,reject_maps_rbl, check_relay_domains
content_filter = vscan:[127.0.0.1]:10025
### CONFIXX POSTFIX ENTRY ###
virtual_maps = hash:/etc/postfix/confixx_virtualUsers, hash:/etc/postfix/confixx_localDomains,hash:/etc/postfix/domixx_virtualUsers, hash:/etc/postfix/domixx_virtualUsers
### /CONFIXX POSTFIX ENTRY ###
Danke Schön
TheOmgea
