How to testing Internal Spam Assasssin Server?
Hi, I recently setup an internal Spam Assassin server, now I would like to test it out. The only problem is that it's internal and behind a firewall, so I can't send mail from outside to test it.
Is there any other way I can test it? Thanks. |
I would connect a machine to the external interface of the spamassassin/postfix server and send mail at it that way. Basically squeeze a machine between it and the outer firewall. Just out of curiousity, what good is a mail server that can't recieve incoming mail? Having it isolated from the Internet is the best spam filter ever, no mail gets through.:D What good is spamassassin?
|
Quote:
I thought it might be possible to test it via TELNET'ing to it or passing a test file to it. |
If telnet is running on the machine and port 25 is open, you should get a helo response from the mail server when you telnet to the mail servers ip address with 25 appended to it.
|
Quote:
Trying 127.0.0.1... Connected to imp (127.0.0.1). Escape character is '^]'. HELO SPAMD/1.0 76 Bad header line: HELO Connection closed by foreign host. |
Sounds like something is not working correctly. Why is spamassassin running on port 783?
|
That's the default port, but I found out that you pass it arguments with the spamc client (and not connect directly to it).
What I want to do now is integrate it as the middle man, to handle the spam and then relay it to the main mail server. Any ideas? suggestions? |
Oddly enough my boss has me doing this exact same setup. Using postfix/spamassassin as a mail gateway for our Domino server on our LAN. I will catch up to where you are in a day or so (hopefully) and will check back in. If you solve this before then please post what you did to fix it.
|
Quote:
I set it up, but for some reason now, it's not deliverying the mail to the intended host. I think I setup the SpamAssassin part, the issue now is setting up Postfix (which I am having a tough time with). If you have any IM, that would be great, we can discuss this in realtime. |
worst off, I can't even get messages delivered to users on the local machine. :(
|
The transport map is where you list the ip addresses of the machines you want specific domains mail to be sent to. And don't forget anytime you make a change to the postfix files you have to rehash the databases.
newaliases postmap transport postmap reciept_canonical postmap aliases and so forth.. I will get back to you soon on this issue. Please stand by :-) |
Quote:
|
Still working on this :-( God there is very little support in the Linux community for postfix with spam filtering. I guess nobody out the other than us is doing this. I keep getting close but am running into file permission problems.. Still working on it though..
|
Yep, it sure seems that way, and trying to find documentation/tutorials with no success either. But don't dispair.. keep trying and maybe we can come up with something..
keep me updated.. bxboy@bxboy.com |
Ok. I got my mail server/spam filter working today. Here is how I did it.
Postfix and Spamassassin installed in their default locations. I found a link to a configurator for spamassassin's local.cf file at the spamassassin website under documentation. With that done I followed these directions almost exactly (changed only one thing) http://sourceforge.net/mailarchive/m...msg_id=5123097 The only thing I had to change (because I don't run sendmail on this machine was the entry in the postfixfilter script. Where it says sendmail replace that with sendmail.postfix. Remember to set the permissions on the files exactly as the instructions say to or things go wrong.. Any questions you have I will try to answer based on this wonderful experience.. :D |
All times are GMT -5. The time now is 02:36 AM. |