Mails versenden (Enigma2): Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 1: | Zeile 1: | ||
== Installation == | == Installation == | ||
Version vom 4. September 2023, 18:19 Uhr
Installation
opkg install mailx
Konfiguration
vi /home/root/.mailrc
account kirner.or.at { # external smtp server set smtp-use-starttls set ssl-verify=strict # or ignore set smtp="smtp://mail1.kirner.or.at:587" set smtp-auth=login set smtp-auth-user="<user>@kirner.or.at" set smtp-auth-password="<password>" set from="<user>@dkirner.or.at(Max Mustermann)" }
echo -e "Mail body text" | mailx -A kirner.or.at -s "Mail subject" temp@kirner.or.at
Links
https://gist.github.com/ppdeassis/badd934991b7939f088274bfeebb613d
https://www.binarytides.com/linux-mailx-command/
Links
https://linux.die.net/man/1/mailx
Zurück zu Satreceiver / Images