Selective body_checks (snapshot 1.1.7-20020331)

From: Alfredo Sanjuán (no email)
Date: Tue Apr 02 2002 - 06:04:11 EST


    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 with content
(not subject): unsubscribe postfix-users








Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD