Koozali.org: home of the SME Server

550 invalid recipient

Offline peterhocking

  • ****
  • 90
  • +0/-0
    • Welcome to the Hockings at Canberra
550 invalid recipient
« on: June 02, 2007, 05:04:48 AM »
Hi

I searched the forums on this one & have found this error reported a number of times, but each report has been a differen issue to what I'm experiencing.

I have SME 7.1.3 running on my network at home in server only mode, but it is the DNS & DHCP server for my network. The server hosts a web & FTP site & I've just set it up as a mail server. I've done all the appropitae port forwarding in my ADSL router.

When I send an email fom out side the network, it gets rejected with the 550 invalid recipient error message.

Cuurently my networks external address is usinging the DynDNS server, so my external address is different to the internal address.

ie my servers internet address is abc.dyndns.org, but to users on my home network its abc.home.

Would this difference in the domain name becausing the SME server to reject email from external, (internet), senders?

TIA

Peter

cirkit

550 invalid recipient
« Reply #1 on: June 02, 2007, 02:35:39 PM »
i just solved this problem 2 hrs ago when i installed sme server for the first time in my life and then tried to send mail via outlook express.
solution: In the account settings of your comuter instead of mail.yourdomain.com as your pop and smtp server address put the local IP of the server in that space and it works. e.g if your server is behind an adsl router and its IP IS SAY 192.168.1.3 PUT THIS AS YOUR POP AND SMTP ADDRESSES IN YOUR MAIL CLIENT. THIS SETTING IS ONLY FOR LOCAL CLIENTS

Offline mmccarn

  • *
  • 2,656
  • +10/-0
550 invalid recipient
« Reply #2 on: June 02, 2007, 05:07:06 PM »
SME Server will not accept any email unless the recipient is listed in /var/service/qpsmtpd/config/goodrcptto.

This file is controlled by the templating system and is constructed to contain all valid local email addresses by looking at the configuration database and expanding all of the configured user / domain combinations plus pseudonyms.

In order for your SME to accept email addressed to "joe@abc.dyndns.org" you will need to add 'abc.dyndns.org' as a domain in server-manager:Configuration:Domains (and configure a user or pseudonym named "joe") or you will have to customize the templates used to generate /var/service/qpsmtpd/config/goodrcptto

The new domain can be configured to use your SME server for DNS ("Resolve locally") or to use "Internet DNS servers"

If you select to use the SME server then DNS records will be automatically created for
    - ftp.abc.dyndns.org
    - mail.abc.dyndns.org
    - proxy.abc.dyndns.org
    - wpad.abc.dyndns.org
    -
www.abc.dyndns.org
- <servername>.abc.dyndns.org
- abc.dyndns.org [/list]
These entries will only be available locally, and will all point to your SME server - so local email clients can be configured to use "mail.abc.dyndns.org" or "abc.dyndns.org" or "<servername>.abc.dyndns.org".  You should be able to configure all users to use "abc.dyndns.org" as a mail server - both local users and remote users -- local users will have this resolved locally by the SME server to point to your SME box, while remote users will have it resolved by dyndns.org to point to your network router.


If you select to use "Internet DNS servers" you will either need to template custom tinydns entries or use different settings for internal vs. external email clients (internal clients would use the IP address or other DNS name resolved locally by the SME to be itself, external clients would use "abc.dyndns.org")

Also, don't forget that remote users will have to use pop3s (or imaps) and ssmtp.  You can enable remote pop3s/imaps access in server-manager:configuration:e-mail:change_e-mail_access_settings, and ssmtp in server-manager:configuration:e-mail:change_e-mail_reception_settings