Re: SMTP relaying from Android

Shepherd Nhongo <[email protected]>
Newsgroups gmane.mail.qmail.general
Message-ID <[email protected]>
Well done Richard.

I will also review your guide and recommend it to others in the future.

 

Sent from my iPhone

> On 16 Sep 2016, at 9:58 AM, Thibault Richard <[email protected]> wrote:
> 
> Hello,
>  
> > Eric has qmailrocks but it's way too old and hardly updated . Maybe look at dev.qmailrocks.org it could help
>  
> I’ve made my own version for Debian which is available on http://qmailrocks.thibs.com/
>  
> About the question itself, you can take a look on http://qmailrocks.thibs.com/test-qmail.php and start reading at “Sending e-mail through an authentificate connection : Testing TLS”. It describes some test to do on your server to check which methods are available to use your server to send mail.
>  
> You can :
>  
> -Accept relaying mail based on the IP (I strongly discourage it) without authentication
> -Accept relaying through port TCP 25 after authentication (“Sending e-mail through an authentificate connection : Testing TLS” on my page)
> -Accept relaying through port TCP 465 authenticated from the beginning of the session
>  
> Best Regards
>  
> Thibault
>  
> From: Shepherd Nhongo [mailto:[email protected]] 
> Sent: jeudi 15 septembre 2016 15:20
> To: [email protected]
> Cc: Qmail List
> Subject: Re: SMTP relaying from Android
>  
> Yes you need to do that . Your webserver's SSL certificate is good to help encrypt your web server and your smtp service needs that too...
>  
> Take a look at John Simpson's website it does really have good information to help you through http://qmail.jms1.net/
>  
> Eric has qmailrocks but it's way too old and hardly updated . Maybe look at dev.qmailrocks.org it could help
>  
> Regards
>  
> Shepherd 
> Sent from my iPhone
> 
> On 15 Sep 2016, at 3:04 PM, Philip Rhoades <[email protected]> wrote:
> 
> 
> 
> 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]
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.