OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Alfredo Sanjuán (alfreibd.es)
Date: Tue Apr 02 2002 - 05:04:11 CST

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

        I'm trying to setup a postfix installation that performs body_checks
    only for some domains. I'm working with the snapshot 1.1.7-20020331 that
    allows multiple instances of internal services.

        So, I've configured the master.cf this way:

    localhost:10025 inet n - n - - smtpd
     -o myhostname=localhost
     -o cleanup_service_name=cleanup2
     -o rewrite_service_name=rewrite2

    cleanup2 unix n - n - 0 cleanup
     -o body_checks=regexp:/etc/postfix/body_checks

    rewrite2 unix - - n - - trivial-rewrite
     -o transport_maps=

    main.cf includes this:
    transport_maps = hash:/etc/postfix/transport

    And the contents of /etc/postfix/transport are:

    some-domain.com smtp:localhost:10025

    But every mail adressed to some-domain.com is rejected because it enters in
    a loop. Seems like the transport_maps option is not recognized by the
    rewrite2 instance. I'm missing something? Is this the way to go for
    selective body_checks?

    --alfredo

    -
    To unsubscribe, send mail to majordomopostfix.org with content
    (not subject): unsubscribe postfix-users