Re: SMTP relaying from Android
Shepherd Nhongo <[email protected]>
| Newsgroups | gmane.mail.qmail.general |
|---|---|
| Message-ID | <[email protected]> |
It Looks like you do not have the ssl service running on your server or your email installation is not compiled to run with ssl Can you run the cmd #svstat /service/qmail-smtpd-ssl /service/qmail-smtpd-ssl/log If yes then what do you get when you tail the qmail-smtpd-ssl log . See below #tail -f /service/qmail-smtpd-ssl/log/main/current Or do #taill -n 50 /service/qmail-smtpd-ssl/log/main/current To see the last fifty lines on the ssl log ... Sent from my iPhone > On 15 Sep 2016, at 1:53 PM, Philip Rhoades <[email protected]> wrote: > > Shepherd, > > >> On 2016-09-15 21:23, Shepherd Nhongo wrote: >> What does your server logs say when you try to send mail from your app ? > > > I don't even get that far - when I try to setup the Android app with the server name; Security type = None and port = 25, I get: > > "Unable to connect to email server to verify your account information. No response from server." > > If I ignore that message and try to send an email, nothing ever arrives . . > > >> Again so can you telnet into your server and run ehlo anydomain.com >> and post results > > > # telnet pricom.com.au 25 > Trying 110.142.211.14... > Connected to pricom.com.au. > Escape character is '^]'. > ehlo anydomain.com > 220 pricom.com.au ESMTP > 250-pricom.com.au > 250-PIPELINING > 250-8BITMIME > 250-SIZE 0 > 250 AUTH LOGIN PLAIN CRAM-MD5 > > Thanks, > > Phil. > > >> Sent from my iPhone >>> On 15 Sep 2016, at 12:41 PM, Philip Rhoades <[email protected]> wrote: >>> People, >>> I use RoundCubeMail as a webmail client to my QMail server and this works really nicely when I am on the LAN. There is a RCM client for Android that works via HTTPS to my server for both reading and sending but it is a very kludgey app. The standard Android app works very nicely for reading mail - the incoming server is set up with the server name and: >>> SSL - Accepts all Certification >>> and port: >>> 993 >>> via IMAP but I can't work out how to set up outgoing mail. The Android app wants an outgoing SMTP server and I have tried messing around with the security types: >>> None >>> SSL >>> SSL - Accepts all Certification >>> TLS >>> TLS - Accepts all Certification >>> and ports: >>> 25 >>> 587 >>> 993 >>> but couldn't get anything to work. I could configure relaying to allow a remote host with a static IP to send mail via plain SMTP to my server but not for my phone ie part of /etc/tcp.smtp: >>> 107.170.210.205:allow,RELAYCLIENT="" # works >>> 101.119.20.:allow,RELAYCLIENT="" # Vodafone fails - looks like an IP problem? >>> I don't want to be forced back to HTTPS with the RCM app - any suggestions about how to fix the SMTP sending? >>> Thanks, >>> Phil. >>> -- >>> Philip Rhoades >>> PO Box 896 >>> Cowra NSW 2794 >>> Australia >>> E-mail: [email protected] > > -- > Philip Rhoades > > PO Box 896 > Cowra NSW 2794 > Australia > E-mail: [email protected]