Newsroom Update

Beginning in May, a special Today at Apple series titled “Made for Business” will offer small business owners and entrepreneurs free opportunities to learn how Apple products and services can support their growth and success. Learn more >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Postfix starttls error

Hello,

trying to get postfix on mac server 10.9.4 (just upgraded)

so I need smtp server to receive emails from 192.1.1.0/24 network and relay out to gmail (we have gmail account)


I've posted the postconf -n output below. I'm using postconf -e to make changes in postfix.

I'm getting errors in mail.log saying relay denied from gmail "must issue a STARTTLS command first"

any ideas on what else I can do to make this work?


Thank you,


Dave



biff = no

command_directory = /usr/sbin

config_directory = /Library/Server/Mail/Config/postfix

daemon_directory = /usr/libexec/postfix

data_directory = /Library/Server/Mail/Data/mta

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

dovecot_destination_recipient_limit = 1

html_directory = /usr/share/doc/postfix/html

imap_submit_cred_file = /Library/Server/Mail/Config/postfix/submit.cred

inet_interfaces = all

inet_protocols = all

mail_owner = _postfix

mailbox_size_limit = 0

mailq_path = /usr/bin/mailq

manpage_directory = /usr/share/man

message_size_limit = 10485760

mydomain_fallback = localhost

mynetworks = 192.1.1.0/24

newaliases_path = /usr/bin/newaliases

queue_directory = /Library/Server/Mail/Data/spool

readme_directory = /usr/share/doc/postfix

recipient_delimiter = +

sample_directory = /usr/share/doc/postfix/examples

sendmail_path = /usr/sbin/sendmail

setgid_group = _postdrop

smtp_sasl_password_maps = hash:/Library/Server/Mail/Config/postfix/sasl/passwd

smtp_sasl_security_options = noanonymous

smtpd_tls_security_level = may

smtpd_client_restrictions = permit_mynetworks permit_sasl_authenticated permit

smtpd_tls_ciphers = medium

smtpd_tls_exclude_ciphers = SSLv2, aNULL, ADH, eNULL

smtpd_use_tls = yes

tls_random_source = dev:/dev/urandom

unknown_local_recipient_reject_code = 550

use_sacl_cache = yes

Posted on Jul 9, 2014 12:07 PM

1 reply

Postfix starttls error

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.