Roel Bouwman:
> I have tried duplicating the "cleanup" and "qmgr" and "rewrite"
> services in master.cf with a duplicate one, and using the
> -o queue_directory and -o ..._service_name and -o default_transport
> parameters to seperate traffic flows.
> 
> However, this doesn't seem to work as I would have expected it to:
> 
> Oct 17 17:49:41 smtp01 postfix/qmgr[72891]: warning: connect #2 to subsystem 
> private/rewrite_cust1: No such file or directory
> 
> Is this a futile attempt and will postfix simply not tolerate
> multiple cleanup/qmgr/rewrite processes in a single instance?

You made some mistake in a master.cf service name field, or some
"security" feature (selinux, apparmor, or the like) is getting in
the way.

The Postfix master daemon has no clue what qmgr is or trivial-rewrite
or any other Postfix daemon. This separation of concerns is
intentional.  It avoids the kind of breakage that you are suggesting.

> By the way: it would be a much cleaner solution if one were able
> to to stick tags to e-mails in -for example- the smtpd process. If
> those tags would be retained while the message is in-queue qmgr
> could then be configured to make outbound routing decisions based
> on these tags, instead of just based on the sender.

Postfix SMTP servers can already make outbound routing decisions
by setting the FILTER attribute with an access table (see Feature
20100117 in RELEASE_NOTES-2.7).

        Wietse

Reply via email to