Is it possible to change mail routing within a milter without modifying recipient addresses?
I need to reroute messages based on their sender, recipient or some MIME type. If a certain criteria is met, the milter should reroute the message to an external applicance. The message itself should not be modified. Does anyone have an idea if that's possible with milters? The Postfix MILTER_README <http://www.postfix.org/MILTER_README.html> mentions: {mail_host} MAIL (Postfix ≥ 2.6, only with smtpd_milters) Sender next-hop destination {mail_mailer} MAIL (Postfix ≥ 2.6, only with smtpd_milters) Sender mail delivery transport But, as I understand it, the macros apply only to what the MILTER sees and not what it can modify. At the moment my understanding is I would have to implement a SMTP routine myself and call it from within the MILTER. p@rick -- [*] sys4 AG http://sys4.de, +49 (89) 30 90 46 64 Franziskanerstraße 15, 81669 München Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263 Vorstand: Patrick Ben Koetter, Axel von der Ohe, Marc Schiffbauer Aufsichtsratsvorsitzender: Florian Kirstein
