Koozali.org: home of the SME Server

Problems with secure email SMTP

Offline ddougan

  • *
  • 155
  • +0/-0
    • http://www.DouganConsulting.com
Problems with secure email SMTP
« on: April 20, 2004, 06:28:10 AM »
I have installed Damien Curtain's secure email contrib on a client's 5.6 server, and enabled it. I'm testing it from my home PC (which is connected to my 6.0 server, which also has the contrib active).

I'm getting problems sending mail ("Sorry, that domain isn't in my list of allowed rcpthosts") which suggest that I've misconfigured something at my end.

However, I've double-checked everything, tried 3 different mail clients (Evolution, Mozilla and KMail), all with similar results, just differing error messages. I searched here and found reference to the SMTP proxy feature added in 6.0, so I have disabled that ("/sbin/e-smith/config setprop smtpfront-qmail Proxy disabled"). However, I'm still not successfully sending mail.

Can anyonse shed any light on what I'm missing here?

Thanks,
Des Dougan

mbachmann

Problems with secure email SMTP
« Reply #1 on: April 20, 2004, 10:27:52 AM »
I use this contrib on a 6.0.1-01. and found out:

Using ssl connection on mymailserver on port 995 (POP over SSL) works with Thundbird 0.5. while secure authentication (smtp over ssl port 443) does not. Have not tried imap.

SMTP over ssl may not be working due to local misconfiguration or misunderstanding of the smtp situation here (however, i am not that experienced, just trying).

Offline ddougan

  • *
  • 155
  • +0/-0
    • http://www.DouganConsulting.com
Problems with secure email SMTP
« Reply #2 on: April 22, 2004, 06:40:03 AM »
OK. The problem was a misconfiguration of the SMTP settings - I forgot to set authentication in the client.

Thanks for your help.
Des Dougan

bobk

Problems with secure email SMTP
« Reply #3 on: April 22, 2004, 01:56:10 PM »
I use secure mail extensively with both 5.6 and 6.0.1-01. It works perfectly internally and externally.

Offline albatroz

  • *****
  • 159
  • +0/-0
Problems with secure email SMTP
« Reply #4 on: April 24, 2004, 02:42:27 AM »
Could someone repost the URL for secure email configuration for SME 5.6? It seems like pagefault.org
only has the last 6.0 version and had erased the old versions :(

Offline albatroz

  • *****
  • 159
  • +0/-0
Problems with secure email SMTP
« Reply #5 on: May 13, 2004, 05:05:22 AM »
I have a situation where I have 2 SME 5.6 boxes
the first as a firewall and vpn server and a second as a email server.

I have installed secure smtp contribs on the second the (email server) and have enabled SMTP-Qfront email delegation service on the first (firewall) SME Box.

However I still receive this error messages when I try to send emails from outside my LAN.

*Server Response: '553 Sorry, that domain isn't in my list of allowed rcpthosts.', Port: 25, Secure(SSL): No, Server Error: 553, Error Number: 0x800CCC79
*

I wonder if what it happens is that I need to do is validate on the firewall smtp server...

Anonymous

Problems with secure email SMTP
« Reply #6 on: May 13, 2004, 11:31:50 PM »
You would need to put the domain or IP of ISP that you are connected to in /var/qmail/control/rcpthosts. This would allow that domain to relay off of your smtp server. Ok, better yet, I just checked to make sure that the sme server uses tcp server, so do this instead.

In /etc/tcprules/tcp.smtp you will find how to allow selective relaying from outside to your server. Here is an example from that file:
127.0.0.1:allow,RELAYCLIENT="",QMAILQUEUE="/var/qmail/bin/qmail-spamc"

You would want to add this exact line except change the loopback address to the IP that you want to allow to relay. Put this line before the last ':allow' statement. Then you need to rebuild the .cdb so qmail notices the change. In the qmail server that I built you can use 'qmailctl cdb' but that is not an option on the smeserver, so unless someone else can tell you how to do it while it is live, you will have to reboot for the changes to take effect.

Hope that helps,

Jon