12.07.2015 Views

Red Hat Enterprise Linux 5 Administration Unleashed

Red Hat Enterprise Linux 5 Administration Unleashed

Red Hat Enterprise Linux 5 Administration Unleashed

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Allowing Email Connections 377LISTING 18.2Continued9 2079 7248K 2075 8230K 0 0 0 local=====================================================================T 3133 12716K 3079 14260K 0 0 0C 3133 3079 0As you can see from Listing 18.2, the mailstats output starts with the date on which thestatistics shown began. The next lines before the line of equals (=) characters containstatistics for each mailer with the columns described in Table 18.1.TABLE 18.1ColumnMmsgsfrbytes_frommsgstobytes_tomsgsrejmsgsdismsgsqurMailermailstats ColumnsDescriptionMailer numberNumber of messages received from the mailerKilobytes received from the mailerNumber of messages to the mailerKilobytes sent to the mailerNumber of rejected messagesNumber of discarded messagesNumber of quarantined messages (specific messages marked as quarantinedso they are not delivered or displayed)Name of the mailerThe line that begins with T lists the totals for all the mailers, and the last row that beginswith C shows the number of TCP connections.By default, Dovecot also logs to the /var/log/maillog file such as the following entry fora login attempt:Jun 12 13:52:26 hostname dovecot: imap-login: Login: user=, method=PLAIN,rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, TLS18To write Dovecot log files to a separate log file, use the log_path variable in/etc/dovecot.conf such aslog_path = /var/log/dovecotAllowing Email ConnectionsBy default, Sendmail uses TCP and UDP port 25 for non-encrypted transfers. If theSendmail server is configured to use SSL for encrypting email sent and received, it usesport 465. If you also enable the POP protocol for users to retrieve email, allow port 110for insecure POP connections or port 995 for secure POP over SSL. If you enable IMAP,allow port 143 for insecure IMAP connections or port 993 for secure IMAP over SSL. Verifythat your firewall settings on the mail server allow incoming and outgoing requests onthe appropriate port.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!