On Wed, October 24, 2012 8:55 am, Jeroen Geilman wrote:

Jeroen, thanks

> 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.

I might be using wrong terminology, sorry

port 587 smtp auth works ok on this server, with other iPhone users as
well with Android, Outlook, TB, etc


>> 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.

as far as I can tell, this iPhone was not even trying to connect to
postfix server

>> 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.

the error message didn't say, I've screenshoted it, not sure if iPhone has
some other log access one can see ?

> 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.

the 'failed on cell, delivered later on wifi' header below, sender
name/dom and mailhost name altered:

I created the message around 9:35am, iPhone seems to have it as 9:45 (fwiw)
----------------
Return-Path: <sen...@tld.com.au>
Delivered-To: <voy...@sbt.net.au>
Received: from mailhost.sbt.net.au
     by mailhost.sbt.net.au (Dovecot) with LMTP id ZWMHHdmXgFBDFAAAyLbbsQ
     for <voy...@sbt.net.au>; Fri, 19 Oct 2012 10:59:21 +1100
Received: from localhost (localhost.localdomain [127.0.0.1])
     by mailhost.sbt.net.au (Postfix) with ESMTP id 6A85538285A
     for <voy...@sbt.net.au>; Fri, 19 Oct 2012 10:59:21 +1100 (EST)
X-Virus-Scanned: amavisd-new mailhost at sbt.net.au
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 required=5.8 tests=[BAYES_00=-1.9,
     RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham
Received: from mailhost.sbt.net.au ([127.0.0.1])
     by localhost (mailhost.sbt.net.au [127.0.0.1]) (amavisd-new mailhost,
port 10024)
     with LMTP id TLIWowtuJHmr for <voy...@sbt.net.au>;
     Fri, 19 Oct 2012 10:58:53 +1100 (EST)
Received: from icp-osb-irony-out1.external.iinet.net.au
(icp-osb-irony-out1.external.iinet.net.au [203.59.1.210])
     by mailhost.sbt.net.au (Postfix) with ESMTP id 46607382834
     for <voy...@sbt.net.au>; Fri, 19 Oct 2012 10:58:53 +1100 (EST)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result:
ArYIAPiWgFB8qsKC/2dsb2JhbAANOIF1BAGJCYMgtgIhZ4EWsgWTdJE6YAObb40z
X-IronPort-AV: E=Sophos;i="4.80,609,1344182400";
     d="scan'208";a="50825038"
Received: from unknown (HELO [192.168.100.106]) ([124.170.194.130])
     by icp-osb-irony-out1.iinet.net.au with ESMTP; 19 Oct 2012 07:58:51
+0800
Subject: Test
From: iPhone <sen...@tld.com.au>
Content-Type: text/plain; charset=us-ascii
Message-Id: <7c5ba16f-9c9e-47d0-ae7b-e91c74b3e...@tld.com.au>
Date: Fri, 19 Oct 2012 09:45:51 +1100
To: Voytek <voy...@sbt.net.au>
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (iPhone Mail 8J2)
X-Mailer: iPhone Mail (8J2)
================

how/what should I search for in mail log ?

scrolling manually around 9:35 (the time I was attempting to sub,mit
email) I couldn't find anything that indicated attempted access from this
user, it's possible I was looking incorrectly

but, my understanding of mail header above, it was submitted to ISP's mail
server, not postfix server, yet, the only enabled smtp I saw on iphone was
my postfix server (unless iPhone user fiddled the iPhone..?)


thanks again for any pointers
Voytek




Reply via email to