> Hello!
>
> Van arra mond exim-mel, hogy egy sikeres remote kezbesites eseten
> el tudjak indintani egy kulso scriptet? Ami mondjuk megkap par hasznos
> infot a mailrol, pl. message-id, from, to, subject esetleg. Fontos,
> hogy ezt csak akkor kellene, amikor tenylegesen sikerult kikuldeni a
> levelet, s atvette 2xx-as koddal a tuloldal. Ha nem sikerult a kuldes,
> mert pl. unknown user, vagy mar 7 napja visszautasitja a fogado fel
> atmeneti hibaval, s az exim feladja a probalkozasokat, akkor ne induljon
> el a script.
>
> Nem nagyon tudom merre induljak, a spec.txt-t mar parszor atneztem, de
> nem talaltam tampontot.

Exim4 specifikáció "Generic options for transports" részében láttam egy
ilyet:

shadow_transport        Use: transports Type: string    Default: unset

A local transport may set the shadow_transport option to the name of
another local transport. Shadow remote transports are not supported.

Whenever a delivery to the main transport succeeds, and either
shadow_condition is unset, or its expansion does not result in the empty
string or one of the strings “0” or “no” or
“false”, the message is also passed to the shadow transport,
with the same delivery address or addresses.

a shadow_transport meg lehetne pipe transport, ami a scriptedet hívja.

Üdv,

Tike

_________________________________________________
linux lista      -      [email protected]
http://mlf2.linux.rulez.org/mailman/listinfo/linux

válasz