Full Mail Server Solution w/ Virtual Domains & Users - Page 07 (Mail Delivery Server - DSPAM+Dovecot)
E. Install DovecotSo we're getting pretty far into our mail stack now... It has passed through the exchangers unharmed, DSPAM has gotten a hold of it, and now it needs to put it some where... but where? The answer is another service: Dovecot. Dovecot is an LDA (Local Delivery Agent), as well as a rather secure IMAP and POP3 server. As usual, Debian takes the majority of the work off our hands: # apt-get install dovecot-imapd For our purposes, we didn't need POP3 (and really, neither should you), but if you wanted it, just append dovecot-pop3d to the end of that command. And that's it! Sure, there's still some Dovecot setup to do, but not yet... we just wanted it installed so that DSPAM would have a place to put our email. Let's go ahead and finish up the DSPAM install. E. DSPAM ConfigurationDSPAM is installed. DSPAM's MySQL Libraries are installed. Dovecot is (very minimally) installed. What's left? Well, while DSPAM is a truly incredible SPAM filter, it's not so incredible that it completely sets itself up. (Although let's be honest... give it a year, Debian will have it working ;) In the mean time, let's get this party started. First, we need to make some changes in /etc/dspam/dspam.conf. This file contains all of the setup variables for DSPAM, and will tell it how to talk to the world. /etc/dspam/dspam.conf [...] You should also tell DSPAM about your local mail exchangers... this is dependent on your network setup, but for our scenario, MX-1.internal and MX-2.internal are 192.156.50.107 and 108, respectively. [...] Just a few more settings... remember, all of this can be found in the documentation, which you should read as often as possible! [...] And finally, we need to tell the DSPAM daemon how to operate... we'll tell it to wait for LMTP connections on port 2424 (The 'unofficial' LMTP port is 24, but since it's unofficial, we're going to use the >1024 insecure area). [...] One last little debian-related setup to do. DSPAM can be run as either a daemon (Always running service) or as a program call. By default, it's setup as a program call, but we want the daemon to launch when the computer is booted. To change this, we need to change the value of START in /etc/default/dspam from "no" to "yes": # Variables for dpam. That will set DSPAM to start automatically at boot. To continue our install, we're going to start it manually: # invoke-rc.d dspam start And ~viola... DSPAM is now waiting for emails on port 2424 of postman.internal.example.com.
|
www.seamlessenterprise.com
One number. One voicemail. Seize the lead. Sprint Mobile Integration.
www.seamlessenterprise.com
One Number. One Voicemail.
Make it easier for clients to reach you. Turn your desk phone and mobile phone into one with Sprint Mobile Integration.
www.seamlessenterprise.com
One number. One voicemail. Sprint Mobile Integration.
www.seamlessenterprise.com
One number. one voicemail. Seize the lead with Sprint. Learn more
AT&T Synaptic Compute as a Service. Boost your power on demand.
Trial: IBM Cognos Express Reporting, Analysis & Planning
Learn benefits of Simpana software.
View the Gartner Video
Sprint 4G - The Ultimate Mobile Broadband
Click here
SAP-Business Objects Crystal Reports Server
Complete reporting without hidden costs. Free Trial



![Creative Commons Attribution License [Creative Commons Attribution License]](http://creativecommons.org/images/public/somerights20.gif)

print: 

Recent comments
5 hours 42 min ago
8 hours 33 min ago
14 hours 11 min ago
14 hours 14 min ago
14 hours 59 min ago
22 hours 2 min ago
22 hours 39 min ago
23 hours 41 min ago
1 day 3 hours ago
1 day 4 hours ago