====== MAIL tips ====== Mail text file (/tmp/scream-dump) contents from linux box with subject(scream-dump) mail -s scream-dump user@example.com < /tmp/scream-dump Mail with attachment tar cvzf - data1 data2 you@host.fr Sending message to a logined user of group write user anytext Decode a MIME message uudeview +e .zip -i mail.eml Create AUTH PLAIN string to test SMTP AUTH session printf '\!:1\0\!:1\0\!:2' /' Sintaxis básica del protocolo SMTP HELO MAIL FROM: RCPT TO: DATA Subject: asdfadfsasdf texto texto texto texto texto texto texto texto texto texto texto texto texto texto texto texto texto texto QUIT