Listing 6 AMaViS testing via telnet
# telnet 0 10025
Trying 0.0.0.0...
Connected to 0.
Escape character is '^]'.
220 smtp-gate.mail.domain Unsolicited Email and Unauthorized Relaying Not Permitted
quit
221 Bye
Connection to 0 closed by foreign host.
# telnet 0 10024
Trying 0.0.0.0...
Connected to 0.
Escape character is '^]'.
220 [127.0.0.1] ESMTP amavisd-new service ready
Mail From: <root@mail.domain>
250 2.1.0 Sender root@mail.domain OK
Rcpt To: <postmaster@mail.domain>
250 2.1.5 Recipient postmaster@mail.domain OK
DATA
354 End data with <CR><LF>.<CR><LF>
From: <root@mail.domain>
To: <postmaster@mail.domain>
Subject: EICAR test
X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*
.
250 2.5.0 Ok, id=18106-03, BOUNCE
quit
221 2.0.0 [127.0.0.1] (amavisd) closing transmission channel
Connection to 0 closed by foreign host. |