* Ralf Hildebrandt <ralf.hildebra...@charite.de>: > * Rocco Scappatura <rocco.scappat...@infracom.it>: > > Hello, > > > > I need to use 'mail()' PHP function on a UNIX system, which uses Postfix > > as MTA. > > > > On Linux systems, mail() function use the 'sendmail' program to transmit > > messages. And so, my PHP program uses postfix setup to transmit the > > messages. In particular, it looks up DNS for MX of destination domain an > > forward it to the correct destination. > > > > Now I have the problem, that indeed I need that some messages have to be > > forwarded directly to the destination, while the ones generated by my > > mail application should be sent trhough a smart host (setting up > > relayhost=smart.host.tld). > > > > How could I do? Is it possible to change the "relayhost" postfix > > parameter on the fly? Or what? > > Why not use transport_maps?
Ugh, discard my answer :) -- Ralf Hildebrandt (ralf.hildebra...@charite.de) snick...@charite.de Postfix - Einrichtung, Betrieb und Wartung Tel. +49 (0)30-450 570-155 http://www.arschkrebs.de