Re: [Exim] Virtual users and forward file

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Przemyslaw Kowalczyk
日付:  
To: Exim users list
題目: Re: [Exim] Virtual users and forward file
----- Original Message -----
From: "Przemyslaw Kowalczyk" <przem@???>
To: "Exim users list" <exim-users@???>
Sent: Thursday, September 20, 2001 11:10 AM
Subject: Re: [Exim] Virtual users and forward file
>
> > Hi.
> >
> > I run a web-based mail system. I want my users to be able to create

theirs
> > own forwardfiles. Because the file is generated by webserver it gets
> rigths
> > as follow:
> >
> > -rw-rw-r--    1 nobody   nogroup        77 Sep 20 09:55 forward

> >
> > When exim tries to read the file I get:
> >
> > 2001-09-20 10:08:34 15jyqq-0000ED-00 == przem@???

D=userforward
> > defer (-11): bad mode (0100664) for
> > /var/spool/mail/forwards/engine.com.pl/przem/forward: 020 bit(s)
> unexpected
> >


Finally I've managed to solve the problem with the following director:

userforward:
driver = forwardfile
file = /var/spool/mail/forwards/${domain}/${local_part}/forward
no_verify
no_expn
check_ancestor
ignore_eacces
check_local_user = no
seteuid
user = nobody
modemask = 0600002
filter
file_transport = address_file
pipe_transport = address_pipe
reply_transport = address_reply

przem