sebast...@debianfan.de wrote:

> i wan't to use amavisd-new as an proxy filter for rejecting spam- & 
> virusmails.

Have you read this first (pros/cons):
http://www.postfix.org/SMTPD_PROXY_README.html

> smtp      inet  n       -       n       -       -       smtpd
>    -o smtpd_proxy_filter=127.0.0.1:10024

OK.

> 127.0.0.1:10025 inet     n     -     n     -     -     smtpd

this line is unnecessary because you've set this later...

> 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


> i think i have to change the amavis-settings too:

No, not needed - it's mainly postfix related.

> $final_virus_destiny      = D_DISCARD;  # (data not lost, see virus
> quarantine)
> $final_banned_destiny     = D_BOUNCE;   # D_REJECT when front-end MTA
> $final_spam_destiny       = D_BOUNCE;

Use D_REJECT instead of D_BOUNCE and also D_REJECT for viruses.


-- 
Daniel



------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 

Reply via email to