Clients cannot send mail. Please help |
Post Reply |
Author | |
ray0266
Guest Group |
Post Options
Thanks(0)
Posted: 08 May 2003 at 12:12pm |
Hello all. I am sorry if this has been answered before. I am using Imail with Spamfilter. While spamfilter is running I cannot send email from other accounts IE: from comcast.net. Spamfilter rejects outgoing mail from any other account. I have some clients that are having the same problem. They are unable to use outlook express to send email from the domain where Spamfilter is installed. They can only send emails within the domain where Spamfilter is running. Any help would be appreciated. I can be reached directly via email > ray0266@comcast.net Thank you, Ray |
|
LogSat
Admin Group Joined: 25 January 2005 Location: United States Status: Offline Points: 4104 |
Post Options
Thanks(0)
|
Ray, SpamFilter is designed to handle your *incoming* email only. Your local users (and admins...) should still have in their "outgoing SMTP server" settings in their email clients the address of your Imail SMTP server, not SpamFilter. Your Imail then delivers the outgoing emails to the outside, bypassing SpamFilter. Roberto Franceschetti |
|
ray0266
Guest Group |
Post Options
Thanks(0)
|
Hi. Well I have the domain, aumteam.com. My clients use verizon DSL to send and receive mail. When they have their outgoing mail set to mail.aumteam.com, the message gets rejected. This only happens when SpamFilter is running. Once I stop SpamFilter there seems to be no rejection. Do they need to set the outgoing (SMTP) to verizon's SMTP? I am new to this so sorry for my ignorance. |
|
LogSat
Admin Group Joined: 25 January 2005 Location: United States Status: Offline Points: 4104 |
Post Options
Thanks(0)
|
SpamFilter is designed to process incoming email only by acting as a proxy to your mail server. The main thing to remember is that outgoing email from inside your network to the internet should never pass thru SpamFilter. There are several ways to configure your network to enable this to happen. Assume your SMTP server is mail.aumteam.com. You don't want to change that, so your clients will always point their outgoing mail to that. If your mail server is behind a firewall, and the firewall allows is, all you need to do is to configure the firewall so that incoming connections on port 25 are sent to the IP SpamFilter is listening on (different than mail.aumteam.com), rather than sending them to your SMTP server. Then configure SpamFilter to forward email to your SMTP server. If the above is not possible, you can change the MX record in your DNS to point to the name/IP SpamFilter is configured for. SpamFilter then forwards to your SMTP server. The IP/name of your SMTP server does not change. There are a few more postings on this subject on this, along with a sample DNS configuration for the second option at http://www.logsat.com/spamfilter/details.asp Roberto Franceschetti |
|
Ray
Guest Group |
Post Options
Thanks(0)
|
Thanks for all the help. I am still a bit confused. My IMail server and SpamFilter are installed on the same PC, therefore they are sharing the same ip address. I am also using a LinkSys router and I have the router's UPnP forwarding port 25 to 84. IMail is listening on port 25. SpamFIlter is listening on port 84 and the destination server configured for SpamFilter is configured for port 25. Is there any other steps I need to take to configure IMail to work with SpamFilter? Thanks again, Ray |
|
LogSat
Admin Group Joined: 25 January 2005 Location: United States Status: Offline Points: 4104 |
Post Options
Thanks(0)
|
Ray, Everything makes sense and looks fine, but there is one "but". If your customers are outside of your internal network, and thus are coming in from the internet, if they are accessing their outgoing smtp server (IMail) on port 25, your router will reroute them to port 84, which is SpamFilter, and you are back to having the original issue... If you only have a single IP address available, the only option I can currently think of is to change your client's outgoing mail server configuration. Possible examples: Ex.1: The router does not do port translations. SpamFilter listens on port 25, IMail on 84, SpamFilter forwards to 84, your clients point to port 84. Ex.2: The router forwards port 25 to 84. The router also forwards port 26 to 25. SpamFilter listens on port 84. IMail listens on port 25. Incoming mail on port 25 is then sent to SpamFilter on port 84. SpamFilter then forwards to IMAil on port 25. Your customers configure their outgoing smtp for port 26. When they reach your router they'll be translated and sent to port 25 on your IMail. Roberto F. |
|
Ray
Guest Group |
Post Options
Thanks(0)
|
Thanks again. I do get the idea. Since I have too many clients to be able to change their settings, is there a way to have 2 IPs on one pc and have some kind of binding? So that SpamFilter can have it's own IP address? If so, where do I begin? Sorry for all the questions. If this cannot be accomplished, I will use a second box with a different internal IP address. Best Regards, Ray |
|
LogSat
Admin Group Joined: 25 January 2005 Location: United States Status: Offline Points: 4104 |
Post Options
Thanks(0)
|
Ray, We assumed that you only had access to one single IP from your provider, and the suggestions we ghave before were based on that. Yes, of course if you have multiple internet IPs available (not internal LAN IP, they have to be internet IPs) things are much simpler. It's extremely easy to bind multiple IPs to a single NIC card in one computer. We've prepared some screenshots on how to do so, click here to view them. We see that your MX record for comcast.net points to mx00.comcast.net (24.153.64.1). If that is what your clients use as their outgoing smtp server, and you do not want to change your clients configs (which is what we recommend), you will need to have SpamFilter listen on a different IP, let's say 24.153.64.2 for example. The only thing you will have to change then is the MX record so that it points to SpamFilter's IP, 24.153.64.2. By doing that incoming email will go where the MX record direct it, SpamFilter in this case. SpamFilter will then forward it to your IMail server on 24.153.64.1. Your clients will not change a thing, and still point to your IMail at 24.153.64.1. Hope this helps. Roberto Franceschetti
|
|
Ray
Guest Group |
Post Options
Thanks(0)
|
Thanks Roberto, I had one more question. If I install another NIC on my PC would I be able to use the IP from the second network card to accomplish this? Ray |
|
LogSat
Admin Group Joined: 25 January 2005 Location: United States Status: Offline Points: 4104 |
Post Options
Thanks(0)
|
Yes, you can use another NIC, but you don't have to. You can add many additional IPs to the existing NIC card without the need for an additional one. I believe we have about 500 IPs bound to a single NIC card on one of our webservers. Roberto F. |
|
ray0266
Guest Group |
Post Options
Thanks(0)
|
But if all the IPs are within our network (IE: 192.168.1.100 and let's say 192.168.1.101) Can you configure SpamFilter so it will not process the outgoing mail? Given that we only have one Internet IP address, where all emails end up and originate. In this case, mail.cybergrade.com
|
|
techneek
Guest Group |
Post Options
Thanks(0)
|
Solution requiring changing the mail server and mail client ports. 25 --> spamfilter --> 26 --> mailserver Using this method, spamfilter accepts incoming on 25 and routes it out to 26. The mailserver gets it from 26 and stores it. The email clients send using 26. I did not have to change the email outgoing port back to 25. Thanks ISP : ) --- OR --- solution where you don't have to change the mailserver or client workstation ports. 25 --> WAN domain mapped --> 26 --> spamfilter --> LAN Domain:25 --> mailserver. The mailserver is on the LAN side. Using this example, I would think that the client workstations, hopefully already using LAN ip's, will go directly to the mailserver only to ask for email on port 25. Port 25 on the WAN side will convert only WAN requests, not LAN request. I use winroute pro to do this. All based on everything sitting on one computer.
|
|
techneek
Guest Group |
Post Options
Thanks(0)
|
I forgot to add that winroute will allow you to NAT to different external IP's. So when sending emails out from the LAN, you don't have to worry about it using the WAN's port 25 to go out. This will cause a loop. It is possible with Winroute. kerio.com.
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
This page was generated in 0.254 seconds.