LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 03-13-2005, 05:26 AM   #1
paul_mat
Member
 
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Rep: Reputation: 30
mail server on slackware 10


hi there i've done a full install of slackware with everything, i just want to know how to start uw-imap and pop3 service ?if there is one already on there, i've looked in the etc/rc.d folder and i don't know what one is the pop3/imap service if there is one there

and i'm looking for anyone that knows of a good how-to with sendmail/wu-imap/slackware
 
Old 03-13-2005, 07:28 AM   #2
killerbob
Member
 
Registered: Oct 2004
Location: Ottawa, ON
Distribution: Slackware
Posts: 662

Rep: Reputation: 30
Take a look at /etc/inetd.conf and find the following lines:

Code:
# POP and IMAP mail servers
#
# Post Office Protocol version 3 (POP3) server:
pop3    stream  tcp     nowait  root    /usr/sbin/tcpd  /usr/sbin/popa3d
# Internet Message Access Protocol (IMAP) server:
imap2   stream  tcp     nowait  root    /usr/sbin/tcpd  imapd
#
The pop3 and imap2 lines will be commented. Just uncomment them, restart inetd (/etc/rc.d/rc.inetd restart) and you're good to go. Since you did a full install, you won't have to worry about uw-imapd and popa3d being installed.

As for setting up Sendmail with Slackware, it's ridiculously easy. Since you did the full install, that'll be installed, too. Relaying is turned off by default. In order to enable relay of trusted clients, just edit /etc/mail/access to add the IP addresses (or IP range) that you want to allow relay for.

Here's what mine looks like:
Code:
root@alice:/etc/mail# cat access
192.168.X.1    OK
192.168.X      RELAY
root@alice:/etc/mail#
The .X.1 line is my firewall. Because I'm forwarding port 25 to the mail server, and I *don't* want to allow outside relay, I've put that line in to allow connections from .1, but to deny relaying. Since I'm running as the primary MX for my two domains, I need to allow connections from the outside to my mail server. For everything else on the network, I'm allowing relaying.

Be *very* careful about who you allow to relay mail, because it's a great way to get yourself blacklisted.

Once you've set up the /etc/mail/access file, cd to /etc/mail and run "make". Then restart sendmail (/etc/rc.d/rc.sendmail restart), and you're up and running.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
slackware mail server possibilities sullami Slackware 7 11-24-2005 06:46 PM
Slackware Mail Server wwnexc Linux - Software 5 09-14-2005 09:01 PM
Slackware Mail Server advice needed please. Lintoon Slackware 12 09-09-2005 05:57 PM
I want to run a mail server in slackware 10.0 cyto Slackware 4 08-30-2004 09:30 PM
Slackware machine as SAMBA PDC and mail server MS3FGX Linux - Networking 8 04-19-2004 05:52 AM


All times are GMT -5. The time now is 03:37 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration