[Dovecot] relay access denied problem thru iphone imap auth

Charles Marcus CMarcus at Media-Brokers.com
Fri Jul 30 13:53:01 EEST 2010

Bryan Vyhmeister wrote:
> In my situation, all SMTP AUTH is sent through port 465 (smtps) using
> TLS. I hope that helps.

First, smtps (port 465) is deprecated, so you should use the
STARTTLS+submission port (587) unless there is a specific reason to use
smtps. The iPhone supports SARTTLS fine.

Next - there is absolutely no evidence that SMTP_AUTH is attempted in
your log snippet:

> Jul 29 20:10:02 ubuntu postfix/smtpd[28892]: connect from
> unknown[]
> Jul 29 20:10:06 ubuntu postfix/smtpd[28892]: NOQUEUE: reject: RCPT
> from unknown[]: 554 5.7.1 <xxx at gmail.com>: Relay access
> denied; from=<amit at outsidedomain.com> to=<xxx at gmail.com> proto=ESMTP
> helo=<[]>
> Jul 29 20:10:06 ubuntu postfix/smtpd[28892]: disconnect from
> unknown[]

Enable the submission port in postfix (just uncomment the example), and
tell your iPhone to use SARTTLS on port 587.


Best regards,


More information about the dovecot mailing list