telnet 192.168.1.5 25 Connected to localhost. Escape character is '^]'. 220 tds mail cluster helo me 250 hosting1 mail from:address@yahoo.com 250 2.1.0 Ok rcpt: andrew@example.com 250 2.1.0 Ok DATA 354 End data with <CR><LF>.<CR><LF> From:address@yahoo.com To:andrew@example.com Subject:This is a test Hi This is a test . 250 2.0.0 Ok: queued as 4ACCC7C5A6
telnet 192.168.1.5 25 Trying 192.168.1.5... Connected to localhost. Escape character is '^]'. 220 tds mail cluster ehlo me 250-hosting1 250-PIPELINING 250-SIZE 10240000 250-ETRN 250-STARTTLS 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN
Send a mail to autorespond+dkim@dk.elandsys.com
Send a mail to autorespond+dk@dk.elandsys.com
telnet 192.168.1.5 110 +OK Dovecot ready. user andrew.example +OK pass password +OK Logged in. quit +OK Logging out.
telnet 192.168.1.5 143 * OK Dovecot ready. 01 login andrew.example password 01 OK User logged in 01 list "" "*" * LIST (\HasNoChildren) "." "Trash" * LIST (\HasNoChildren) "." "Drafts" * LIST (\HasNoChildren) "." "Junk" * LIST (\HasNoChildren) "." "Sent" * LIST (\HasNoChildren) "." "INBOX" 01 OK List completed. 01 logout * BYE LOGOUT received 01 OK Completed
dig example.com @127.0.0.1
We are using the test virus from www.eicar.org
telnet 192.168.1.5 25 Connected to localhost. Escape character is '^]'. 220 tds mail cluster helo me 250 hosting1 mail from:address@yahoo.com 250 2.1.0 Ok rcpt: andrew@example.com 250 2.1.0 Ok DATA 354 End data with <CR><LF>.<CR><LF> X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H* . 550 5.7.1 virus Eicar-Test-Signature detected by ClamAV - http://www.clamav.net quit 221 2.0.0 Bye
Take a lot at your /var/log/maillog you should see something like this
73BC87C4E4: milter-reject: END-OF-MESSAGE from localhost[127.0.0.1]: 5.7.1 virus Eicar-Test-Signature detected by ClamAV - http://www.clamav.net; from=<address@yahoo.com> to=<andrew@example.com> proto=SMTP helo=<me>
We are using the test message from http://spamassassin.apache.org/gtube/
telnet 192.168.1.5 25 Connected to localhost. Escape character is '^]'. 220 tds mail cluster helo me 250 hosting1 mail from:address@yahoo.com 250 2.1.0 Ok rcpt: andrew@example.com 250 2.1.0 Ok DATA 354 End data with <CR><LF>.<CR><LF> XJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL*C.34X . 550 5.7.1 Blocked by SpamAssassin quit 221 2.0.0 Bye
You will see this in your log files
spamd: result: Y 1002 - AWL,GTUBE,MISSING_SUBJECT,TVD_SPACE_RATIO,UNPARSEABLE_RELAY scantime=0.5,size=723,user=root,uid=99,required_score=5.0,
Got any comments/bugs drop me a mail my contact info is on the home page.