Can't connect to OS X Server SMTP?
Ive been trying to fix this for a couple of days now, i'm running OS X Server on an installation of Mountain Lion and am trying to get the Mail server part working.
I can connect to IMAP and login but not the SMTP, ive checked all the ports are forwarded and i'm just stumped at what to do now, my main.cf is:
queue_directory = /Library/Server/Mail/Data/spool
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
data_directory = /Library/Server/Mail/Data/mta
mail_owner = _postfix
unknown_local_recipient_reject_code = 550
debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
setgid_group = _postdrop
html_directory = /usr/share/doc/postfix/html
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix/examples
readme_directory = /usr/share/doc/postfix
dovecot_destination_recipient_limit = 1
mailbox_size_limit = 0
smtpd_tls_exclude_ciphers = SSLv2, aNULL, ADH, eNULL
tls_random_source = dev:/dev/urandom
imap_submit_cred_file = /Library/Server/Mail/Config/postfix/submit.cred
use_sacl_cache = yes
mydomain_fallback = localhost
message_size_limit = 10485760
biff = no
mynetworks = 127.0.0.0/8, [::1]/128
smtpd_client_restrictions = permit_mynetworks permit_sasl_authenticated permit
recipient_delimiter = +
smtpd_tls_ciphers = medium
inet_protocols = all
inet_interfaces = all
config_directory = /Library/Server/Mail/Config/postfix
smtpd_enforce_tls = no
smtpd_use_pw_server = yes
relayhost =
smtpd_tls_cert_file = /etc/certificates/my.domain.com.CB71CACC46A9C512E4FE3B8986E6956558287A0F.cert.p em
mydomain = my.domain.com
smtpd_pw_server_security_options = cram-md5,gssapi,login,plain
smtpd_sasl_auth_enable = yes
smtpd_helo_required = yes
smtpd_tls_CAfile = /etc/certificates/my.domain.com.CB71CACC46A9C512E4FE3B8986E6956558287A0F.chain. pem
content_filter = smtp-amavis:[127.0.0.1]:10024
smtpd_recipient_restrictions = permit_sasl_authenticated permit_mynetworks reject_unauth_destination check_policy_service unix:private/policy permit
header_checks = pcre:/Library/Server/Mail/Config/postfix/custom_header_checks
myhostname = my.domain.com
smtpd_helo_restrictions = reject_non_fqdn_helo_hostname reject_invalid_helo_hostname
smtpd_use_tls = yes
smtpd_tls_key_file = /etc/certificates/my.domain.com.CB71CACC46A9C512E4FE3B8986E6956558287A0F.key.pe m
enable_server_options = yes
recipient_canonical_maps = hash:/Library/Server/Mail/Config/postfix/system_user_maps
virtual_alias_maps = $virtual_maps hash:/Library/Server/Mail/Config/postfix/virtual_users
smtpd_sasl_local_domain = my.domain.com
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mailbox_transport = dovecot
virtual_alias_domains = hash:/Library/Server/Mail/Config/postfix/virtual_domains
alias_maps = hash:/Library/Server/Mail/Config/postfix/aliases
and Mail Server Log:
Oct 24 18:06:05 my.domain.com log[20676]: imap(pid 20765 user chloei): ID sent: name=iPhone Mail, version=10A405, os=iOS, os-version=6.0 (10A405)
Oct 24 18:06:06 my.domain.com log[20676]: imap(pid 20765 user chloei): Connection closed bytes=107/452
Sorry If i'm missing something obvious, i'm new to OS X Server
MacBook Pro, OS X Server