[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Suggestion for Exim in ports



Hey Phil,

Phil Pennock wrote:
> 
> I'm pretty familiar with Exim myself, thanks.  The point is, if
> you're chrooting Exim, how do you plan to have it performing local
> deliveries, accessing .forward, etc?

Chrooting exim to /var/exim hasn't caused any problems with my setup.
To demonstrate, here's a sample setup on my box. Exim is chrooted to
/var/exim, and  all mail sent to malloc@open-systems.org is forwarded
to kevin@md5.ca which then is forwarded "back" to local user
netwolf@open-systems.org.

Dirs...

drwxr-xr-x   6 exim     mail          512 Apr 26 20:46 exim
drwxrwxrwt   2 root     wheel         512 May 17 10:30 mail

Exim in passwd...

exim:*:1000:1000:Chrooted Exim:/var/exim:/sbin/nologin

Sample .dotforward for a user who's mail is sent to kevin@md5.ca, who
then sends it back to netwolf@open-systems.org

-rw-r--r--  1 malloc  users  13 May 17 10:41 .forward

Log of mail sent to malloc@open-systems.org using this user's
.forward:

2001-05-17 10:43:01 150Rnh-0002d6-00 <= kevin@tgivan.com
H=(fax.tgivan.com) [202.144.239.157] P=esmtp S=1293
id=3B040D90.FC814D7D@tgivan.com
2001-05-17 10:43:08 150Rnh-0002d6-00 => kevin@md5.ca
<malloc@open-systems.org> R=lookuphost T=remote_smtp H=md5.ca
[24.76.184.93]
2001-05-17 10:43:08 150Rnh-0002d6-00 Completed

Log of md5.ca sending it back to netwolf@open-systems.org

2001-05-17 10:43:40 150RoJ-0002Hg-00 <= kevin@tgivan.com
H=h24-76-184-93.vs.shawcable.net (candle.perlpimp.com) [24.76.184.93]
P=esmtp S=1846 id=3B040D90.FC814D7D@tgivan.com
2001-05-17 10:43:40 150RoJ-0002Hg-00 => netwolf
<kevin@open-systems.org> D=localuser T=local_delivery
2001-05-17 10:43:40 150RoJ-0002Hg-00 Completed

What exactly are you looking for? Chrooting does'nt necessarily mean
we have to restrict all mail delivery to local/remote hosts.(At par
with qmail's chrooting example). Either that, or I am not
understanding your question.

Regards

-Kevin Sindhu