[Postfixbuch-users] Spamassasin will nach Migration von QMail nachPostfix nicht mehr

Andreas Krummrich andreas at krummrich.org
Do Dez 4 19:52:07 CET 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Amavis nutze ich nicht. Ich rufe spamassasin direkt über procmail auf. Geht
das bei postfix nicht. Das es gehen sollte, hab ich schon per Google
gefunden. Nur nicht warum es bei mir nicht geht.

Anbei die config:

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
home_mailbox = Maildir/
inet_interfaces = all
mydestination = rom.iunius.org, localhost.iunius.org, ,localhost
myhostname = rom.iunius.org
mynetworks = 127.0.0.0/8, 81.169.142.6
myorigin = /etc/mailname
relay_domains = [viele]
smtp_tls_CAfile = /etc/postfix/ssl/ca.crt
smtp_tls_cert_file = /etc/postfix/ssl/rom.iunius.org.crt
smtp_tls_key_file = /etc/postfix/ssl/rom.iunius.org.key
smtp_tls_loglevel = 1
smtp_tls_note_starttls_offer = yes
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
smtp_tls_session_cache_timeout = 3600s
smtp_use_tls = yes
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_client_restrictions = reject_invalid_hostname
smtpd_helo_required = yes
smtpd_helo_restrictions = reject_invalid_hostname
smtpd_recipient_restrictions = permit_mynetworks,
reject_unknown_recipien
t_domain,        permit_sasl_authenticated,
reject_unauth_destination,
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_tls_CAfile = /etc/postfix/ssl/ca.crt
smtpd_tls_auth_only = no
smtpd_tls_cert_file = /etc/postfix/ssl/rom.iunius.org.crt
smtpd_tls_key_file = /etc/postfix/ssl/rom.iunius.org.key
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
transport_maps = hash:/etc/postfix/transport
virtual_alias_domains = /etc/postfix/virtual_domains
virtual_alias_maps = hash:/etc/postfix/virtual_alias

Gruß,
Andreas

> -----Ursprüngliche Nachricht-----
> Von: postfixbuch-users-bounces at listen.jpberlin.de [mailto:postfixbuch-
> users-bounces at listen.jpberlin.de] Im Auftrag von Uwe Driessen
> Gesendet: Donnerstag, 4. Dezember 2008 18:48
> An: 'Eine Diskussionsliste rund um das Postfix-Buch von Peer Heinlein.'
> Betreff: Re: [Postfixbuch-users] Spamassasin will nach Migration von
> QMail nachPostfix nicht mehr
> 
> On Behalf Of Andreas Krummrich
> > ich habe heute von meinem Server Qmail durch Postfix ersetzt.
> 
> Sehr schön *gg
> 
> >
> > Das hat auch alles soweit funktioniert, bis auf die Tatsache, dass
> mein
> > Spamassasin nicht mehr will. Die Mails werden anhand der
> virtual_alias_map
> > an einen lokalen User zugestellt.   Dort gibt es eine .forward Datei,
> in der
> > folgenden drinnen steht: " | /usr/bin/procmail".
> >
> > Hat jemand eine Idee? Ach ja, Postfix läuft auf Debian Etch.
> 
> Viele wenn du postconf -n und die master.cf ohne Kommentare postest
> 
> 
> Ich vermute mal das Qmail Amavis anders einbindet wie Postfix
> 
> Über die main.cf z.B. mit
> 
> content_filter = lmtp-amavis:[127.0.0.1]:10024
> 
> in der Master.cf mit
> 
> 127.0.0.1:10025 inet    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 receive_override_options=no_milters
>     -o smtpd_end_of_data_restrictions=
>     -o mynetworks=127.0.0.0/8
>     -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_unknown_recipient_checks
> 
> Oder aber als Proxyfilter  in der master.cf
> 
> smtp    inet    n       -       -       0       100      smtpd
>         -o smtp_bind_adress=xxx.xxx.xxx.xxx
>         -o smtpd_proxy_filter=localhost:10024
> 	  -o ....
> 	  -o ....
> 
> 
> Bitte schau mal in die Doku, wie Amavis hinter Procmail funzt weiß ich
> nicht.
> 
> Mit freundlichen Grüßen
> 
> Drießen
> 
> --
> Software & Computer
> Uwe Drießen
> Lembergstraße 33
> 67824 Feilbingert
> Tel.: +49 06708 / 660045   Fax: +49 06708 / 661397
> 
> 
> --
> _______________________________________________
> Postfixbuch-users -- http://www.postfixbuch.de
> Heinlein Professional Linux Support GmbH
> 
> Postfixbuch-users at listen.jpberlin.de
> https://listi.jpberlin.de/mailman/listinfo/postfixbuch-users
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)

iD8DBQFJOCbPC6V/A2TrcHoRAukFAKCKh0YE6XPY/VOkTGa0GdL9nqRhcQCfc570
91JZK448d1I3IF3I5T87iG4=
=+G7p
-----END PGP SIGNATURE-----




Mehr Informationen über die Mailingliste Postfixbuch-users