Mails versenden (Enigma2)
Version vom 4. September 2023, 18:18 Uhr von Martin Kirner (Diskussion | Beiträge) (→Konfiguration)
Noch in Bearbeitung.
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