[Postfixbuch-users] Amavis zentralisieren

Gregor Hermens gregor at a-mazing.de
Sa Jul 28 13:39:26 CEST 2007


Hallo Roland,

Am Samstag, 28. Juli 2007 13:02 schrieb Roland M. Kruggel:
> So weit so gut. Da ich jedoch mehrerer Mailserver habe, bzw. betreue
> möchte ich den amavis diesnst zentralisieren. Ich kann doch jetzt die
> mails von postfix an service.bbf7.de:10024, wo sich dann amavis
> befindet, schicken. Amavis schickt die mails dann wieder zurück an
> den aufrufenden postfix server.
>
> Aber was ist mit dem zweiten, dritten und allen weteren
> postfix-servern? Die sollen ja auch den amavis nutzen. Brauch ich
> dann für jeden Mail-Server eine eigene Amavis instanz mit
> unterschiedlichem Port? (Eintrag in der master.cf?)

aus der Beispiel-amavisd.conf:
# POSTFIX, or SENDMAIL in dual-MTA setup, or EXIM V4
# (set host and port number as required; host can be specified
# as an IP address or a DNS name (A or CNAME, but MX is ignored)
#$forward_method = 'smtp:[127.0.0.1]:10025';  # where to forward checked mail
#$notify_method = $forward_method;            # where to submit notifications

# To make it possible for several hosts to share one content checking daemon,
# the IP address and/or the port number in $forward_method and $notify_method
# may be spacified as an asterisk. An asterisk in the colon-separated
# second field (host) will be replaced by the SMTP client peer address,
# An asterisk in the third field (tcp port) will be replaced by the incoming
# SMTP/LMTP session port number plus one. This obsoletes the previously used
# less flexible configuration parameter $relayhost_is_client. An example:
#   $forward_method = 'smtp:*:*'; $notify_method = 'smtp:*:10587';

So konfiguriert schickt Amavis die Mail automatisch wieder an das richtige 
Postfix zurück.

> Sind die definierten rules etc. in amavis dann für jede instanz
> gültig?

Da macht Amavis afair keinen Unterschied, woher die Mail kam.

Gruß,
Gregor
-- 
     @mazing           fon +49 8142 6528665
  Gregor Hermens       fax +49 8142 6528669
Brucker Strasse 12  gregor.hermens at a-mazing.de
D-82216 Gernlinden    http://www.a-mazing.de/



Mehr Informationen über die Mailingliste Postfixbuch-users