Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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. What good is spamassassin?
Originally posted by Pcghost 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. What good is spamassassin?
It's for testing purposes right now. We need to assure it is working before we can open it up to the outside world.
I thought it might be possible to test it via TELNET'ing to it or passing a test file to it.
Originally posted by Pcghost 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.
[root@imp Error-0.15]# telnet localhost 783
Connected to imp (127.0.0.1).
Escape character is '^]'.
SPAMD/1.0 76 Bad header line: HELO
Connection closed by foreign host.
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.
Originally posted by Pcghost 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.
Great coincidence! In any event, please get back to me if you are successful, my BOSS is also demanding to see it in action (something I can't give him) .
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.
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.
and so forth..
I will get back to you soon on this issue. Please stand by :-)
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..
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)
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..