Re: SMTP relaying from Android

Erwin Hoffmann <[email protected]>
Newsgroups gmane.mail.qmail.general
Message-ID <[email protected]>
Hi Phil,

the current policy to demand TLS on SMTP (and other communication protocols) was one of the driving forces for my Spamcontrol patch and lately s/qmail (64 bit systems, IPv6 etc).

Maybe you just have a look (link in footer).

Regards.
--eh.


> Am 15.09.2016 um 15:04 schrieb Philip Rhoades <[email protected]>:
> 
> 
> 
> On 2016-09-15 22:09, Shepherd Nhongo wrote:
>> 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
> 
> 
> # svstat /service/qmail-smtpd-ssl /service/qmail-smtpd-ssl/log
> /service/qmail-smtpd-ssl: unable to chdir: file does not exist
> /service/qmail-smtpd-ssl/log: unable to chdir: file does not exist
> 
> Hmm . . I have a certificate installed but I think it is only working for HTTPS . . so it looks like I need to work out how to use it for SMTP as well . . back to Google I guess . .
> 
> Thanks!
> 
> Regards,
> 
> Phil.
> 
> 
>> 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]
> 
> --
> Philip Rhoades
> 
> PO Box 896
> Cowra  NSW  2794
> Australia
> E-mail:  [email protected]
> 

Dr. Erwin Hoffmann | FEHCom | http://www.fehcom.de | PGP Key-Id: EE00CF65
signature.asc (application/pgp-signature, 842 B)
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJX2vBGAAoJEIP8+SDuAM9lyOQP/056PA7T8V02qDL9IHWQQCNg
tc/rtMPI3NBLAMl8lRtaBLNlzAbPxRKjRJO1mPLS7QTFYd+fJkqBFiyGQG3ncAwI
E700FfGuEqTT5dCjSIoNMslebzjANJfaUxDE9iVHol5NH9vJuCJeZqTo0k3YmSkr
99+a5tKwe7zNa/cFzz259oCWN3TAgLgL1IDJuY9RGebm4LvgsNZ7yIidFZmC6WZx
nGKFeDzXRxuQClAVkVMxmSEvXGty7me1e+wb3MV5Pky+3LL/wegs5SsrKhK5CpeY
BHhFe8zA5geikcn1545yFHrD/vPFjthr63dfeOljb59qrks0KIYCd7y+qtQ29LAr
J8rusBWbIj3OTKEFTjkRTH+6JbBLjv9T/N8YoJ0ahp9g55pAn6vw87ywNYG0PyNN
ZMDWkQFtkarOymH/PuR0I0RCUIEHSBl/e6SVsMif/E0SU4YmCXrpXxudKY1Qqxe/
qrke8tiwpd7Uu0DhBzaPZfB4Msvzi84yobne7dgmisdcyokTaMGYCMbJ1eUkYfqI
jb8KrjnoJkZFdmRWjS6Ak8slWJoIsZZs64A8u9SiUWl1fCWecYZyoEGcaI0evACJ
PqfOpxuLQz4RuNxdszQb+B52DLWHE9Pt45XdIeHw66RZ9FavdHqPB89oDTKjBcFq
btu76P/h6Lh5L9tmxi+X
=xH/S
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.