On 10/23/2012 03:34 AM, li...@sbt.net.au wrote:
I have Postfix with smtp-auth, port 587, all works good

I'm having problems setting an iPhone with smtp-auth sending, hoping some
iPhone experts can point me in correct direction

on this iPhone, under SMTP, it has 'primary' SMTP server, correct host,
port 587, SSL;

SSL != STARTTLS, which is what postfix submission supports normally.

Either you should choose TLS/STARTTLS here, or you need to provide an SMTPS (465) interface for the device to connect to. Postfix does not directly support SMTPS, but it can manage by using an SSL wrappermode.

Regardless, any connection attempt to your postfix server will be logged.

under 'additional' there are ISP SMTPs (ADSL, cellular) servers, but, all
entries are disabled, only 'primary' is enabled

Emails are retrieved OK {same host as SMTP, IMAP, SSL)

When i tried sending, sending failed, got this error on iPhone:
'copy placed in outbox,sender rejected by server'

There is no apparent log entry at the SMTP server from this attempt;

Then you're either looking at the wrong log, or looking at the log wrong, or the device did not connect to your postfix server.

Regardless, any connection attempt to your postfix server will be logged.

Later, after iPhone device returned 'home' the outbox email got delivered
over WiFi/ISP's SMTP

So, it seems to me, there is another SMTP entry, of ISP, that takes
precedence??

Impossible to say, but on the face of it, unlikely.
You say you could successfully configure the device's "primary" SMTP connection with values that are correct for your server.
It stands to reason that that is what it would use to send mail.

again, under SMTP, only primary server is enabled (the one i'd like to
use), other SMTP servers are disabled, but, email was delivered via ADSL
ISP's smtp server to my Postfix server

No, the message was rejected by the server, as you said above.
Of course, you don't indicate which server this was.

What happens after you connect to wifi is likely something completely different from what happens when you connect to a mobile broadband network.

Read your mail server logs closely, and post the relevant lines of at least one entire submission attempt, if you desire further help.

--
J.

Reply via email to