Postfix und Maia

kosovafan

Well-Known Member
Hallo,


ich habe heute nach einer Anleitung im Internet Maia Mailguard installiert. Ich hatte zuvor nur amavisd-new im Einsatz, hatte ohne Probleme geklappt, aber Maia möchte irgendwie nicht laufen.

Code:
# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
allow_percent_hack = no
biff = no
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/libexec/postfix
data_directory = /var/db/postfix
disable_vrfy_command = yes
home_mailbox = Maildir/
html_directory = /usr/share/doc/postfix
mail_owner = postfix
mailbox_size_limit = 102400000
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
masquerade_exceptions = root
message_size_limit = 20480000
mydestination = $myhostname, localhost
mydomain = silviosiefke.de
myhostname = hetzner.silviosiefke.de
mynetworks = 127.0.0.0/8
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix
recipient_delimiter = +
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = maildrop
smtp_tls_note_starttls_offer = yes
smtp_use_tls = no
smtpd_client_restrictions = 
permit_mynetworks,  
permit_sasl_authenticated,  
reject_unknown_reverse_client_hostname,  
permit
smtpd_data_restrictions = 
permit_mynetworks,  
permit_sasl_authenticated,  
reject_unauth_pipelining,  
permit
smtpd_delay_reject = yes
smtpd_helo_required = yes
smtpd_helo_restrictions = 
permit_mynetworks,  
permit_sasl_authenticated,  
reject_invalid_helo_hostname,  
reject_non_fqdn_helo_hostname,  
permit
smtpd_recipient_restrictions = 
permit_mynetworks,  
permit_sasl_authenticated,  
reject_non_fqdn_recipient,  
reject_unknown_recipient_domain,  
reject_unauth_destination,  
reject_rbl_client bl.spamcop.net,  
reject_rbl_client sbl-xbl.spamhaus.org,  permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_path = private/auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_sender_restrictions = 
permit_mynetworks,  
permit_sasl_authenticated,  
reject_non_fqdn_sender,  
reject_unknown_sender_domain,  
permit
smtpd_tls_CAfile = /etc/postfix/ssl/smtpd.pem
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.pem
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = no
soft_bounce = yes
tls_random_source = dev:/dev/urandom
unknown_local_recipient_reject_code = 550
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql/mysql_virtual_alias_maps.cf
virtual_gid_maps = static:125
virtual_mailbox_base = /home/vmail
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql/mysql_virtual_domains_maps.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql/mysql_virtual_mailbox_maps.cf
virtual_minimum_uid = 125
virtual_transport = virtual
virtual_uid_maps = static:125

Code:
/etc/postfix/master.cf
smtp-amavis unix - 	   -       n       -       2       smtp
   -o smtp_data_done_timeout=2400
   -o smtp_send_xforward_command=yes
   -o disable_dns_lookups=yes
   -o max_use=20

127.0.0.1:10025 inet n    -       n       -       -     smtpd
   -o content_filter=
   -o local_recipient_maps=
   -o relay_recipient_maps=
   -o smtpd_restriction_classes=
   -o smtpd_delay_reject=no
   -o smtpd_client_restrictions=permit_mynetworks,reject
   -o smtpd_helo_restrictions=
   -o smtpd_sender_restrictions=
   -o smtpd_recipient_restrictions=permit_mynetworks,reject
   -o mynetworks_style=host
   -o mynetworks=127.0.0.0/8
   -o strict_rfc821_envelopes=yes
   -o smtpd_error_sleep_time=0
   -o smtpd_soft_error_limit=1001
   -o smtpd_hard_error_limit=1000
   -o smtpd_client_connection_count_limit=0
   -o smtpd_client_connection_rate_limit=0
   -o receive_override_options=no_header_body_checks,no_unknown_recipient_checks,
   no_address_mappings

Code:
Sep 18 21:42:35 hetzner postfix/qmgr[34991]: 5CA91222A2F5: from=<siefke@email.de>, size=1202, nrcpt=1 (queue active)
Sep 18 21:42:35 hetzner postfix/smtp[44525]: 5CA91222A2F5: to=<listen@silvio-siefke.de>, relay=127.0.0.1[127.0.0.1]:10024, delay=563, delays=563/0.01/0/0.01, dsn=4.4.2, status=deferred (lost connection with 127.0.0.1[127.0.0.1] while sending RCPT TO)


Wenn ich aber über die Konsole arbeite, geht alles ohne Probleme.


# telnet localhost 10024
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 [127.0.0.1] ESMTP amavisd-maia service ready

# telnet localhost 10025
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 hetzner.silviosiefke.de ESMTP Postfix


Als HowTo habe ich nachfolgend genutzt.
http://blog.tusoffka.org/2009/07/31/freebsd-postfix-mysql-spamassassin-maia-virtual-setup/

Hat jemand eine Idee?


MFG
Silvio
 
Zurück
Oben