A Python port of the Invisible Internet Project (I2P)
1"""SusiMail configuration.
2
3Mail server connection settings for POP3 and SMTP
4through I2P tunnel endpoints.
5
6Ported from i2p.susi.webmail.WebMail configuration.
7"""
8
9from __future__ import annotations
10
11from dataclasses import dataclass
12
13
14@dataclass
15class MailConfig:
16 """Mail client configuration."""
17 pop3_host: str = "127.0.0.1"
18 pop3_port: int = 7660
19 smtp_host: str = "127.0.0.1"
20 smtp_port: int = 7659
21 identity: str = ""
22 page_size: int = 20