Re: SMTP relaying from Android

[email protected]
Newsgroups gmane.mail.qmail.general
Message-ID <[email protected]>
Hello all,

Just a few points here;

Am I the only one here that thinks that qmailrocks is far too outdated 
to even suggest? I personally setup dev.qmailrocks.org years ago and 
we're talking freebsd 7 which came out in 2008 (which makes it 8 years 
old). I got tired of asking Eric to take control over qmailrocks and I 
just gave up on him. He's working with model trains now I guess. I think 
the guy just has problems letting go.

If you all want an updated FreeBSD guide for qmail, take a look at 
https://freebsdrocks.net/index.php/documents/17-qmail-2-0 . This 
includes sending on SSL and TLS as well as secure webmail.

Bill

On 2016-09-15 09:19, Shepherd Nhongo wrote:
> 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 [4] 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
>> [1]
> 
>> and post results
> 
>>> # telnet pricom.com.au [2] 25
> 
>>> Trying 110.142.211.14...
> 
>>> Connected to pricom.com.au [2].
> 
>>> Escape character is '^]'.
> 
>>> ehlo anydomain.com [1]
> 
>>> 220 pricom.com.au [2] ESMTP
> 
>>> 250-pricom.com.au [3]
> 
>>> 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]
> 
> 
> Links:
> ------
> [1] http://anydomain.com
> [2] http://pricom.com.au
> [3] http://250-pricom.com.au
> [4] http://dev.qmailrocks.org
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.