Testing intra-domain emails are received without forcing authentication

From Notes_Wiki

Home > CentOS > CentOS 6.x > Zimbra server configuration > Prevent spam problem with Zimbra server > Testing intra-domain emails are received without forcing authentication

To perform this test use any public machine such as AWS VM or other ISP connection. This would ensure that mail server treats the test machine as a random external machine and not a trusted machine. From such machine use following steps:

  1. telnet <mail-server-public-ip> 25
  2. Enter "EHLO testing" after mail server greeting
  3. Then enter following lines into telnet prompt for sending email one line at a time. After each line mail server should respond that things are fine.
    MAIL FROM: <user>@<our-domain.com>
    RCPT TO: <user>@<our-domain.com>
    DATA
    Subject: This is a test email from one user to other user within company domain
    #Intentional blank line. Thus after typing Subject: line press enter twice
    This is test email
    . #A single dot on line to terminate mail
    QUIT #To close telnet session / TCP connection
    A message that 'message has been accepted for delivery' should be received.

If this does not works then mail server being tested is not allowing users within same domain to send emails to each other without authentication. This might have been configured to reduce SPAM. If that is the case then perhaps at least Testing intra-domain emails are working after SMTP authentication should work. Note that this step just checks firewall configuration, email server configuration to receive emails for given domain, etc. For proper working of emails DNS MX, A records should also be set properly which we have not verified here.


Home > CentOS > CentOS 6.x > Zimbra server configuration > Prevent spam problem with Zimbra server > Testing intra-domain emails are received without forcing authentication