Mail: Difference between revisions

From DWIKI
Line 59: Line 59:
  sendEmail
  sendEmail


==send mail from command line with sender address==
echo text | mail -s testsubject -r fromuser@example.com touser@example.com


==Test submission==
==Test submission==

Revision as of 13:02, 24 May 2022

Docs

Servers

Tools

Blacklists

Mailing lists

Related services and tools

Filters

Webmail

SMTP servers of ISPs

Tips&Tricks

Send maildir mails to a remote server

without damaging the From and Subject etc.

cat somemail | formail -i "To: new@address.com" | sendmail -t

script for testing mailservers

sendEmail

send mail from command line with sender address

echo text | mail -s testsubject -r fromuser@example.com touser@example.com

Test submission

See https://halon.io/blog/how-to-test-smtp-servers-using-the-command-line/ Encode using

echo -n whatever | base64
openssl s_client -starttls smtp -crlf -connect server:587
ehlo your.host
auth login
base64 encoded username
base64 encoded password