no more useless exim4 installation on my netbook. configuring it to use my server as smarthost was too much work and a year later I still hadn't accomplished it. one single line in my /etc/inittab allows me to mail from the commandline.

exim:2345:respawn:/usr/bin/ssh -p2345 -n -N -T -L 25:localhost:25 root@mailserver

where 2345 is the root ssh port (not really! you'll have to nmap it to find the real one) and mailserver is, of course, the server that runs exim4, to which I'm connecting.

Back to blog or home page

last updated 2014-11-18 12:35:58. served from tektonic