When will email be scanned by clamv/spamassassin?

Discussion in 'HOWTO-Related Questions' started by sjau, Dec 9, 2008.

  1. sjau

    sjau Local Meanie Moderator

    In this howto: http://www.howtoforge.com/amavisd_postfix_debian_ubuntu

    I just wonder what those two entries in the master.cf will do:

    Code:
    [...]
    amavis unix - - - - 2 smtp
            -o smtp_data_done_timeout=1200
            -o smtp_send_xforward_command=yes
    
    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_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 receive_override_options=no_unknown_recipient_checks,no_header_body_checks
            -o smtpd_bind_address=127.0.0.1
    
    Code:
    [...]
    amavis unix - - - - 2 smtp
            -o smtp_data_done_timeout=1200
            -o smtp_send_xforward_command=yes
    
    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_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 receive_override_options=no_unknown_recipient_checks,no_header_body_checks
            -o smtpd_bind_address=127.0.0.1
    
    At what point will incoming mail be handed over to clamav/spamassassin?

    I mean in the main.cf you can configure quite a few anti-spam things (RBLs, ehlo checks, sender checks, recipient checks, .....). Will incoming mail be handed over to those services before or after those checks in the main.cf?
     
  2. falko

    falko Super Moderator ISPConfig Developer

    After those checks. :)
     
  3. sjau

    sjau Local Meanie Moderator

    great :) may I assume that still works on Lenny?
     
  4. falko

    falko Super Moderator ISPConfig Developer

    Yes, that's right. :)
     

Share This Page