| The following illustration describes the logical flow for sening a new message inside a "posta elettronica certificata" system based on OpenPEC. In the scheme are represented 2 different domains and it assumes that the first (sending domain) is using OpenPEC. 
 
		 
		The user connects to his server through SMTP/S protocol and sends his message
		The message is delivered from the MTA to OpenPEC
		OpenPEC passes the message through the Antivirus module, which scans it and returns the result
		OpenPEC, once certain of viruses absence, sends the receipt of acceptance to the LMTP server that ships it to the user mailbox
		OpenPEC checks on LDAP that message recipients are users of some PEC domain
		OpenPEC wraps the original message in a transport envelope which sends to the HSM module to be signed
		OpenPEC forwards the signed transport message to the MTA
		The MTA sends the message to the recipient
		The recipient PEC server sends a receipt of token charge to the sender PEC server
		Once the message has been delivered, the recipient's administrator sends the acknoledgement of receipt to the sender
		The acknoledgement of receipt is sent to OpenPEC 
		OpenPEC forwards the acknoledgement of receipt to LMTP which ships it to the user's mailbox
		 Every operation is recorded on log files. | 
	
	
		| The following illustration describes the receipt logical flow for a message inside a "posta elettronica certificata" system based on OpenPEC. In the scheme there are 2 different domainds and we suppose that the former (addressee domain) uses OpenPEC 
 
		 
		The transport message is collected by the MTA
		The MTA sends the message to OpenPEC
		OpenPEC generates a receipt of token charge and forwards it to the MTA
		The MTA sends to the sender the receipt of token charge
		OpenPEC sends the received transport message to the antivirus module which scans it
		If no viruses are found, OpenPEC retrieves from LDAP server the certificate and the informations about the sender domain needed to verify the signature accuracy
		OpenPEC sends the message to the HSM module which verifies the accuracy of the signature (verifying that the message hasn't been altered)
		OpenPEC unpacks the transport message and ships the original message to the recipient mailbox through LMTP
		Once delivered the message, OpenPEC generates an acknoledgement of receipt (complete, brief or summary, depending on what the sender asked) and forwards it to the MTA
		The MTA server sends the receipt to the sender
		 Also in this case, every operation is recorded on log files. |