Kortvelyesi Peter a écrit :

An other issue, Amavisd-new seems to be not working on outgoing mails, I
have read through Readme.postfix at least 50 times...
That's too much. now, you need to unread 30 times, because max_use=20:)

Then read other docs
on the net and I can't understand why it is not working only for outgoing if
is is working for incoming...

So it is nice working on incoming mail, but I also would like to filter
outgoing mail. Can you help me in that?
that's the default. note that mail submitted by the sendmail command go via the pickup service. if content_filter is only defined in smtp -in master.cf), that won't get filtered.

Thanks very much in advance!

Ps.: I also tried to add Pre-cleanup and cleanup rules to the master.cf but
the messages stucked in the queue.
don't try random things. trying to debug N situations is at least N times harder than debugging one situation.

There are no checks done by Amavis, Eicar virus test goes through, no
headers are added.

These are my Postfix configs:
Main.cf: content filter is set to 127.0.0.1:10025
postconf -n please. grep and copy/paste from main.cf doesn't count.

Master.cf:
smtp    inet    n       -       y       -       -       smtpd

smtp-filter     unix    -       -       y       -       -       smtp
 -o smtp_data_done_timeout=1200
 -o smtp_send_xforward_command=yes

smtp-amavis unix -      -       y       -       10  smtp
   -o smtp_data_done_timeout=1200
   -o smtp_send_xforward_command=yes
   -o disable_dns_lookups=yes
   -o max_use=20
why do you have two filtering services? not that this is bad, but since I don't seee why from your post...

PS. must disable virtual alias expansion before the filter (or after the filter). you can use receive_override_mapping for that.

127.0.0.1:10026 inet    n       -       y       -       -       smtpd
   -o content_filter=
   -o local_recipient_maps=
I don't like this. you have no_unknown_recipient_checks, so why change the map?

   -o relay_recipient_maps=
nor this

   -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
so you're doing the same checks twice (in client and recipient stages).

   -o mynetworks_style=host
this is useless given the following line:

   -o mynetworks=127.0.0.0/8
   -o strict_rfc821_envelopes=yes
   -o smtpd_error_sleep_time=0
   -o smtpd_soft_error_limit=1001
I never understood why this 1001 exactly...

   -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



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
AMaViS-user mailing list
[email protected]
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