Swaks - Swiss Army Knife for SMTP
Wer mit Mailservern, bez. SMTP-Server zu tun hat, der wird mit Swaks seine grosse Freude haben. Bei Problemen mit dem SMTP-Server kann man auf einfache weise ein E-Mail senden und genau abfragen wo z.Z. Probleme vorhanden sind. Das Script braucht lediglich Perl, was eigentlich auf jedem Linux vorhanden sein dürfte.
Die Features (Version v20130209.0) sind:
- SMTP extensions including TLS, authentication, pipelining, and XCLIENT
- Protocols including SMTP, ESMTP, and LMTP
- Transports including unix-domain sockets, internet-domain sockets (IPv4 and IPv6), and pipes to spawned processes
- Completely scriptable configuration, with option specification via environment variables, configuration files, and command line
Beispiele
Senden eines Mails an einen bestimten SMTP Server:
swaks --to benutzer@example.com --server smtp.example.com
Senden eines Mails via GMail SMTP Server:
swaks --t benutzer@gmail.com -s smtp.gmail.com:587 -tls -a LOGIN
Senden eines Mails mit einem Absender und die Ausgabe:
swaks --to empfaenger@example.com --server smtp.mailserver.ch -f sender@example.com
=== Trying smtp.mailserver.ch:25... === Connected to smtp.mailserver.ch. <- 220 smtp.mailserver.ch ESMTP Postfix (Debian/GNU) -> EHLO mypc <- 250-smtp.mailserver.ch <- 250-SIZE 10240000 <- 250-VRFY <- 250-ETRN <- 250-AUTH DIGEST-MD5 CRAM-MD5 NTLM LOGIN PLAIN <- 250-AUTH=DIGEST-MD5 CRAM-MD5 NTLM LOGIN PLAIN <- 250-ENHANCEDSTATUSCODES <- 250-8BITMIME <- 250 DSN -> MAIL FROM:<sender@example.com> <- 250 2.1.0 Ok -> RCPT TO:<empfaenger@example.com> <- 250 2.1.5 Ok -> DATA <- 354 End data with <CR><LF>.<CR><LF> -> Date: Fri, 1 Aug 2014 20:24:28 +0200 -> To: empfaenger@example.com -> From: sender@example.com -> Subject: test Fri, 22 Aug 2014 20:24:28 +0200 -> X-Mailer: swaks v20120320.0 jetmore.org/john/code/swaks/ -> -> This is a test mailing -> -> . <- 250 2.0.0 Ok: queued as 0A53581017 -> QUIT <- 221 2.0.0 Bye === Connection closed with remote host. smtp.mailserver.ch
Download
Permalink:
Swaks - Swiss Army Knife for SMTP×
...auch noch interessant
- Tipps und Tricks // 09.02.2024MySQL: Japanisch konvertieren zwischen HEX, Decimal code point, UNICODE characters bytes
- Tipps und Tricks // 12.03.2019Tipp für die Linux Bash: jq is a lightweight and flexible command-line JSON processor
- Tipps und Tricks // 27.04.2018Ubuntu: Downgrade Firefox
- Tipps und Tricks // 06.04.2018MySQL .NET Connector: Ungwöhnliche Timeout Probleme (Connection Attributes)
Tippsammlung
Kleine Tippsammlung für mich und dijenige die sich auf meine Webseite verirrt haben.Archiv
Jahr
Tag(s):- Apr 2024 (2)
- Feb 2024 (3)
- Jan 2024 (1)
- Sep 2023 (1)
- Jul 2023 (1)
- Apr 2023 (1)
- Feb 2023 (1)
- Nov 2022 (2)
- Oct 2022 (1)
- Jul 2022 (1)
- Jun 2022 (2)
- May 2022 (2)
- Apr 2022 (6)
- tipps (31)
- synology (27)
- linux (22)
- Windows (19)
- tool (18)
- Powershell (15)
- Windows 10 (13)
- csharp (c#) (10)
- coding (9)
- Ubuntu (6)
- security (6)
- ad (6)
- Windows 2012 R2 (5)
- vpn (5)
- Pi (5)
- gitea (5)
- git (5)
- Windows 2012 (4)
- Ubuntu 22.04 (4)
- opnsense (4)
- openpgp.js (4)
- mysql (4)
- docker (4)
- Xubuntu (3)
- Windows 2016 (3)
- web2 (3)
- seo (3)
- Japanisch (3)
- ipkg (3)
- app (3)
- Android (3)
- Zertifizierungsstelle (2)
- www (2)
- wsus (2)
- Windows Updates (2)
- windows 2022 (2)
- Windows 2008 (2)
- wadoku (2)
- VMware (2)
- verschlüsselung (2)
- Scripts (2)
- php (2)
- pgp (2)
- perl (2)
- openvpn (2)
- LMS (2)
- Kanji (2)
- javascript (2)
- GnuPgP (2)
- Firewall (2)
Nichts gefunden
Es wurde zur Story Swaks - Swiss Army Knife for SMTP kein Kommentar gefundenInformation
Werbung oder Ähnliches sind nicht erlaubt, daher wird jeder Beitrag geprüft und freigegeben.Advertising, etc. are not allowed, so any contribution is reviewed and approved.
Facebook-Webadress are not allowed, Facebook als Webadresse ist nicht erlaubt
* Die E-Mail wird nicht veröffentlicht / The email will not be published
** Bitte Zahl eintragen / Please enter the number
Modal Header
Some text in the Modal Body
Some other text...
(c)2024 stastka.ch // help system