OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: postfix-users (postfix-users_at_lists.netways.de)
Date: Mon Feb 03 2003 - 08:09:55 CST

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    Hi !

    I am currently setting up an amavisd-new gateway on my mail relay running postfix.
    I just want to get this straight; am I right ?

    Postfix is receiving the mails as usual -> then it does a forward of all mails via transport to -> smtp:localhost:10024 -> to the amavisd ?!

    Then amavisd is doing it´s work -> then it should forward all mail again to (my internal server or whatever, via the parameter:
    $forward_method = 'smtp:xx.xx.xx.xx:25';

    I this correct ? ( i want to use amavis as a content filter )

    But why do I need these settings :

    In master.cf :

    smtp-amavis unix - - n - 2 smtp
        -o smtp_data_done_timeout=1200
        -o disable_dns_lookups=yes

    127.0.0.1:10025 inet n - n - - smtpd
        -o content_filter=
        -o local_recipient_maps=
        -o smtpd_helo_restrictions=
        -o smtpd_client_restrictions=
        -o smtpd_sender_restrictions=
        -o smtpd_recipient_restrictions=permit_mynetworks,reject
        -o mynetworks=127.0.0.0/8

    In main.cf :
    content_filter=smtp-amavis:[localhost]:10024 (the port amavis is listening on)

    __________________________________________________________
    Nik Engel NETWAYS GmbH
    Senior Systems Engineer Deutschherrnstr. 47a
    Fon.0911/92885-13 D-90429 Nürnberg
    Fax.0911/92885-33
    nengelnetways.de www.netways.de