On Jun 8, 2013, at 17:16, Asai <a...@globalchangemusic.org> wrote:

> On 6/7/2013 4:26 PM, DTNX Postmaster wrote:
>> The Mail.app applications on iOS (iPhones or iPads) or OS X will
>> attempt to autodetect the port to connect to; 25, 465, and 587. It
>> works just fine over the submission port (587) without enabling the
>> SMTPS port (465), and the autodetection can be overridden in the
>> settings if needs be;
>> 
>> Settings > Mail, Contacts, Calendars > [accountname] > Account >
>> Outgoing Mail Server (SMTP) > Primary Server > Server Port
>> 
>> That's the case on iOS 6; earlier versions might differ slightly in
>> option names, but offer a similar override. Make sure your own SMTP
>> server is in fact the primary server, by the way, and not one of the
>> 'Other SMTP Servers'.
>> 
>> This is what the submission service definition on one of our servers
>> looks like;
>> 
>> ==
>> # Submission service for use by our clients
>> submission   inet    n       -       n       -       128     smtpd
>>      -o smtpd_tls_security_level=encrypt
>>      -o smtpd_sasl_auth_enable=yes
>>      -o smtpd_client_restrictions=permit_sasl_authenticated,reject
>>      -o smtpd_data_restrictions=permit_sasl_authenticated,reject
>>      -o smtpd_proxy_filter=127.0.0.1:10025
>> ==
>> 
>> It is important to note that we have seperate relay servers; the
>> mailbox servers clients connect to never open anything but the
>> submission port (587), and there is therefore never a problem with
>> clients trying to connect to postscreen on port 25. A similar setup can
>> be achieved by moving the submission service to a seperate IP address,
>> if possible.
>> 
>> Do however make sure that it is in fact your Postfix configuration, and
>> not a DNS issue of some sort. Test with an iPhone or iPad that has the
>> server port set manually, and see if the problem disappears. If it does
>> not, the problem might be elsewhere.
>> 
>> Other than that, there should not really be any compatibility issues
>> with iOS devices talking to Postfix, as long as your DNS and such is in
>> order.
>> 
>> HTH,
>> Jona
>> 
> Thank you for your generous responses.
> 
> I do have the client's iPhone set to port 587, however, I'm still wondering 
> if the iPhone is trying to connect via SMTPS or port 25 (which is not 
> available).  I would like to try setting up SMTP wrapper mode, but does that 
> in any way disable or interfere with the submission port and TLS?  From 
> reading the Postfix docs I was not sure whether it would override of TLS or 
> not.
> 
> Also, I will check in to the DNS situation.

If the ports are not open, and nothing shows in the Postfix logs that 
is out of the ordinary, look for the cause elsewhere. Start with DNS.

Also, if you have a working submission service there is no reason 
whatsoever to set up a wrapper mode for SMTPS. It's not a standard, and 
its use is deprecated. It should however not interfere with your 
submission port setup, as they are seperate entries in your 'master.cf' 
file.

But again, look closely at your logs. Verify your DNS settings. Test 
with telnet, see if you get a prompt from the client location on port 
587, and so on. See if the problem is in any way dependent on location, 
a specific device, etcetera, etcetera. 

Good luck :-)

Mvg,
Jona

Reply via email to