Postfix, amavis a sender_bcc_maps

Vitezslav Samel samel na mail.cz
Čtvrtek Únor 16 12:35:15 CET 2006


On Thu, Feb 16, 2006 at 10:34:14AM +0100, Ondrej Scecina wrote:
> Ahoj
> 
> Mam taky maly problem. Chces by som nastavit Postfix tak, aby vsetky emaily 
> posielane z adresy info na abc.sk, boli posielane nielen na povodne adresy, ale 
> aj na adresu archiv na abc.sk. Pre tento ucel som do /etc/postfix/main.cf 
> zapisal
> 
> sender_bcc_maps = hash:/etc/mail/sender_bcc
> 
> , pricom /etc/mail/sender_bcc obsahuje
> 
> info na abc.sk	archiv na abc.sk
> 
> Vsetko funguje tak ako ma. Potom som ale aktivoval amavis:
> 
> /etc/postfix/main.cf
> content_filter = smtp-amavis:[127.0.0.1]:10024
> 
> /etc/postfix/master.cf
> smtp-amavis     unix    -       -       n       -       2       smtp
>    -o smtp_data_done_timeout=1200
>    -o smtp_send_xforward_command=yes
> 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_client_restrictions=
>    -o smtpd_helo_restrictions=
>    -o smtpd_sender_restrictions=
>    -o smtpd_recipient_restrictions=permit_mynetworks,reject
>    -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
> 
> No a teraz mi na adresu archiv na abc.sk chodi kazdy email 2x. Neriesil to 
> niekto? Neviete, cim to moze byt?

  Prectete si FILTER_README a ADDRESS_REWRITING_README z Postfixu. Pak asi
pochopite, proc musite pridat

	receive_override_options = no_address_mappings

do main.cf a v master.cf v sekci pro transport 127.0.0.1:10025 pridat

	-o receive_override_options=no_header_body_checks,no_unknown_recipient_checks



	Vita


Další informace o konferenci Linux