Este tip, ya me lo había pasado rmayorga y se me había olvidado. Yo tengo mi propio servidor de correos electronicos conrriendo en postfix y para evitar spam no dejo pasar el relay de otras ips. Pero me veo en la necesidad de enviar correos desde mis servidores y no quiero estár instalando servidores de correo y agregarlos en mi relay.
Entra aqui nullmailer.
Este remplaza el MTA local y crea el servicio de MTA y hace el relay a otro servidor que nosotros pongamos con usuario y password (si tiene).
Se instala así. (Debian Lenny)
katana:/var/log/2009-11/192.168.1.10# aptitude install nullmailer
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
The following packages are BROKEN:
exim4 exim4-config
The following NEW packages will be installed:
nullmailer
The following packages will be REMOVED:
exim4-daemon-light{a}
0 packages upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
Need to get 90.6kB of archives. After unpacking 618kB will be freed.
The following packages have unmet dependencies:
exim4-config: Conflicts: nullmailer but 1:1.04-1.1 is to be installed.
exim4: Depends: exim4-daemon-light but it is not installable or
exim4-daemon-heavy but it is not installable or
exim4-daemon-custom which is a virtual package.
The following actions will resolve these dependencies:
Remove the following packages:
exim4
exim4-base
exim4-config
Score is 251
Accept this solution? [Y/n/q/?] Y
The following NEW packages will be installed:
nullmailer
The following packages will be REMOVED:
exim4{a} exim4-base{a} exim4-config{a} exim4-daemon-light{a}
0 packages upgraded, 1 newly installed, 4 to remove and 0 not upgraded.
Need to get 90.6kB of archives. After unpacking 3514kB will be freed.
Do you want to continue? [Y/n/?] Y
Writing extended state information… Done
Get:1 http://ftp.us.debian.org lenny/main nullmailer 1:1.04-1.1 [90.6kB]
Fetched 90.6kB in 1s (84.3kB/s)
Preconfiguring packages …
(Reading database … 20661 files and directories currently installed.)
Removing exim4 …
dpkg: exim4-base: dependency problems, but removing anyway as you request:
exim4-daemon-light depends on exim4-base (>= 4.69).
Removing exim4-base …
Stopping MTA: exim4_listener.
Removing exim4-config …
dpkg: exim4-daemon-light: dependency problems, but removing anyway as you request:
bsd-mailx depends on exim4 | mail-transport-agent; however:
Package exim4 is not installed.
Package mail-transport-agent is not installed.
Package exim4-daemon-light which provides mail-transport-agent is to be removed.
at depends on exim4 | mail-transport-agent; however:
Package exim4 is not installed.
Package mail-transport-agent is not installed.
Package exim4-daemon-light which provides mail-transport-agent is to be removed.
Removing exim4-daemon-light …
Stopping MTA:.
Processing triggers for man-db …
Selecting previously deselected package nullmailer.
(Reading database … 20525 files and directories currently installed.)
Unpacking nullmailer (from …/nullmailer_1%3a1.04-1.1_i386.deb) …
Processing triggers for man-db …
Setting up nullmailer (1:1.04-1.1) …
Starting mail-transfer-agent: nullmailer.
Reading package lists… Done
Building dependency tree
Reading state information… Done
Reading extended state information
Initializing package states… Done
Writing extended state information… Done
Reading task descriptions… Done
Despues solo le configuramos el servidor con el cual necesitamos enviar. Saludos y espero les sirva.