https://github.com/kandski/ISA
https://github.com/kandski/ISA
fit isa pop3 vut
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kandski/ISA
- Owner: kandski
- Created: 2018-01-09T22:39:58.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-09T22:40:43.000Z (almost 8 years ago)
- Last Synced: 2024-10-24T06:30:43.801Z (12 months ago)
- Topics: fit, isa, pop3, vut
- Language: C++
- Size: 373 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# POP3 client with TLS authentication
## Included files:
argparser.cpp
argparser.h
main.cpp
Makefile
mySecuredSocket.cpp
mySecuredSocket.h
mySocket.cpp
mySocket.h## Specification of arguments - help:
```
------ ------ ------ ------ ------
Usage: popcl [-p ] [-T|-S [-c ] [-C ]] [-d] [-n] -a -o
Arguments order is arbitrary.
------ ------ ------ ------ ------
-p number of port on remote server
-T (TLS) connect to remote server securely
-S (STARTTLS) connect to remote server unsecured and initiate secure communication
-c name of certification file
-C name of certification directory
-d delete all messages from server after download
-n download and save just new messages
-a name of file with authentication data --required
-o name of folder where messages will be saved --required
------ ------ ------ ------ ------
```
## Known disadvantages of implementation:- Whole message have to be downloaded to retrieve Message-Id on which is based save and creation of files.
- When non-existing directory is given to client, and no message was downloaded from server, directory will be created either.#### Example of using on IPv6 address of seznam.cz POP3 server with TLS encryption
```./popcl 2a02:598:a::78:46 -o test_dir_for_email -a auth.conf -T```#### Example of using on IPv6 address of seznam.cz POP3 server with STARTTLS encryption
```./popcl 2a02:598:a::78:46 -o test_dir_for_email -a auth.conf -S```#### Example of using on IPv4 address of sezanm.cz POP3 server without any encryption
```./popcl 77.75.78.46 -o test_dir_for_email -a auth.conf ```#### Example of using on IPv4 address of sezanm.cz POP3 server with TLS encryption and specified folder with certificates
```./popcl 77.75.78.46 -o test_dir_for_email -a auth.conf -T -C etc/certs/```