Hi thanks again , yes now I understand the injection but i cannot relay on php scripts to do the talk postfix sendmail seems more robust to handle that , well anyway while searching for direct injection via smtp i found the awnser to my problem and since i asked here ill post the response too for prosperity , ehehe , the answer is message-id it seems message-id can be set and queu-id too before delevering to postfix so when grepping the logs if message-id is set correctly and unique for each mail i can now determine what line log corresponds to what mail thank you very much i would not accomplisehd this without the help from you guys , regards and happy postfixing ;)
-----Mensagem original----- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Em nome de Ralf Hildebrandt Enviada: quinta-feira, 7 de Agosto de 2008 17:56 Para: postfix-users@postfix.org Assunto: Re: Track logs * [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > Hi could you explain "direct smtp injection", telnet host 25 speak smtp > I m reading now about VERP but anyway i found the information in logs > very usefull with the downgrade that i cannot atm do the relation i > was expecting > > -----Mensagem original----- > De: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Em nome de Ralf Hildebrandt > Enviada: quinta-feira, 7 de Agosto de 2008 16:54 > Para: postfix-users@postfix.org > Assunto: Re: Track logs > > * [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > > Hi thanks for your quick reply we are building a web system that > > permits the sending of mail to a user defined mailling list for each > > of the contacts on the mailling list we send one mail ex : > > ([EMAIL PROTECTED] -> [EMAIL PROTECTED] , [EMAIL PROTECTED] -> > > [EMAIL PROTECTED] , ... ) for this we use a foreach that iterates > > the recipeints array > > OK. It's called "mailing list" > > > We use sendmail to send the mail , > > That's very slow. Direct injection via SMTP is faster. > > > I was hopping it was possible to have a relation between each mail > > we send and the log generated for that mail to get reports back to > > the webapp that could confirm for example virus found , email > > sucessfull , email rejected etc etc , but when i go to the logs e > > cannot associate de log line with the sendmail command that > > generated that log , i dont know if im explain myself well but : > > Use VERP and examine the bounces (if any). > > -- > Ralf Hildebrandt ([EMAIL PROTECTED]) [EMAIL PROTECTED] > Postfix - Einrichtung, Betrieb und Wartung Tel. +49 (0)30-450 570-155 > http://www.arschkrebs.de > "I've not lost my mind. It's backed up on tape somewhere." - Unknown > -- Ralf Hildebrandt ([EMAIL PROTECTED]) [EMAIL PROTECTED] Postfix - Einrichtung, Betrieb und Wartung Tel. +49 (0)30-450 570-155 http://www.arschkrebs.de Trying to outsmart a compiler defeats much of the purpose of using one. -- Kernighan & Plauger, The Elements of Programming Style.