|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Wietse Venema (wietse
porcupine.org)Date: Tue Apr 02 2002 - 06:56:12 CST
See http://www.postfix.org/big-picture.html.
The transport map is not used for smtpd address rewriting requests.
It is used for qmgr address rewriting requests.
Wietse
Alfredo Sanju?n:
> 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 majordomo
postfix.org with content
> (not subject): unsubscribe postfix-users
>
>
-
To unsubscribe, send mail to majordomo
postfix.org with content
(not subject): unsubscribe postfix-users
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]