Fabrizio Mancini wrote: mi rispondo da solo visto che ho trovato la soluzione
come si dice, l'appetito vien mangiando... ho dato una letta alla man di fetchmail ed ho scoperto che quando passa la posta la manda all'mta installato sul sistema locale, come se fosse ricevuta tramite una normale connessione tcp/ip. Visto che ho exim installato mi sono detto di provare a lanciare procmail e spamassassin direttamente da li.
qui mi sono perso un pezzo prima. cioè che procmail mi genera un errore!! ;-)
credo sia dovuto ad exim che non trova il transport ma non ne sono sicuro.mi sapete dire qualcosa? questo è l'errore A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed:pipe to | IFS=' ' && p=/usr/bin/procmail && test -f $p && exec $p -f- || exit 75 #fabriziogenerated by fabrizio@fabrizio.nethome.test "IFS='" command not found for address_pipe transport
googlando un po ho trovato questo http://www.exim.org/exim-html-3.20/doc/html/spec_18.html#SEC540 dove dice
Note that the command that the pipe transport runs does /not/ begin with IFS=" "as shown in the /procmail/ documentation, because Exim does not by default use a shell to run pipe commands.
ecco risolto l'arcano!!! quindi basta dare |/usr/bin/procmail -f- ed il tutto funziona a norma. ciao