Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: mgb 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
-
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.
-
I thank
The rapid response
I check
-
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
-
<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.
-
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
-
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
-
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.
-
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
-
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
-
mgb
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
-
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
-
mgb
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.
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
-
Yes
True
But there is no DOMAI2
The question of what solution
Given situation
-
mgb
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.
-
ok
l get 1 ip only for domain
the sme an exchange server is in Same place my network
I believe
That can be set
LOCAL external SMTP SMTP-local
Q SMTP mail sent internally LOCAL
External SMTP sends to the outside world
But the question
-
mgb
I get 1 ip only for domain
sme server can host many domains on 1 external IP.
Additional domains are called virtual domains, add them in the server manager Domains panel.
External DNS records will point many domain names at the same external sme IP.
SME server can correctly resolve many domains if you add them to the Domains panel.
I do not understand the rest of what you said in your last post.
You need to do better English translation.
From your earlier posts, my understanding of what you want to do, is to have email addressed to certain users, to be processed by the exchange server.
There are probably a few ways this could be achieved, I believe I have suggested two ways.
One way is to send mail to those users at a different domain, and sme is configured to delegate that whole domain (domain2), to the exchange server. This should work.
The other way is to configure your exchange server to have a valid and resolvable domain name (eg domain2), you can then forward email to a valid email address for the exchange server eg sme user17 forwards to exchange user17@domain2
-
I thought it was just
But it does not work
http://forums.contribs.org/index.php/topic,46297.msg226885.html#msg226885
You propose to add a virtual addition to enroll
To me there is real
Also my firewall has no access to
Can you write down an example of setting
-
2 e-mail delivery = both deliver locally and forward
Forwarding address = user17@192.168.183.19
Do not use user17@192.168.183.19 - use a valid email address, i.e. one which can be used on the Internet.
-
ok
1 domain is my.sme.k12.il 217.100.1.1 192.168.183.1 local sme
2 domain exchange.sme.k12.il 217.100.1.1 virtual domains
ping my.sme.k12.il 192.168.183.1 out 217.100.1.1
ping exchange.sme.k12.il out 217.100.1.1
create the necessary virtual domains exchange.sme.k12.il
Two Option
a- Option
1 Create user17@my.sme.k12.il
2 e-mail delivery = both deliver locally and forward
Forwarding address = user17@exchange.sme.k12.il
b- Option
db domains setprop exchange.sme.k12.il MailServer 192.168.183.19
signal-event email-update
-
mgb
Yes, but it is really a case of doing option1 OR option2.
With delegation of exchange.sme.k12.il to 192.168.183.19, you should be able to send mail externally or internally to
any-sme-user@exchange.sme.k12.il
and those messages will be processed by the exchange server (due to the delegation of all email for that domain).
This is the easiest answer to implement.
As I see the issue, forwarding mail from
user17@my.sme.k12.il to user17@exchange.sme.k12.il
is more complicated as you need to configure your network for exchange.sme.k12.il to resolve locally to the exchange server.
This is more difficult to achieve. Assuming your sme server is in server gateway mode, then there will be two active mail servers, and you will have to forward ports from sme server to the exchange server. As you already have the sme server using port 25 for mail you will have to forward mail for the exchange server on a different unused port, and also configure exchange to receive mail on that port.
It's a lot of complicated reconfiguration to do.
-
appreciate the effort
I prefer to use
db domains setprop mail.sme.com MailServer 10.100.100.1
But I have a problem with the
exchange.sme.local server's
I can not change name exchange.sme.local
has Command come to serve SME
Compare the SME server names exchange.sme.local = mail.sme.com
exchange Rejected the e-mail from sme user17@mail.sme.com
-
mgb
You have to configure exchange with details of where it will validly receive email from.
Perhaps you should read ALL previous forum posts about using exchange.
See this thread as a starting point
http://forums.contribs.org/index.php/topic,35532.msg155693.html#msg155693
I also suggest you do an advanced search on all forum posts containing the word exchange (ie click on the magnifying glass symbol at top of forums and search on the word exchange).
There are many interesting and informative tips.
Please read them all, you may find the answer re how to configure your system correctly.
It is difficult to understand your english.
Also you keep changing the domain names and IP numbers in your different posts, this only confuses our understanding of your situation. It would be better if you quoted real domain names and real IP numbers.
This post may have some relevance re naming your domains
http://forums.contribs.org/index.php/topic,45658.msg226982.html#msg226982
-
Thanks for the answer
Sorry about the English
I hope you think you understand the problem
I did not understand, but references to help me
My problem is different
I have an idea
I do not know it would work