It works as a local server: the client sets the server address to 127.0.0.1 and receives/sends the email from/to there. avast comunicates with client locally and with the original mail server remotely - so it works as a pipe while the message is tranferred to/from the computer...