<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="es">
	<id>http://educacion.luisantolin.com/index.php?action=history&amp;feed=atom&amp;title=Transport_Exim_que_acepta_todo_y_lo_tira</id>
	<title>Transport Exim que acepta todo y lo tira - Historial de revisiones</title>
	<link rel="self" type="application/atom+xml" href="http://educacion.luisantolin.com/index.php?action=history&amp;feed=atom&amp;title=Transport_Exim_que_acepta_todo_y_lo_tira"/>
	<link rel="alternate" type="text/html" href="http://educacion.luisantolin.com/index.php?title=Transport_Exim_que_acepta_todo_y_lo_tira&amp;action=history"/>
	<updated>2026-05-12T13:44:56Z</updated>
	<subtitle>Historial de revisiones de esta página en la wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>http://educacion.luisantolin.com/index.php?title=Transport_Exim_que_acepta_todo_y_lo_tira&amp;diff=130&amp;oldid=prev</id>
		<title>Lantolin: Página creada con «Para desarrollo y testeo de sistemas, cuando hay emails de por medio, a veces interesa tener un proceso MTA (que hable SMTP) y que todo lo que reciba lo tire.  Herramientas...»</title>
		<link rel="alternate" type="text/html" href="http://educacion.luisantolin.com/index.php?title=Transport_Exim_que_acepta_todo_y_lo_tira&amp;diff=130&amp;oldid=prev"/>
		<updated>2018-04-01T18:27:42Z</updated>

		<summary type="html">&lt;p&gt;Página creada con «Para desarrollo y testeo de sistemas, cuando hay emails de por medio, a veces interesa tener un proceso MTA (que hable SMTP) y que todo lo que reciba lo tire.  Herramientas...»&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Página nueva&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Para desarrollo y testeo de sistemas, cuando hay emails de por medio, a veces interesa tener un proceso MTA (que hable SMTP) y que todo lo que reciba lo tire.&lt;br /&gt;
&lt;br /&gt;
Herramientas: [[wikipedia:exim|exim4]] y un programita en C&lt;br /&gt;
&lt;br /&gt;
Partir de un &amp;lt;code&amp;gt;dpkg-reconfigure exim4-config&amp;lt;/code&amp;gt; con configuración &amp;lt;code&amp;gt;local delivery&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Añadir las siguientes secciones al fichero &amp;lt;code&amp;gt;/etc/exim4/exim4.conf.template&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Al principio del todo.&lt;br /&gt;
&lt;br /&gt;
 MAIN_LOCAL_DOMAINS = ! localhost&lt;br /&gt;
&lt;br /&gt;
Como primer router (justo despues del &amp;lt;code&amp;gt;begin router&amp;lt;/code&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
a_tomar_vientos:&lt;br /&gt;
  driver = accept&lt;br /&gt;
  domains = !localhost&lt;br /&gt;
  transport = al_carajo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Como primer transport (justo despues del &amp;lt;code&amp;gt;begin transports&amp;lt;/code&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
al_carajo:&lt;br /&gt;
  debug_print = &amp;quot;T: al_carajo for $local_part@$domain&amp;quot;&lt;br /&gt;
  driver = pipe&lt;br /&gt;
  command = &amp;quot;/home/yo/do_nothing&amp;quot;&lt;br /&gt;
}}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Ajustar el path del &amp;lt;code&amp;gt;command&amp;lt;/code&amp;gt; para que apunte a nuestro &amp;lt;code&amp;gt;do_nothing&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Compilar el siguiente programa en C.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
int main( int argc, char *argv[] )&lt;br /&gt;
{&lt;br /&gt;
  return 0;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Ni idea de porque hice esto originalmente en C. Seria mas simple un script en BASH o Perl. El &amp;lt;code&amp;gt;driver = pipe&amp;lt;/code&amp;gt; parecería indicar que debería ser trivial que escribiera los emails en disco para poder depurar.&lt;br /&gt;
&lt;br /&gt;
[[Category:Redes]]&lt;/div&gt;</summary>
		<author><name>Lantolin</name></author>
	</entry>
</feed>