Koozali.org: home of the SME Server

Problem send e-mail

Offline mgb

  • *****
  • 558
  • +0/-0
Problem send e-mail
« on: July 15, 2010, 07:57:10 AM »
Problem send e-mail
Internal server 1 server 2 additional internal
I use the Internet company's SMTP
Internal server is also a main server
Send e-mail from the outside get outside


erro
Hi. This is the qmail-send program at mail.mydomain.com
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<admin@192.168.183.17>:
127.0.0.1 does not like recipient.
Remote host said: 550 5.1.2 unknown host or domain: admin@192.168.183.17
Giving up on 127.0.0.1.

Below this line is a copy of the message.
Return-Path: <admin@mail.mydomain.com>
Received: (qmail 19288 invoked by uid 453); 14 Jul 2010 17:34:40 -0000
« Last Edit: July 15, 2010, 08:33:39 AM by mgb »
Thanks all for helping
Skype yosii2009

Offline mmccarn

  • *
  • 2,651
  • +10/-0
Re: Problem send e-mail
« Reply #1 on: July 15, 2010, 01:29:25 PM »
The only valid email address that uses the server's IP address is "postmaster@w.x.y.z", so email to "admin@..." will be rejected.

This is controlled by /var/service/qpsmtpd/config/goodrcptto, and the specific template fragment that creates "postmaster@w.x.y.z' as a valid recipient is /etc/e-smith/templates/var/service/qpsmtpd/config/goodrcptto/12PostmasterAtBracketLiteralIP.

You can learn more about exactly what qpsmtpd is doing (for example, why a particular email is being rejected) by examining /var/log/qpsmtpd/current.

Offline mgb

  • *****
  • 558
  • +0/-0
Re: Problem send e-mail
« Reply #2 on: July 15, 2010, 02:02:35 PM »
I thank
The rapid response
I check

Thanks all for helping
Skype yosii2009

Offline mgb

  • *****
  • 558
  • +0/-0
Re: Problem send e-mail
« Reply #3 on: July 15, 2010, 02:44:29 PM »
I am sorry
I did not explain the problem
Exactly
Explanation
I have a mail server works fine organization SME 
Internal and external address  10.0.0.1  216.10.0.1 MYSERVERMAIL.COM
Using Haneternat provider's SMTP

I have a new server in addition to  Microsoft Exchange Organization
I want some users will post a Microsoft Exchange mail
That not only internal IP address  10.0.0.2  myexchange.local
Microsoft Exchange will use

The server that will filter SME for user
« Last Edit: July 15, 2010, 02:57:58 PM by mgb »
Thanks all for helping
Skype yosii2009

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Problem send e-mail
« Reply #4 on: July 15, 2010, 03:11:56 PM »
<admin@192.168.183.17>:
127.0.0.1 does not like recipient.
Remote host said: 550 5.1.2 unknown host or domain: admin@192.168.183.17
Giving up on 127.0.0.1.

You need to discover what software is trying to send to admin@192.168.183.17 and get it to send to a valid email address instead.

Offline mgb

  • *****
  • 558
  • +0/-0
Re: Problem send e-mail
« Reply #5 on: July 15, 2010, 03:22:51 PM »
the IP 192.168.183.17 is illegal is an internal address on my network
I would like a mail server will not test for internal addresses
Of course not to use the ISP's SMTP

Come can be set
SMTP server
Perform testing before using
On the ISP's SMTP
And if the address is internal
It uses internal SMTP
Able to detect the internal address
I think the problem starts here
help to fix e-mail send in my network mail relay
« Last Edit: July 16, 2010, 06:12:39 AM by mgb »
Thanks all for helping
Skype yosii2009

Offline mgb

  • *****
  • 558
  • +0/-0
Re: Problem send e-mail
« Reply #6 on: July 16, 2010, 07:37:18 AM »
I try using

create the necessary virtual domains my.Exchange.local

db domains setprop my.MailServer.com MailServer 192.168.183.17
signal-event email-update

is not work
Exchange=192.168.183.17=my.Exchange.local
Thanks all for helping
Skype yosii2009

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Problem send e-mail
« Reply #7 on: July 16, 2010, 02:52:12 PM »
Did you not read my earlier message?

You need to discover what software is trying to send to admin@192.168.183.17 and get it to send to a valid email address instead.

Offline mgb

  • *****
  • 558
  • +0/-0
Re: Problem send e-mail
« Reply #8 on: July 16, 2010, 07:32:00 PM »
Thank you for the answer
I'm stuck with the problem
Can
not  find a solution ???

But I do not have a valid address
Will not be a valid address
 Exist on the server
admin@192.168.183.17
 
There is another server  sme 7.51 
With a valid address
Thanks all for helping
Skype yosii2009

Offline mgb

  • *****
  • 558
  • +0/-0
Re: Problem send e-mail
« Reply #9 on: July 17, 2010, 05:56:50 AM »
Explanation
Send mail from gmail
to  domain  usera@my.mail.sme.com   =ip 217.194.1.1 External
 -192.168.183.5 in

config my sme   server-manager
1 Create, modify, or remove user accounts
                Create usera
2 e-mail delivery = both deliver locally and forward
               Forwarding address = user17@192.168.183.19        is server my.Exchange.local


3 go to Configuration
E-mail settings
Address of Internet provider's mail server  217.100.1.8


4 e-mail from gmail is in sme is not in my.Exchange.local

« Last Edit: July 17, 2010, 05:59:14 AM by mgb »
Thanks all for helping
Skype yosii2009

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Problem send e-mail
« Reply #10 on: July 17, 2010, 06:47:50 AM »
mgb

Quote
Create usera
Forwarding address = user17@192.168.183.19

AFAIK that email address format is invalid.
Should be in format of
user17@my.Exchange.local
but I would also guess that the exchange server domain is probably not resolving on your network. You would have to reconfigure and sort that out.

Maybe an easier way is to forward email for one or all domains to your exchange server, using the server manager setting or commands listed in the FAQ
http://wiki.contribs.org/SME_Server:Documentation:FAQ#Internal_Mail_Servers

Maybe even create another valid domain on your sme that is delegated to the exchange server, just for those users who need to use exchange ie
user17@yourdomain2.com
« Last Edit: July 17, 2010, 07:41:29 AM by mary »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline mgb

  • *****
  • 558
  • +0/-0
Re: Problem send e-mail
« Reply #11 on: July 17, 2010, 07:39:40 AM »
I try using

create the necessary virtual domains my.Exchange.local

db domains setprop my.mail.sme.com MailServer 192.168.183.17
signal-event email-update

is not work
Exchange=192.168.183.17=my.Exchange.local

I try using
user17@my.Exchange.local

« Last Edit: July 17, 2010, 07:41:25 AM by mgb »
Thanks all for helping
Skype yosii2009

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Problem send e-mail
« Reply #12 on: July 17, 2010, 07:44:18 AM »
mgb

Quote
db domains setprop my.mail.sme.com MailServer 192.168.183.17
signal-event email-update

When you do that, ALL mail for my.mail.sme.com is delegated to the exchange server.

Quote
user17@my.Exchange.local

Instead try
user17@my.mail.sme.com


I edited my earlier post, you may have missed seeing this additional suggestion:

Maybe even create another VALID domain on your sme that is delegated to the exchange server, just for those users who need to use exchange ie
user17@yourdomain2.com
and do
db domains setprop yourdomain2.com MailServer 192.168.183.17
signal-event email-update

You would also need to create valid external DNS records for yourdomain2.com
« Last Edit: July 17, 2010, 07:47:45 AM by mary »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline mgb

  • *****
  • 558
  • +0/-0
Re: Problem send e-mail
« Reply #13 on: July 17, 2010, 08:10:29 AM »
Yes
True
But there is no DOMAI2
The question of what solution
Given situation

Thanks all for helping
Skype yosii2009

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Problem send e-mail
« Reply #14 on: July 17, 2010, 08:22:35 AM »
mgb

Quote
But there is no DOMAI2

Then create DOMAIN2.
You can get a free domain from dyndns to test and prove the theory.
Add the DOMAIN2 to the Domains panel in server manager so DOMAIN2 will resolve to your sme server.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.