Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Sep 2003 11:40:41 -0400
From:      Chuck Swiger <cswiger@mac.com>
To:        Daniela <dgw@liwest.at>
Cc:        questions@freebsd.org
Subject:   Re: Spam and virus filter for mailserver
Message-ID:  <3F6F17F9.70908@mac.com>
In-Reply-To: <200309212208.29190.dgw@liwest.at>
References:  <200309211255.20067.dgw@liwest.at> <20030921082709.0000211c.steves06@comcast.net> <200309212208.29190.dgw@liwest.at>

next in thread | previous in thread | raw e-mail | index | archive | help
Daniela wrote:
[ ... ]
> What MTA would you recommend (sendmail is too insecure)?

The two main choices are probably postfix and qmail.

> Can I just put the mail in the respective user's home directory with 
> fetchmail, and configure their MUA's to get mail from there? Or do I put it 
> in /var/mail/<username>?

FreeBSD expects new mail to go in /var/mail/$USERNAME.  Per se, local delivery 
is handled by the LDA (ie, procmail, /usr/libexec/mail.local), not by the MTA.

 > Can I run an MTA in a chroot environment with an unprivileged UID?

You can run an MTA in a chroot'ed environment.  The MTA needs to be started as 
root, or setuid-root in order to bind to port 25, but can then drop privileges 
afterwards.

-- 
-Chuck




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F6F17F9.70908>