Zugriff auf Mail Dienste von der Konsole

Erstellen von MIME Code für den SSL Zugriff
printf "{Benutzername}" | mimencode
printf "{Passwort}" | mimencode
Verbindung zu einem SMTP Server
netcat localhost smtp quit
Verbindung zu einem SMTP Server mit SSL
openssl s_client -connect localhost:smtps
auth login
{Benutzername als MIME Code}
{Passwort als MIME Code}
mail from: {Absender}
rcpt to: {Empfänger}
data
{Nachricht}
.
quit
Verbindung zu einem IMAP Server
netcat localhost imap
. login {Benutzername} {Passwort}
. list "" "*"
. status inbox (messages)
. capability
. logout
Verbindung zu einem IMAP Server mit SSL
openssl s_client -connect localhost:imaps
. login {Benutzername} {Passwort}
. list "" "*"
. status inbox (messages)
. capability
. logout
Verbindung zu einem POP3 Server
netcat localhost pop3
user {Benutzername}
pass {Passwort}
list
quit
Verbindung zu einem POP3 Server mit SSL
openssl s_client -connect localhost:pop3s
user {Benutzername}
pass {Passwort}
list
quit
Verbindung zu einem SIEVE Server
netcat localhost sieve logout
Ein Auszug aus /etc/protocols zeigt die Protokolle für Mail Dienste.
| Name | Port/Protokoll | Alt. Name | Beschreibung |
|---|---|---|---|
| smtp | 25/tcp | ||
| ssmtp | 465/tcp | smtps | # SMTP over SSL |
| imap2 | 143/tcp | imap | # Interim Mail Access P 2 and 4 |
| imap2 | 143/udp | imap | |
| imap3 | 220/tcp | # Interactive Mail Access | |
| imap3 | 220/udp | # Protocol v3 | |
| imaps | 993/tcp | # IMAP over SSL | |
| imaps | 993/udp | ||
| pop3 | 110/tcp | pop-3 | # POP version 3 |
| pop3 | 110/udp | pop-3 | |
| pop3s | 995/tcp | # POP-3 over SSL | |
| pop3s | 995/udp | ||
| cisco-sccp | 2000/tcp | sieve | # Cisco SCCP |





Um nach Bildern in einer gewünschten Größe bei Google zu suchen einfach den Parameter “imagesize” zu der Suche hinzufügen.





