LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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.

Notices


Reply
  Search this Thread
Old 01-07-2004, 05:58 AM   #1
DavidHayes
LQ Newbie
 
Registered: Jul 2001
Posts: 16

Rep: Reputation: 0
Question Debian Mailserver


Hi
I am attempting to setup a mailserver on a Debian box.
It needs to do the following
SMTP server so my ISP can deliver mail to me
fetch mail using pop3 from other email accounts
Web mail of some form
IMAP so my girlfriend can use outlook to view her mail
Be secure

Q. What is the minimum amount of software I need (I've looked at sendmail, postfix, courier/cyrus IMAP, fetchmail and procmail so far)

Q. I have been playing with postfix and I can get mail delivered to var/mail/$user. How do I get it to somewhere more sensible?

Q. I've managed to get fetchmail telling me it has grabbed my mail but I don't know where it puts it (it's not in var/mail/$user)

Q. I've installed procmail but I'm not really sure how to get it to do anything (or even entirely understand what it's for)

Q. At a high level how do these things chain together, my basic understanding is this.

Mail delivered by SMTP
ISP
SMTP
Postfix
Procmail
IMAP
Client

Mail fetched by Fetchmail
POP3
Postfix (via port 25)
Procmail
IMAP
Client

Any help would be excellent I've been struggling with this for ages.
Dave
 
Old 01-07-2004, 06:08 PM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
Quote:
Q. What is the minimum amount of software I need (I've looked at sendmail, postfix, courier/cyrus IMAP, fetchmail and procmail so far)
You said you wanted webmail and IMAP, so get Squirrelmail and an IMAP server (courier-imap and uw-imap are common ones). fetchmail will do fine for pulling mail from your ISP's server if you want to do that. Since you're using IMAP, why also use POP3? IMAP has far more features and is supported by most common email clients.

Quote:
Q. I have been playing with postfix and I can get mail delivered to var/mail/$user. How do I get it to somewhere more sensible?
/var/mail/$user is where mail is usually delivered, at least on Debian systems. Where would you want it stored and why?

Quote:
Q. I've managed to get fetchmail telling me it has grabbed my mail but I don't know where it puts it (it's not in var/mail/$user)
fetchmail delivers to the local MDA (mail delivery agent, usually exim on Debian systems unless you have replaced it) by default, so if you have an MDA running that's what fetchmail will use. Does your local mail delivery work as expected? Read the man page (man fetchmail).

Quote:
Q. I've installed procmail but I'm not really sure how to get it to do anything (or even entirely understand what it's for)
Procmail is used to sort incoming mail to the correct mail boxes or folders. If you run it as root you can use it as an MDA. Again, the man page is very useful.


Håkan
 
Old 01-07-2004, 07:23 PM   #3
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
If you are looking for a different delivery location then read up on postfix using maildirs. It should tell you how to make postfix use maildir over mbox (maildir is superior, I can point you to a reason why if you wish to see it) and how to set the location of a users maildir to there homedirectory or anywhere else on your system in the postfix docs.
 
Old 01-08-2004, 06:54 AM   #4
DavidHayes
LQ Newbie
 
Registered: Jul 2001
Posts: 16

Original Poster
Rep: Reputation: 0
Thanks, I think I'm going to install exim and see how that works for me. If I want to use MailDir do I still store the mail in /var/mail??
Confusing business...
Dave
 
  


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
Debian Linux Mailserver -lcf- Linux - Networking 4 03-26-2008 02:33 AM
AFFORDABLE Mailserver software for Debian utw-mephisto Linux - Networking 3 09-17-2005 10:16 AM
mailserver on fd slam Linux - Software 3 06-30-2003 07:00 PM
got mailserver? fractilian Linux - Software 2 06-28-2003 04:56 PM
Mailserver... Wolverine Linux - Networking 1 12-23-2001 03:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration