Koozali.org: home of the SME Server

Stopping external email receipt for SME 7.4

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Stopping external email receipt for SME 7.4
« Reply #15 on: August 13, 2009, 06:28:12 AM »
Charlie

Thank you for the "correction".
I should have more accurately said:

Note that Remote unauthenticated relay via your smtp server is not permitted.
It's either no access or secure (ssmtp) authenticated access.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline doublecaps

  • **
  • 24
  • +0/-0
Re: Stopping external email receipt for SME 7.4
« Reply #16 on: August 13, 2009, 09:02:56 PM »
If you noticed the configuration I noted in the previous post,Authentication for ssmtp is enabled while for smtp it's disabled.

Can I assume you use smtp and ssmtp independently ?

If I change one of the remote PCs to use ssmtp, would it work without changing any other config?

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Stopping external email receipt for SME 7.4
« Reply #17 on: August 14, 2009, 12:42:02 AM »
doublecaps

Quote
Can I assume you use smtp and ssmtp independently ?

Yes

Quote
If I change one of the remote PCs to use ssmtp, would it work without changing any other config?

Yes, it should do as long as ssmtp is enabled in server manager as previously advised.
ie the email client settings are (depending on your email client)
Outgoing Mail Server
tick the box for My Server Requires Authentication
Note - Do not tick the box for Logon using secure password authentication

Also you will need to change the ports
ie for IMAP
Outgoing Mail (SMTP) port 465
Also tick the box for This server requires a secure connection (SSL)
Incoming mail (IMAP) port 993
Also tick the box for This server requires a secure connection (SSL)

Note that you will only by able to relay messages via your sme server if you do use ssmtp (ie send messages to other domains via your smtp server).

Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline doublecaps

  • **
  • 24
  • +0/-0
Re: Stopping external email receipt for SME 7.4
« Reply #18 on: August 18, 2009, 04:17:50 PM »
SSMTPS is already enabled, so I changed my client and I'm able to connect, send, receive. However I'm still not able to relay to other domains.
Code: [Select]
ssmtpd=service
    Authentication=enabled
    Instances=10
    TCPPort=465
    access=public
    status=enabled

smtpd=service
    Authentication=disabled
    Instances=40
    InstancesPerIP=5
    MaximumDateOffset=0
    PatternsScan=enabled
    Proxy=enabled
    TCPPort=25
    TCPProxyPort=25
    VirusScan=enabled
    access=public
    status=enabled
    tnef2mime=enabled

Your message did not reach some or all of the intended recipients.

      Subject:   TEST
      Sent:   8/11/2009 9:31 PM

The following recipient(s) cannot be reached:

      'davide.picone@gmail.com' on 8/11/2009 9:31 PM
            550 Relaying denied (#5.7.1)
Any suggestions?

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Stopping external email receipt for SME 7.4
« Reply #19 on: August 18, 2009, 06:29:50 PM »
doublecaps

Try logging in to the sme webmail, from the same remote location and send to the same recipient
What is the outcome ?

What is the hostname for smtp server in the remote email client ?
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline doublecaps

  • **
  • 24
  • +0/-0
Re: Stopping external email receipt for SME 7.4
« Reply #20 on: August 26, 2009, 07:32:45 PM »
Mary,

I tried what you suggested. Webmail can relay without problems while outlook client can't relay.

Any suggestions?

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Stopping external email receipt for SME 7.4
« Reply #21 on: August 26, 2009, 09:21:08 PM »
doublecaps

So it's not a problem with the server sending mail.

What are the settings in your remote email clients for Outgoing and Incoming mail servers ?
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Stopping external email receipt for SME 7.4
« Reply #22 on: August 27, 2009, 04:21:20 AM »
doublecaps

Is your remote email client really configured to authenticate, and is using the correct ports and correct servers ?
Please check all settings in this post
http://forums.contribs.org/index.php/topic,43999.msg214781.html#msg214781
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline doublecaps

  • **
  • 24
  • +0/-0
Re: Stopping external email receipt for SME 7.4
« Reply #23 on: August 27, 2009, 04:23:03 PM »
Yes I believe it's configured correctly, but just to review:

OUtlook 2007
Outgoing connection:
   My Server Requires Authentication - Checked
   Log in to incoming mail server before sending mail - Checked
   Require Secure Password Aythentication (SPA):  NOT CHECKED
Advanced:
   POP3 Port: 995
   This Server requires an encrypted connection (SSL) - Checked
   Outgoing server (SMTP): 465
   Use the following type of encryption: SSL


Offline johnp

  • *****
  • 312
  • +0/-0
Re: Stopping external email receipt for SME 7.4
« Reply #24 on: August 27, 2009, 04:54:42 PM »
Is this the only account setup up in Outlook?

Offline doublecaps

  • **
  • 24
  • +0/-0
Re: Stopping external email receipt for SME 7.4
« Reply #25 on: August 27, 2009, 09:49:06 PM »
There are multiple accounts setup in Outlook but I always use the defauly one.

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Stopping external email receipt for SME 7.4
« Reply #26 on: August 28, 2009, 05:24:19 AM »
doublecaps

You did not answer:
What are the settings in your remote email clients for Outgoing and Incoming mail servers  ?
ie for the default account at least, which I assume is the one people are using to send from.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline johnp

  • *****
  • 312
  • +0/-0
Re: Stopping external email receipt for SME 7.4
« Reply #27 on: August 28, 2009, 06:57:25 AM »
Thanks Mary, for sure it's hard to find the problem when you get half answers to your questions.

Have you tried another email client like Thunderbird with a single account(sme only)? I don't think your sme server is the one giving the 550 error, but I could be wrong.


Offline doublecaps

  • **
  • 24
  • +0/-0
Re: Stopping external email receipt for SME 7.4
« Reply #28 on: August 28, 2009, 01:42:46 PM »
I'm not sure what other information you need, the only thing I didn't include are user/password and server address.
This is what I posted earlier
Quote
Yes I believe it's configured correctly, but just to review:

OUtlook 2007
Outgoing connection:
   My Server Requires Authentication - Checked
   Log in to incoming mail server before sending mail - Checked
   Require Secure Password Aythentication (SPA):  NOT CHECKED
Advanced:
   POP3 Port: 995
   This Server requires an encrypted connection (SSL) - Checked
   Outgoing server (SMTP): 465
   Use the following type of encryption: SSL



I haven't tried with another client. I'll have to download one and try it over the weekend.
I checked the header for the relay message, but it was empty. The from field has no address simply "System Administrator"
Which server log would containg the activity were trying to diagnose (qpsmtp, qmail) ?

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Stopping external email receipt for SME 7.4
« Reply #29 on: August 28, 2009, 01:54:54 PM »
doublecaps

Quote
....and server address

Well that's what I am asking for, ie for both incoming and outgoing servers.


Quote
Which server log would contain the activity we're trying to diagnose (qpsmtp, qmail) ?

I'd expect sqpsmtp, if you are truly connecting via ssmtp, but I suspect that may not be the case, so look at qpsmtp too. qmail is also involved in the mail processing chain.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.