Re: [Exim] change users spool directory

Góra strony
Delete this message
Reply to this message
Autor: Hermann Flacke
Data:  
Dla: exim-users
Temat: Re: [Exim] change users spool directory
On Fri, Aug 20, 2004 at 10:55:13PM +0100, Nigel Metheringham wrote:
> On Fri, 2004-08-20 at 21:54, Hermann Flacke wrote:
> > My problem: I'm running my fetchmail on SuSE as well as on
> > Debian Sarge. So I would like to set a new user's spool
> > directory. Setting the value "spool_directory = /suse/var/spool/mail"
> > in the /etc/exim4/configure + dpkg-reconfigure exim4-config
> > doesn't work because the incoming mail still is put into
> > /var/spool/mail/<user>.
>
> You have changed the overall exim queue directory by doing that.
>
> You need to change your local delivery transport - which might well be
> using procmail for delivery, in which case you need to sort procmail.


Found it: File /etc/exim4/conf.d/transport/30_exim4-config_mail_spool

mail_spool:
debug_print = "T: appendfile for $local_part@$domain"
driver = appendfile
file = /suse/var/spool/mail/$local_part
# Original version: file = /var/mail/$local_part
delivery_date_add
envelope_to_add
return_path_add
group = mail
mode = 0660
mode_fail_narrower = false

Bye

Hermann Flacke