Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: mgb on July 29, 2007, 01:24:16 PM
-
hi to config my sme server 7.*
my mail is MS Exchange = 192.168.183.2
my sme server 7.2 =192.168.183.5 =mx mail in dns
to config the sme help
if the user in MS Exchange
the sme is filters for spam ah virus
-
http://wiki.contribs.org/Email#Internal_Mail_Servers
-
i config my server
the i send mail to new test.mail
is no send the mail to my.mail
-
For SME to work as a spam / virus filter you *still* have to do all of the normal DNS and network configuration required as if SME were your actual email server.
So:
- Does your DNS send your email to your SME server?
- Can your SME server talk to your 'internal mail server' on port 25?
- what do you mean by 'test.mail'?
- what do you mean by 'my.mail'?
-
Networking Parameters
Server Mode serveronly
Local IP address / subnet mask 192.168.183.2/255.255.255.0
Gateway 192.168.183.1
Additional local networks 192.168.183.0/255.255.255.0
DHCP server disabled
Server names
DNS server 192.168.183.2
Web server www.proxy.makif.omer.k12.il
Proxy server proxy.proxy.makif.omer.k12.il:3128
FTP server ftp.proxy.makif.omer.k12.il
SMTP, POP, and IMAP mail servers mail.proxy.makif.omer.k12.il
Domain information
Primary domain proxy.makif.omer.k12.il
Virtual domains test.makif.omer.k12.il
proxy:
db domains setprop test.makif.omer.k12.il MailServer 192.168.183.4
signal-event email-update
192.168.183.4 =mail1.makif.omer.k12.il is my server = sme 7.* all user in the
example
i send to test mail
yosi@proxy.makif.omer.k12.il
is not in mail1.makif.omer.k12.il
ping to all in ok
ping proxy.ma...
pinh mail.ma...
is ok
is not ok to ping test.proxy.makif.omer.k12.il
-
UserA
|
Internet-----PublicDNS
|
Router
| | \
| | mail1 (exchange)
| |
| SME (proxy.makif.omer.k12.il)
\
UserB
For UserA to send email to itzahk@proxy.makif.omer.k12.il on mail1:- PublicDNS must have mx record for 'proxy.makif.omer.k12.il' pointing to Router
- Router must send all traffic on port 25 to SME
- SME must be configured to accept email for proxy.makif.omer.k12.il
- SME must be configured to use mail1 as MailServer for proxy.makif.omer.k12.il
- mail1 must be configured to accept email for the domain proxy.makif.omer.k12.il (Exchange System Manager...Recipient Policies)
- 'itzahk@proxy.makif.omer.k12.il' must be a valid email address on mail1
Basically, if you want to use SME to filter your email, I recommend you proceed as follows:[list=1]- Make your email work without SME
- Configure SME (as you have already done)
- Reconfigure your Router to deliver incoming email to the SME instead of to the Exchange server[/list:o]
-
Sent username "root"
root@192.168.183.5's password:
Last login: Thu Aug 2 14:02:56 2007 from pc-00109.mail.makif.omer.k12.il
[root@mail9 ~]# db domains setprop mail.makif.omer.k12.il MailServer 192.168.183.4
[root@mail9 ~]# signal-event email-update
[root@mail9 ~]# ping mail.makif.omer.k12.il
PING mail.makif.omer.k12.il (192.168.183.5) 56(84) bytes of data.
64 bytes from mail9.mail9.makif.omer.k12.il (192.168.183.5): icmp_seq=0 ttl=64 time=0.092 ms
64 bytes from mail9.mail9.makif.omer.k12.il (192.168.183.5): icmp_seq=1 ttl=64 time=0.141 ms
--- mail.makif.omer.k12.il ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.092/0.116/0.141/0.026 ms, pipe 2
[root@mail9 ~]#
UserA
|
Internet
|
Router-----PublicDNS = 192.168.183.3
| | \
\ 192.168.183.5 =mx
| | mail9.makif.omer.k12.il (sme 7.1)+Add Domain mail.mak..
| |
| | 192.168.183.4
| SME (mail1.makif.omer.k12.il)+add domain mail.mak...
\
UserB
config
root@192.168.183.5's password:
Last login: Thu Aug 2 14:02:56 2007 from pc-00109.mail.makif.omer.k12.il
[root@mail9 ~]# db domains setprop mail.makif.omer.k12.il MailServer 192.168.183.4
[root@mail9 ~]# signal-event email-update
i send mail is ok - from mail:walla.co.il to yosi1@mail.mak...
is no Check Spam+Virus by mail.omer.k12.il =mail-rely
>
Delivered-To: yosi1@mail1.mail1.makif.omer.k12.il
Received: (qmail 4201 invoked by alias); 2 Aug 2007 11:25:53 -0000
Delivered-To: alias-localdelivery-yosi1@mail.makif.omer.k12.il
Received: (qmail 4177 invoked from network); 2 Aug 2007 11:25:49 -0000
X-Spam-Checker-Version: SpamAssassin 3.1.9 (2007-02-13) on
mail1.mail1.makif.omer.k12.il
X-Spam-Status: No, score=3.5 required=10.0 tests=AWL,BAYES_50,FROM_EXCESS_QP,
HTML_90_100,HTML_MESSAGE,HTML_MIME_NO_HTML_TAG,MIME_BASE64_NO_NAME,
MIME_BASE64_TEXT,MIME_HTML_ONLY,SUBJECT_EXCESS_QP,UNPARSEABLE_RELAY
autolearn=no version=3.1.9
X-Spam-Level: ***
X-Virus-Scanned: by amavis-ng-0.1.6.4-03dc on mail1.mail1.makif.omer.k12.il
Received: from pc-00005.mail1.makif.omer.k12.il (HELO mail9.makif.omer.k12.il) (192.168.183.5)
by mail1.mail1.makif.omer.k12.il (192.168.183.4) with SMTP; 02 Aug 2007 11:25:45 -0000
Received: (qmail 7515 invoked by uid 453); 2 Aug 2007 12:26:55 -0000
Received: from omail12.walla.co.il (HELO omail12.walla.co.il) (192.118.71.132)
by mail9.makif.omer.k12.il (qpsmtpd/0.32) with ESMTP; Thu, 02 Aug 2007 15:26:47 +0300
Received: from omail12.walla.co.il (localhost.localdomain [127.0.0.1])
by omail12.walla.co.il (8.13.5/8.13.5) with ESMTP id l72CQk6d013874
for <yosi1@mail.makif.omer.k12.il>; Thu, 2 Aug 2007 15:26:46 +0300