AquaMail Forum

English - Android => How do I... => Topic started by: dmehler53 on April 23, 2018, 05:31:25 am

Title: Aquamail sending through Postfix 3.3?
Post by: dmehler53 on April 23, 2018, 05:31:25 am
I'm running Aquamail Pro latest from Playstore on Android 7.1 on my phone and tablet. I'm trying to send email through my Postfix server. First of all, thank you for allowing Aquamail to work with the autodiscover it made things so much easier when I set that up for my server and tablet. The problem I've got is when sending email with aquamail through the postfix server. The helo command is rejected because it is sent as the machine's internal IP, an example is <[192.168.1.55]> this is with Postfix 3.3. Does anyone have a fix for this either in Aquamail or in Postfix?
Title: Re: Aquamail sending through Postfix 3.3?
Post by: Kostya Vasilyev on April 24, 2018, 07:34:58 pm
I know we already exchanged some emails on this, but for the sake of others who may run into this:

I think you've made your postfix settings too restrictive.

May be OK for the service that accepts emails "from the outside" and destined for your domain, but there is really no reason to enable it for the service that accepts emails from one of your own accounts ...

... because "accepting emails from one your own accounts" should use authentication for protection (unless you're interested in running an open relay).

This is from my Postfix config ( version 2.11.3-1+deb8u2 on Debian 8 )

smtpd_client_restrictions=permit_sasl_authenticated,reject

Aqua Mail (or other email apps that you may use to send from *your* account or *an* account) will authenticate - i.e. log into your (or some other) account and therefore will fall under permit_sasl_authenticated and won't be rejected.