Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email firstname.lastname@example.org
From: Ralf Hildebrandt (Ralf.Hildebrandtcharite.de)
Date: Thu Mar 12 2009 - 03:32:27 CDT
* Rocco Scappatura <Rocco.Scappaturainfracom.it>:
> 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
> How could I do? Is it possible to change the "relayhost" postfix
> parameter on the fly? Or what?
Why not use transport_maps?
Ralf Hildebrandt (Ralf.Hildebrandtcharite.de) snickebocharite.de
Postfix - Einrichtung, Betrieb und Wartung Tel. +49 (0)30-450 570-155
It's mathematical: (uNsTable - NT) = usable.